ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Notion Pro

Skill by baixiaodev

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/baixiaodev/notion-pro
Or

name: notion-pro description: Complete Notion API skill with Python CLI tool — auto-pagination, recursive blocks, 429 retry, and agent operation strategies. version: 1.0.1 homepage: https://github.com/baixiaodev/notion-pro-skill metadata: {"clawdbot":{"emoji":"📝"}} env:

  • NOTION_API_KEY: Notion integration API key (or configure in openclaw.json → skills.entries.notion-pro.apiKey)

Notion Pro — Complete Notion API Skill for OpenClaw

A production-grade Notion API skill with a built-in Python CLI tool. Unlike basic Notion skills that only provide command syntax, this skill includes agent operation strategies, automatic pagination, recursive block fetching, 429 rate-limit retry, and comprehensive API reference — everything an AI agent needs to operate Notion effectively.

What Makes This Different

CapabilityThis SkillBasic Skills
Agent operation strategy (5-step workflow)
Recursive block fetching (--recursive, 5 levels)
Auto-pagination (--all)
429 rate-limit auto-retry (Retry-After)
Positional insert (--after)
API limits quick reference✅ CompletePartial
4 operation pattern SOPs
Zero dependencies (stdlib only)✅ Python 3Node.js / curl

Setup

  1. Create a Notion Integration and copy the API key
  2. Configure the key via one of:
    • Environment variable: export NOTION_API_KEY="ntn_xxxxx"
    • OpenClaw config: openclaw.jsonskills.entries.notion-pro.apiKey
  3. Share target pages/databases with your integration (click "..." → "Connect to" → your integration name)
  4. If a page/database isn't found via search, it likely hasn't been shared with the integration yet

Tool: notion_api.py

All Notion operations must go through this script — do not use curl directly.

Script path: scripts/notion_api.py (relative to this skill's directory)

# The script auto-detects its own location. Usage:
python3 <SKILL_DIR>/scripts/notion_api.py <command> [options]

Agent Operation Strategy (Must Read)

Task Planning Workflow

Follow this sequence for any Notion task:

  1. Discover — Use search to find the target page/database ID
  2. Inspect — Use get-page or get-blocks to understand current structure
  3. Plan — Determine the operation sequence (create/update/append/delete)
  4. Execute — Execute in batches, ≤50 blocks per batch (safety margin)
  5. Verify — After critical operations, use get-blocks to verify results

Read Strategy

Metadata

Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-baixiaodev-notion-pro": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.