← Back to Skills Marketplace
maweis1981

Notion Md

by Patronum · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
574
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install notion-md
Description
Convert Markdown to Notion blocks with full format support. Handles bold, italic, strikethrough, inline code, headings, lists, tables, callouts, and more.
README (SKILL.md)

notion-md

Convert Markdown to Notion blocks with full format support.

Features

  • Rich Text: Bold, italic, strikethrough, inline code, underline, color
  • Headings: H1, H2, H3 with proper styling
  • Lists: Bulleted, numbered, toggle lists
  • Blocks: Quotes, callouts, dividers, code blocks
  • Advanced: Tables, nested content, links
  • Parent Page: Configurable parent page ID

Setup

1. Get Notion API Key

  1. Go to https://www.notion.so/my-integrations
  2. Create new integration
  3. Copy the API key (starts with ntn_)

2. Configure API Key

# Option A: Environment variable
export NOTION_API_KEY="ntn_your_key"

# Option B: Config file
mkdir -p ~/.config/notion
echo "ntn_your_key" > ~/.config/notion/api_key

3. Get Parent Page ID

The parent page where new pages will be created:

notion-md list-pages

Or set default:

export NOTION_PARENT_PAGE_ID="parent_page_id"

Usage

Create Page from File

notion-md create --file article.md --title "My Article" --emoji 📝

Create from stdin

echo "# Hello World" | notion-md create "Page Title"

Options

Option Description
--file, -f Input Markdown file
--title, -t Page title (required)
--emoji, -e Page icon (default: 📄)
--parent-id, -p Parent page ID
--dry-run Preview without creating

List Pages

notion-md list-pages

Append to Page

echo "## New Section" | notion-md append --page-id "abc123..."

Notion Format Mapping

Markdown Notion Block
# Title heading_1
## Title heading_2
### Title heading_3
**bold** bold annotation
*italic* italic annotation
~~text~~ strikethrough
`code` code annotation
--- divider
- item bulleted_list_item
1. item numbered_list_item
> quote quote
text code block
::: callout callout
| table | table (basic)

Examples

Rich Content

# My Article

**This is bold** and *this is italic*.

> Important quote here

## Code Example

```python
def hello():
    print("Hello World")
  • Item 1
  • Item 2

### Create with Options

```bash
notion-md create \
  --file blog-post.md \
  --title "My Blog Post" \
  --emoji ✍️ \
  --parent-id "page_id_here"

Environment Variables

Variable Description
NOTION_API_KEY Notion API key
NOTION_PARENT_PAGE_ID Default parent page ID

API Version

Notion API: 2022-06-28

Usage Guidance
This skill looks like documentation for a CLI tool rather than a ready-to-run OpenClaw skill. Before installing or using it: 1) Confirm where the `notion-md` binary or package comes from (PyPI/GitHub release) — the skill bundle does not include it. 2) Only provide a Notion API key with the minimum required permissions (create pages in specified parent only); prefer a dedicated integration token you can revoke. 3) If the agent asks you to run commands or paste your API key, verify the origin and inspect the actual code that will run. 4) Ask the publisher for a proper install spec or source code; if none is available, treat the skill as documentation and avoid giving credentials to any unverified runtime.
Capability Analysis
Type: OpenClaw Skill Name: notion-md Version: 1.0.0 The skill bundle appears benign. All files consistently describe a utility for converting Markdown to Notion blocks. The `SKILL.md` and `README.md` provide standard setup instructions for configuring a Notion API key (via environment variable or a local config file) and usage examples that align with the stated purpose. There are no signs of prompt injection attempts, malicious commands (e.g., `curl|bash`, `eval`), data exfiltration, or persistence mechanisms. The `requirements.txt` explicitly states 'No external dependencies - uses only standard library', which significantly reduces supply chain risks and is a strong indicator of benign intent.
Capability Assessment
Purpose & Capability
Name/description (Markdown -> Notion blocks) aligns with the single declared secret (NOTION_API_KEY). Requesting a Notion API key is expected for this purpose.
Instruction Scope
The SKILL.md is written as CLI user documentation (commands like `notion-md create`, `list-pages`, `append`) but the package contains no executable, install spec, or runtime code. It also suggests storing the API key at ~/.config/notion/api_key and using NOTION_PARENT_PAGE_ID (optional) while only NOTION_API_KEY is declared in metadata. This mismatch means an agent following these instructions may try to run non-existent binaries or access a config path that wasn't declared.
Install Mechanism
No install spec and no code files are included (instruction-only), which minimizes write-to-disk risk. The manifest contains docs and empty requirements.txt but no downloadable artifacts or external URLs.
Credentials
Only NOTION_API_KEY is required — appropriate for the stated functionality. The SKILL.md also documents an optional NOTION_PARENT_PAGE_ID and a config file path (~/.config/notion/api_key) that are not listed in requires.env or required config paths; that is a minor inconsistency to be aware of.
Persistence & Privilege
Skill is not always-enabled and requests no persistent system-wide privileges. It does not modify other skills or system settings in the provided instructions.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install notion-md
  3. After installation, invoke the skill by name or use /notion-md
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of notion-md – convert Markdown to Notion blocks - Converts Markdown to Notion blocks with support for bold, italic, strikethrough, code, headings, lists, tables, callouts, and more. - Configurable via environment variables, including Notion API key and parent page ID. - Includes commands for creating, appending, and listing Notion pages from Markdown input. - Supports preview mode with `--dry-run`. - Detailed Notion block mapping for all supported Markdown syntax. - Easy setup instructions for API integration.
Metadata
Slug notion-md
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Notion Md?

Convert Markdown to Notion blocks with full format support. Handles bold, italic, strikethrough, inline code, headings, lists, tables, callouts, and more. It is an AI Agent Skill for Claude Code / OpenClaw, with 574 downloads so far.

How do I install Notion Md?

Run "/install notion-md" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Notion Md free?

Yes, Notion Md is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Notion Md support?

Notion Md is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Notion Md?

It is built and maintained by Patronum (@maweis1981); the current version is v1.0.0.

💬 Comments