Notion

From ericwang915/PythonClaw · View interactive version

Notion is an AI agent skill from the GitHub repository ericwang915/PythonClaw. Notion API for creating and managing pages, databases, and blocks. Use when: user asks to create a Notion page, query a database, search notes, add content to Notion, or manage Notion workspace items. NOT for: local file editing (use read_file/write_file), Obsidian vaults (use obsidian skill), or re

How to use this skill

Skill file

Notion

Use the Notion API to create, read, and update pages, databases, and blocks.

When to Use

When NOT to Use

Setup

  1. Create an integration at https://notion.so/my-integrations
  2. Copy the API key (starts with ntn_ or secret_)
  3. Configure in pythonclaw.json:
"skills": {
  "notion": {
    "token": "ntn_your_key_here"
  }
}
  1. Share target pages/databases with your integration

Commands

Search pages

python {skill_path}/notion_api.py search "query text"

Get a page

python {skill_path}/notion_api.py get-page <page_id>

Get page content (blocks)

python {skill_path}/notion_api.py get-blocks <page_id>

Create a page in a database

python {skill_path}/notion_api.py create-page --database <db_id> --title "New Item" --props '{"Status": "Todo"}'

Query a database

python {skill_path}/notion_api.py query-db <database_id>

Update page properties

python {skill_path}/notion_api.py update-page <page_id> --props '{"Status": "Done"}'

Append blocks to a page

python {skill_path}/notion_api.py append-blocks <page_id> --text "New paragraph content"

Notes

Resources

| File | Description |

|------|-------------|

| notion_api.py | Notion REST API client |

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.