Notion to markdown

From JaimeParker/stable-jarvis · View interactive version

Notion to markdown is an AI agent skill from the GitHub repository JaimeParker/stable-jarvis. Directly convert Notion pages to Obsidian-friendly Markdown using MCP fetch and local processing. Use this skill when you need to migrate specific Notion pages identified by URL or ID into the local Obsidian vault, ensuring LaTeX normalization, image localization, and property-to-frontmatter mapping

How to use this skill

Skill file

Notion to Markdown

This skill provides a high-level workflow for fetching live Notion pages and converting them into clean, localized Markdown files suitable for an Obsidian vault.

Overview

Unlike bulk migration from exports, this skill leverages the Notion MCP (notion-fetch) to retrieve page content directly and then uses the stable_jarvis.notion_to_obsidian toolkit to perform surgical processing.

Execution Workflow

Step 1: Precise Identification

Use notion-search to find the exact page ID or URL.

# Example search
notion-search query="Leveraging Skills from Unlabeled Prior Data"

Step 2: Fetch and Save Content

Retrieve the raw Notion content and save it to a temporary JSON file.

# Fetch content via MCP
notion-fetch id="[PAGE_ID]" > temp_fetch.json

Step 3: Local Processing

Run the migration script to convert the JSON content to localized Markdown.

python skills/notion-to-markdown/scripts/migrate.py temp_fetch.json [OUTPUT_DIR]

Step 4: Verification and Refinement

Inspect the output Markdown. Notion content can sometimes be "jammed" or have deep indentation that script-based normalization might miss. Use the replace tool to:

Key Capabilities

Dependencies

Troubleshooting

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.