skills/notion-pull/SKILL.md
Export a Notion page to local Markdown using marknotion. Use when the user wants to pull a spec, design doc, meeting notes, or any Notion page into the repository as a Markdown file, or wants to read Notion content as context for a task.
npx skillsauth add li3p/skills notion-pullInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Export a Notion page to Markdown via the notion2md CLI from the marknotion
PyPI package, invoked through uvx so no install is required.
uv is installed. If command -v uv fails, stop and instruct the user to
install it.NOTION_TOKEN is set in the environment. If unset, stop and instruct the
user to create an internal integration at
https://www.notion.so/my-integrations and export the token.Resolve from $ARGUMENTS or by asking the user:
page: Notion page URL or page ID (required).output (optional): destination file path. If omitted, write to stdout and
capture the result so the agent can use it as context.Verify prerequisites above. Do not proceed if any check fails.
If output is provided, confirm the parent directory exists. Warn before
overwriting an existing file.
Run the command:
# Write to a file
uvx --from marknotion notion2md "<page-url-or-id>" -o <output>
# Or print to stdout (use when reading Notion content as task context)
uvx --from marknotion notion2md "<page-url-or-id>"
Report the destination path and a short summary of what was pulled (heading count, length). If captured to memory for downstream use, say so.
marknotion converts a Notion block subset: headings h1-h3, paragraphs, basic text formatting, links, lists, code blocks, blockquotes, horizontal rules. Tables, images, embeds, databases, callouts, toggles, and other rich blocks are dropped or downgraded. If the user is pulling content that depends on those (e.g. a spec with diagrams), warn that the export will be lossy.
Do not commit. Do not edit unrelated files.
documentation
Search Notion for pages or databases by query using marknotion. Use when the user references a Notion page by name rather than URL, when locating a page to publish to or pull from, or when discovering what trackers and docs exist in the connected workspace.
documentation
Publish a local Markdown file to a Notion page using marknotion. Use when the user wants to push README, docs, changelogs, or any Markdown content to Notion, either updating an existing page or creating a new one under a parent page.
testing
Generate tests that match an existing project's testing style. Use when adding coverage for a target file, function, bug fix, or edge case while preserving local conventions.
testing
Validate a branch and draft a pull request description from real commits and diffs. Use when preparing a PR, checking branch readiness, or writing reviewer-facing release context.