Notion
Search, read, create, and update pages and databases in your Notion workspace.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/notion-intentic/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
_extensions/connectors/skills/notion, fromgithub.com/intentic/intentic(branchmain), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/notion-intentic/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Search, read, create and update pages and databases in your Notion workspace via the Notion API. Use when the user asks to find, read, or write Notion pages, notes, docs, or database rows.
What this skill does
Notion (connected)
Token in $NOTION_TOKEN. Base is $NOTION_API_URL/v1 (it stands in for https://api.notion.com/v1), and every call
carries three headers, so define this helper once per shell: notion <METHOD> <path> [-d '<json>']:
notion() { local m="$1" p="$2"; shift 2; curl -s -X "$m" -H "Authorization: Bearer $NOTION_TOKEN" \
-H "Notion-Version: 2022-06-28" -H "Content-Type: application/json" \
"$NOTION_API_URL/v1/$p" "$@"; }
A personal access token sees what the person who made it sees. An internal connection's token sees only the pages
and databases someone shared with it (page ••• → Connections); sub-pages inherit. A 404 (object_not_found)
therefore usually means "not shared" (or, for a personal token, not visible to its owner), not "does not exist":
report it that way and ask the user to share the page rather than concluding it is gone.
- Who am I:
notion GET users/me | jq '{name, workspace: .bot.workspace_name}' - Search, titles only, across everything shared:
notion POST search -d '{"query":"<QUERY>","page_size":20}' | jq -c '.results[] | {id, object, url}'(add"filter":{"property":"object","value":"page"}(or"value":"database") to narrow; an empty query lists everything shared) - A page's title:
notion GET pages/<PAGE_ID> | jq -r '[.properties[] | select(.type=="title") | .title[].plain_text] | join("")' - Read a page's content:
notion GET "blocks/<PAGE_ID>/children?page_size=100" | jq -c '.results[] | {id, type, has_children, text: ([.[.type].rich_text[]?.plain_text] | join(""))}', a block withhas_children: true(toggle, sub-page, column) needs its ownblocks/<BLOCK_ID>/childrencall - Create a page:
notion POST pages -d '{"parent":{"page_id":"<PAGE_ID>"},"properties":{"title":{"title":[{"text":{"content":"<TITLE>"}}]}},"children":[{"object":"block","type":"paragraph","paragraph":{"rich_text":[{"text":{"content":"..."}}]}}]}' - Append content to a page:
notion PATCH "blocks/<PAGE_ID>/children" -d '{"children":[...]}', same block shapes; useful types:paragraph,heading_1/2/3,bulleted_list_item,numbered_list_item,to_do(plus"checked":false),quote,divider(empty{}),code(plus"language":"python") - A database's schema, the property names and types rows must match:
notion GET databases/<DB_ID> | jq '.properties | map_values(.type)' - Query a database:
notion POST "databases/<DB_ID>/query" -d '{"page_size":100}' | jq -c '.results[] | {id, url, props: (.properties | map_values(.[.type]))}', filter/sort in the body, e.g.{"filter":{"property":"Status","select":{"equals":"Done"}},"sorts":[{"timestamp":"last_edited_time","direction":"descending"}]} - Add a database row:
notion POST pages -d '{"parent":{"database_id":"<DB_ID>"},"properties":{"Name":{"title":[{"text":{"content":"..."}}]},"Status":{"select":{"name":"In progress"}}}}', property keys are the schema's names, exactly - Update page properties:
notion PATCH pages/<PAGE_ID> -d '{"properties":{...}}'· move to trash:-d '{"archived":true}' - Comment on a page:
notion POST comments -d '{"parent":{"page_id":"<PAGE_ID>"},"rich_text":[{"text":{"content":"..."}}]}'· read comments:notion GET "comments?block_id=<PAGE_ID>"
Notes: an id is the 32 hex chars at the end of any Notion URL, hyphenated or not, both accepted, so users can
paste links. Search matches titles only; to find something by body text, read the likely pages. Paginate
with has_more/next_cursor → start_cursor (query param on GETs, body field on POSTs). One append call takes
at most 100 blocks and one rich-text item at most 2000 characters: chunk long writes. Rate limit averages 3
requests/second; on 429 honour Retry-After. Errors come as JSON {code, message}: quote message when
reporting, and remember object_not_found most often means unshared.
Related skills
Claude API Helper
anthropics
Build, debug, and optimize Claude API applications with caching and model migration support.
Documentation Co-Authoring
anthropics
Guide structured workflows for writing docs, proposals, and technical specs collaboratively.
PPTX Text Extractor
axoviq-ai
Extract text and speaker notes from PowerPoint presentations.
Memory Search
davila7
Search conversation history and recall previous discussions, decisions, and context.