Agent skill
sync-notion
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/sync-notion
SKILL.md
/sync-notion
Sync meetings from Notion database to Obsidian.
Usage
/sync-notion
/sync-notion --since 2025-01-01
/sync-notion --dry-run
Instructions
Prerequisites
- Notion token must be available (check environment or ask user)
- Script exists at
scripts/notion_sync.py
Phase 1: Planning
- Check if sync script exists
- Determine sync scope:
- Default: all new/modified since last sync
--since: from specific date--dry-run: preview only, no changes
Phase 2: Execute Sync
-
Run the sync script:
bashpython3 scripts/notion_sync.py -
If script doesn't exist or fails, offer to:
- Check Notion token
- Recreate the script
- Manual sync instructions
Phase 3: Post-Sync Processing (use sub-agents)
Launch sub-agents using model: "haiku" for efficiency:
Agent 1: Identify New Files (Haiku)
- Compare before/after file list
- Identify newly created meeting files
- Return: list of new files
Agent 2: Standardize Names (Haiku)
- Run standardization on new files in
+Meetings/ - Ensure
Meeting - YYYY-MM-DD Title.mdformat - Move files to
+Meetings/folder if not already there - Return: renamed files
Agent 3: Fix Project Links (Haiku)
- Check new files for project references
- Ensure links use actual project names
- Return: fixed links
Agent 4: Update MOC (Haiku)
- Add new meetings to MOC - Meetings MOC if needed
- Return: MOC updates
Phase 4: Report
# Notion Sync Report
**Synced**: {{DATE}}
**Database**: Work - Meeting Minutes & Notes
## Summary
- New meetings imported: {{count}}
- Updated meetings: {{count}}
- Skipped (no changes): {{count}}
- Errors: {{count}}
## New Meetings
| Date | Title | Project |
|------|-------|---------|
{{new meeting list}}
## Updated Meetings
{{list of updated meetings}}
## Project Links Fixed
| Meeting | Project |
|---------|---------|
{{project link fixes}}
## Errors
{{any errors encountered}}
## Next Steps
- Review new meetings for accuracy
- Add attendees where missing
- Link to relevant projects
Dry Run Mode
If --dry-run:
- Query Notion for changes
- Show what WOULD be synced
- Don't write any files
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?