Bi-directional sync between Notion databases and local files or other services.
Prerequisites
Chrome browser installed
Logged into Notion
Database URL or ID provided
Instructions
Open Chrome and navigate to notion.so
Verify login status:
Check for workspace switcher in sidebar
If not logged in, stop and inform user
Navigate to the target database:
Use provided database URL, or
Search for database by name using Cmd/Ctrl+P
Determine sync direction based on user request:
For PULL (Notion -> Local):
a. Open database in table view for best extraction
b. Identify all columns/properties:
Property names and types
Any formulas or rollups
c. Extract all rows:
Click each row to get full content
Or use Export function for bulk extract
d. Format data as requested:
JSON: array of objects with property names as keys
CSV: header row + data rows
Markdown: formatted list or table
e. Save to specified local path
For PUSH (Local -> Notion):
a. Read local data file
b. Parse data structure
c. For each record:
Click "New" to create row
Fill in each property
Handle different property types appropriately
d. Verify row count matches expected
For BIDIRECTIONAL:
a. Pull current Notion state
b. Compare with local file
c. Identify changes in both directions
d. Apply changes with conflict resolution
e. Report sync summary
Report results:
Records synced
Any errors or conflicts
Timestamp of sync
Error Handling
If database structure changed, report mismatch
If permission denied, inform user
If data types don't match, attempt conversion or skip
Notes
Large databases may require pagination
Formula and rollup fields are read-only
Relations sync as page references
1---2name: notion-sync3description: Notion Database Sync4---5# Notion Database Sync67Bi-directional sync between Notion databases and local files or other services.89## Prerequisites1011- Chrome browser installed12- Logged into Notion13- Database URL or ID provided1415## Instructions16171. Open Chrome and navigate to `notion.so`18192. Verify login status:20 - Check for workspace switcher in sidebar21 - If not logged in, stop and inform user22233. Navigate to the target database:24 - Use provided database URL, or25 - Search for database by name using Cmd/Ctrl+P26274. Determine sync direction based on user request:2829 **For PULL (Notion -> Local):**3031 a. Open database in table view for best extraction3233 b. Identify all columns/properties:34 - Property names and types35 - Any formulas or rollups3637 c. Extract all rows:38 - Click each row to get full content39 - Or use Export function for bulk extract4041 d. Format data as requested:42 - JSON: array of objects with property names as keys43 - CSV: header row + data rows44 - Markdown: formatted list or table4546 e. Save to specified local path4748 **For PUSH (Local -> Notion):**4950 a. Read local data file5152 b. Parse data structure5354 c. For each record:55 - Click "New" to create row56 - Fill in each property57 - Handle different property types appropriately5859 d. Verify row count matches expected6061 **For BIDIRECTIONAL:**6263 a. Pull current Notion state64 b. Compare with local file65 c. Identify changes in both directions66 d. Apply changes with conflict resolution67 e. Report sync summary68695. Report results:70 - Records synced71 - Any errors or conflicts72 - Timestamp of sync7374## Error Handling7576- If database structure changed, report mismatch77- If permission denied, inform user78- If data types don't match, attempt conversion or skip7980## Notes8182- Large databases may require pagination83- Formula and rollup fields are read-only84- Relations sync as page references
Run npx skillmds@latest add mediar-ai/notion-sync in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Notion Database Sync It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
mediar-ai (@mediar-ai) published this skill. Their other Agent Skills are listed on their SkillMD profile.