notion-sync
Bi-directional sync and management for Notion pages and databases.
Skill by jordanjayhays-cpu
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jordanjayhays-cpu-notion-sync
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, writing, research, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/notion-sync
What's inside
- Skill name
notion-sync- Description
- Bi-directional sync and management for Notion pages and databases. Use when working with Notion workspaces for collaborative editing, research tracking, project management, or when you need to sync markdown files to/from Notion pages or monitor Notion pages for changes.
- License
- MIT-0
- Instructions
- 495 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (15)
- origin.json · .clawhub/
- SKILL.md
- _meta.json
- API-REFERENCE.md · references/
- add-to-database.js · scripts/
- batch-update.js · scripts/
- delete-notion-page.js · scripts/
- get-database-schema.js · scripts/
- md-to-notion.js · scripts/
- notion-to-md.js · scripts/
- notion-utils.js · scripts/
- query-database.js · scripts/
- search-notion.js · scripts/
- update-page-properties.js · scripts/
- watch-notion.js · scripts/
SKILL.md (first lines)
# Notion Sync
Bi-directional sync between markdown files and Notion pages, plus database management utilities for research tracking and project management.
## Upgrading
**From v2.0:** Replace `--token "ntn_..."` with `--token-file`, `--token-stdin`, or `NOTION_API_KEY` env var. Bare `--token` is no longer accepted (credentials should never appear in process listings).
**From v1.x:** See v2.0 changelog for migration details.
## Requirements
- **Node.js** v18 or later
- A **Notion integration token** (starts with `ntn_` or `secret_`)
## Setup
1. Go to https://www.notion.so/my-integrations
2. Create a new integration (or use an existing one)
3. Copy the "Internal Integration Token"
4. Pass the token using one of these methods (priority order used by scripts):
**Option A — Token file (recommended):**
```bash
echo "ntn_your_token" > ~/.notion-token && chmod 600 ~/.notion-token
node scripts/search-notion.js "query" --token-file ~/.notion-token
```
**Option B — Stdin pipe:**
```bash
echo "$NOTION_API_KEY" | node scripts/search-notion.js "query" --token-stdin
```
**Option C — Environment variable:**
```bash
export NOTION_API_KEY="ntn_your_token"
node scripts/search-notion.js "query"
```
**Auto default:** If `~/.notion-token` exists, scripts use it automatically even without `--token-file`.
5. Share your Notion pages/databases with the integration:
- Open the page/database in Notion
- Click "Share" → "Invite"
- Select your integration
## JSON Output Mode
All scripts support a global `--json` flag.
- Suppresses progress logs written to stderr
- Keeps stdout machine-readable for automation
- Errors are emitted as JSON: `{ "error": "..." }`
Example:
```bash
node scripts/query-database.js <db-id> --limit 5 --json
```
## Path Safety Mode
Scripts that read/write local files are restricted to the current working directory by default.
- Prevents accidental reads/writes outside the intended workspace
- Applies to: `md-to-notion.js`, `add-to-database.js`, `notion-to-md.js`, `watch-notion.js`
- Override intentionally with `--allow-unsafe-paths`
Examples:
```bash
# Default (safe): path must be inside current workspace
node scripts/md-to-notion.js docs/draft.md <parent-id> "Draft"
# Intentional override (outside workspace)
node scripts/notion-to-md.js <page-id> ~/Downloads/export.md --allow-unsafe-paths
```
## Core Operations
### 1. Search Pages and Databases
Search across your Notion workspace by title or content.
```bash
node scripts/search-notion.js "<query>" [--filter page|database] [--limit 10] [--json]
```
**Examples:**
```bash
# Search for newsletter-related pages
node scripts/search-notion.js "newsletter"
# Find only databases
node scripts/search-notion.js "research" --filter database
# Limit results
node scripts/search-notion.js "AI" --limit 5
```
**Output:**
```json
[
{
"id": "page-id-here",
"object": "page",
"title": "Newsletter Draft",
"url": "https://notion.so/...",
"lastEdited": "2026-02-01T09:00:00.000Z"
}
]
```
### 2. Query Databases with Filters
Query database contents with advanced filters and sorting.
```bash
node scripts/query-database.js <database-id> [--filter <json>] [--sort <json>] [--limit 10] [--json]
```From jordanjayhays-cpu/007-Axton, MIT-0.
More from jordanjayhays-cpu/007-Axton
- 0.409score
google-search
jordanjayhays-cpu
Search the web using Google Custom Search Engine (PSE).
SkillDFreshness: DClaude Code +9 - 0.409score
google-calendar
jordanjayhays-cpu
Interact with Google Calendar via the Google Calendar API – list upcoming events, create new events, update or delete them.
SkillDFreshness: DClaude Code +9 - 0.406score
google-drive
membrane
Google Drive integration.
SkillDFreshness: DClaude Code +9 - 0.405score
planning-with-files
jordanjayhays-cpu
Manus-style file-based planning for complex projects.
SkillDFreshness: DClaude Code +9 - 0.405score
image-gen
jordanjayhays-cpu
Generate images using Pollinations.ai (free, no API key needed).
SkillDFreshness: DClaude Code +9 - 0.402score
notion
jordanjayhays-cpu
Notion API for Jordan's projects.
SkillDFreshness: DClaude Code +9 - 0.401score
news-aggregator
jordanjayhays-cpu
国内外社会、科技、军事新闻汇总。自动搜索、筛选、整理新闻要点。
SkillDFreshness: DClaude Code +9 - 0.394score
GitHub Actions
jordanjayhays-cpu
Design, debug, and harden GitHub Actions workflows with reusable pipelines, safe permissions, and faster CI and release automation.
SkillDFreshness: DClaude Code +9 - 0.227score
dispatching-parallel-agents
jordanjayhays-cpu
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillDFreshness: DClaude Code +9 - 0.208score
project_tracker
jordanjayhays-cpu
No description from the publisher yet.
SkillDFreshness: DClaude Code +9 - 0.208score
linkedin-outreach
jordanjayhays-cpu
No description from the publisher yet.
SkillDFreshness: DClaude Code +9 - 0.208score
haxton
jordanjayhays-cpu
No description from the publisher yet.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 29, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT-0
- Repository
- github.com/jordanjayhays-cpu/007-Axton
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jordanjayhays-cpu
- 0.409score
google-calendar
jordanjayhays-cpu
Interact with Google Calendar via the Google Calendar API – list upcoming events, create new events, update or delete them.
SkillDFreshness: DClaude Code +9 - 0.409score
google-search
jordanjayhays-cpu
Search the web using Google Custom Search Engine (PSE).
SkillDFreshness: DClaude Code +9 - 0.405score
planning-with-files
jordanjayhays-cpu
Manus-style file-based planning for complex projects.
SkillDFreshness: DClaude Code +9 - 0.405score
image-gen
jordanjayhays-cpu
Generate images using Pollinations.ai (free, no API key needed).
SkillDFreshness: DClaude Code +9 - 0.402score
notion
jordanjayhays-cpu
Notion API for Jordan's projects.
SkillDFreshness: DClaude Code +9 - 0.401score
news-aggregator
jordanjayhays-cpu
国内外社会、科技、军事新闻汇总。自动搜索、筛选、整理新闻要点。
SkillDFreshness: DClaude Code +9
Cite this page
notion-sync skill. Agent Mart. https://agentmart.dev/skills/jordanjayhays-cpu-notion-sync (last updated 2026-10-24)