Work with Notion pages and databases via the official Notion API.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install notion-skill或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install notion-skill⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/notion-skill/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: notion description: Work with Notion pages and databases via the official Notion API. homepage: https://developers.notion.com metadata: clawdbot: emoji: 🧠 requires: env: - NOTION_API_KEY install: - id: node kind: note label: "Requires notion-cli (Node.js) or notion-cli-py (Python). See docs below." ---
This skill lets the agent work with Notion pages and databases using the official Notion API.
The skill is declarative: it documents safe, recommended operations and assumes a local CLI (notion-cli) that actually performs API calls.
export NOTION_API_KEY=secret_xxx
Share the integration with the pages or databases you want to access. Unshared content is invisible to the API.
You may define multiple profiles (e.g. personal, work) via env or config.
Default profile: personal
Override via:
export NOTION_PROFILE=work
Read page:
notion-cli page get <page_id>
Append blocks:
notion-cli block append <page_id> --markdown "..."
Prefer appending over rewriting content.
Create page:
notion-cli page create --parent <page_id> --title "..."
Inspect schema:
notion-cli db get <database_id>
Query database:
notion-cli db query <database_id> --filter <json> --sort <json>
Create row:
notion-cli page create --database <database_id> --props <json>
Update row:
notion-cli page update <page_id> --props <json>
Always inspect diffs before applying schema changes.
Never modify database schema without explicit confirmation.
Recommended flow:
notion-cli db schema diff <database_id> --desired <json>
notion-cli db schema apply <database_id> --desired <json>
安装 Notion 后,可以对 AI 说这些话来触发它
Help me get started with Notion
Explains what Notion does, walks through the setup, and runs a quick demo based on your current project
Use Notion to work with Notion pages and databases via the official Notion API
Invokes Notion with the right parameters and returns the result directly in the conversation
What can I do with Notion in my documents & notes workflow?
Lists the top use cases for Notion, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/notion-skill/ 目录(个人级,所有项目可用),或 .claude/skills/notion-skill/(项目级)。重启 AI 客户端后,用 /notion-skill 主动调用,或让 AI 根据上下文自动发现并使用。
Notion 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Notion 可免费安装使用。请查阅仓库了解许可证信息。
Work with Notion pages and databases via the official Notion API.
Notion 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using Notion
Identifies repetitive steps in your workflow and sets up Notion to handle them automatically