sync · makenotion — Claude Code skill: Notion App database syncs
Guides an agent through writing, debugging and reviewing Notion App database syncs, with stable keys and pagination you can resume.
npx skills add makenotion/notion-cookbook --skill sync -a claude-codeWhat sync does
The skill fires when you build, change or troubleshoot code that syncs Notion App databases. It does no work itself. Instead it tells the agent to read node_modules/@notionhq/apps/skills/sync/SKILL.md, resolved against the App project root, and then follow what that file says.
If the path is empty, the skill points at installing the project dependencies. Still nothing there? Updating @notionhq/apps to a release that ships the skill is the next step. Sync edits wait until the SDK skill can be read — otherwise the agent is guessing at the API.
There is no slash command. The description carries user-invocable: false, so the agent picks the skill up on its own once your request touches database syncs. Describe the task and let it trigger.
What it helps with
- write a Notion App database sync from scratch
- fix pagination that drops records mid-run
- track down keys that shift between sync runs
- review someone else's sync code before merging
- bump
@notionhq/appsto a release that includes the SDK skill
Example prompts for the agent
- Write a Notion App database sync with stable keys and resumable pagination.
- Why do records duplicate on the second sync run?
- Review the sync code in
src/sync.tsbefore I merge.
How to install sync
1Skills CLI (Vercel)
npx skills add makenotion/notion-cookbook --skill sync -a claude-code2Manually: put the files in place
~/.claude/skills/sync/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sync/
1Skills CLI (Vercel)
npx skills add makenotion/notion-cookbook --skill sync -a codex2Manually: put the files in place
.agents/skills/sync/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add makenotion/notion-cookbook --skill sync -a cursor2Manually: put the files in place
.cursor/skills/sync/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install makenotion/notion-cookbook sync2Manually: put the files in place
.github/skills/sync/SKILL.md1Skills CLI (Vercel)
npx skills add makenotion/notion-cookbook --skill sync -a gemini-cli2Platform CLI
gemini skills install https://github.com/makenotion/notion-cookbook --path apps/agents/skills/syncManually: put the files in place
.devin/skills/sync/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add makenotion/notion-cookbook --skill sync -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about sync
How do I install sync in Claude Code?
Run npx skills add makenotion/notion-cookbook --skill sync -a claude-code. The skill lands at ~/.claude/skills/sync/SKILL.md.
What does the sync skill do?
It makes the agent read node_modules/@notionhq/apps/skills/sync/SKILL.md before touching any Notion App sync code, then work from the instructions in that file.
Why can't I invoke the skill by name?
It is marked user-invocable: false, so it triggers on its own when a task involves database syncs. No slash command exists for it.
Source text
SKILL.md · MIT
--- name: sync description: Build, debug, or review Notion App database syncs with stable keys and resumable pagination. user-invocable: false --- # App database syncs Before creating, modifying, or troubleshooting sync code, read `node_modules/@notionhq/apps/skills/sync/SKILL.md`. Resolve this path relative to the App project root. Follow the instructions in that file. If the file is missing, install the project dependencies. If it remains missing, update `@notionhq/apps` to a release that includes the skill. Do not continue with sync changes until you can read the SDK skill.
© makenotion · MIT · makenotion/notion-cookbook
Similar skills
All skills for Agent setup: memory, context, orchestration →sync by other authors comes first.