Notion Md Converter
Skill by charpup
Why use this skill?
Efficiently convert markdown files into structured Notion pages with the Notion Md Converter skill. Ideal for automating notes, journals, and documentation sync.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/charpup/notion-md-converterWhat This Skill Does
The Notion Md Converter is a powerful utility designed for OpenClaw users who want to bridge the gap between local markdown files and the Notion productivity ecosystem. By leveraging the Martian library, this skill parses standard Markdown syntax—including headings, task lists, code blocks, and specialized callouts—and translates them into the specific block structures required by the Notion API. It simplifies the migration process by providing both a programmatic interface for developers and a command-line utility for quick automation tasks.
Installation
To install this skill, run the following command in your terminal within the OpenClaw environment:
clawhub install openclaw/skills/skills/charpup/notion-md-converter
Once installed, navigate to the directory ~/.openclaw/workspace/skills/notion-md-converter and run npm install to resolve dependencies. Finally, ensure you have a valid Notion API secret and export it as an environment variable: export NOTION_TOKEN="ntn_your_token_here".
Use Cases
This skill is ideal for users who rely on local markdown-based note-taking (like Obsidian or Zettlr) but need to sync data to a Notion workspace for collaboration. Common scenarios include automatically generating daily journal pages, batch-importing project documentation, or converting technical blog drafts into ready-to-publish Notion pages. It is especially useful within the Galatea Journal system for automated archival.
Example Prompts
- "OpenClaw, take my meeting-notes.md file and convert it into a new Notion page inside my 'Project Alpha' database."
- "Convert the following markdown content into a Notion page titled 'Project Roadmap' using my default integration token: [paste markdown content]."
- "Run the md2notion tool on my weekly-report.md file and save it to my Notion workspace using the CLI configuration."
Tips & Limitations
When using the converter, remember that the Notion API enforces a 100-block limit per request; if your document is longer, consider breaking it into smaller segments. Ensure all image URLs within your markdown are publicly accessible, as Notion must be able to resolve them to embed them correctly. While standard formatting works well, deeply nested lists may be flattened to comply with API structure constraints. Always use the callout syntax (e.g., > [!NOTE]) if you want to take advantage of Notion’s rich styling features for warnings and tips.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-charpup-notion-md-converter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, external-api, code-execution
Related Skills
task-workflow-v3
智能任务调度系统 V3 - 支持文件持久化、进度追踪、自动归档
galatea-memory
Galatea 记忆管理增强系统 - 实现分层记忆、自动检查点和关键信息标记
marker-pdf-ocr
Convert PDF to Markdown using Marker OCR (local-first, cloud fallback)
task-workflow
Standardized Planning + Subagent + Progress Report workflow for complex tasks
Openclaw Config Validator
Skill by charpup