一键导入
notion
Use when the user mentions Notion, links to Notion, asks about Notion pages, or wants to create/read/search/update/delete/move/sync anything in Notion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user mentions Notion, links to Notion, asks about Notion pages, or wants to create/read/search/update/delete/move/sync anything in Notion.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | notion |
| description | Use when the user mentions Notion, links to Notion, asks about Notion pages, or wants to create/read/search/update/delete/move/sync anything in Notion. |
Always use the native Notion tools. Do not use web_fetch, curl, Python scripts, bash helpers, or any other method to interact with Notion.
notion_search — find pages/databases by keyword. Returns IDs, titles, and URLs.notion_read — read raw block contents of a page by UUID. Use when you need block-level structure.notion_read_markdown — read a page as clean markdown. Prefer this over notion_read for most use cases.notion_file_tree — recursively enumerate child pages and databases under a page. Returns a tree with { title, id, url, type, children }. Use max_depth to control recursion (default 3).notion_create — create a new page under a parent page. Returns { url, response }.
parent_id (UUID of parent page), markdown (page body as markdown)title (page title string)markdown is required, not optional. A call without markdown will fail silently.notion_append — append a text paragraph to the bottom of an existing page.notion_update_markdown — replace a page's entire content with new markdown. Returns { url, response }.
page_id (UUID), markdown (new content as markdown)notion_update_page — update page properties: title, icon emoji. Returns { url, response }.notion_query — query a database with optional filter (JSON string) and sorts (JSON string). Falls back to dataSources.query if databases.query fails. Returns page objects with properties, IDs, and URLs.notion_delete — move a page to trash. Uses in_trash: true.notion_move — reparent a page under a new parent. Parameters: page_id, new_parent_id.notion_publish — attempt to toggle public sharing. Currently a read-only stub (the Notion API does not expose publish/unpublish). Returns the page's existing url and public_url.notion_sync — bidirectional sync between a local markdown file and a Notion page.
direction: "push" — local file → Notion (creates page if no page_id/notion_id, updates if exists)direction: "pull" — Notion → local filedirection: "auto" (default) — compares mtimes, newer winsnotion_id to find the paired page, writes notion_id back after creationparent_id when creating a new page from a local filenotion_comment_create — add a comment to a page.notion_comment_list — list all comments on a page.notion_help — return documentation for all Notion tools (or a specific one with tool_name). No API calls.notion_doctor — run read-only diagnostics: API connectivity, per-agent key routing, SDK/plugin versions.Tools automatically use the correct API key based on your agent identity. Each agent is isolated to its own Notion workspace. No manual key handling needed. Cross-workspace access is blocked by design.
notion_search with keywordsnotion_read_markdownnotion_file_tree with the root page IDnotion_read (only when you need block IDs or structured data)notion_query with database_id and optional filter/sorts JSONnotion_search, then notion_create with markdownnotion_update_markdown to replace, or notion_append to add at the bottomnotion_update_pagenotion_move with the page ID and new parent IDnotion_delete (moves to trash)notion_sync with path and directionnotion_comment_createnotion_doctor to verify connectivity and configurationNotion URLs contain the page ID as the last 32 hex characters (no dashes). Convert to UUID format:
https://www.notion.so/Page-Title-abc123def456... → take the last 32 chars → insert dashes as 8-4-4-4-12.
markdown as a parameter — never call notion_create or notion_update_markdown without it. If you don't have the content ready, prepare it first, then call the tool once.web_fetch on Notion URLs. It won't work and wastes a turn.curl or Python scripts for Notion operations.notion_read_markdown over notion_read unless you specifically need block-level data.url at the top level of the response.