notion-md-sync
Installation
SKILL.md
Notion Markdown Sync
Use scripts/notion_md_sync.py to replace a Notion page from a local Markdown
post and upload local images as native Notion files. Stdlib only (Python 3.10+).
Workflow
- Confirm the target page is shared with the Notion integration.
- Set
NOTION_PATorNOTION_TOKENin the environment. Never ask the user to paste a token into chat, print it, or store it in the post. - Dry run (default; no writes):
python3 <skill-directory>/scripts/notion_md_sync.py \
push "PAGE_URL_OR_ID" "/path/to/post.md"
- Review the plan, then apply only after the user approves: