Notion
БесплатноЗапускает вложенные скриптыНе проверенNotion workspace integration. Use when user wants to read/write Notion pages, search databases, create tasks, or sync content with Notion.
от ma08★ 31 звезда на GitHubОб этом скилле
Notion Skill
Integrate with Notion workspaces to read and write content.
When to Use
- User wants to read or search Notion pages
- User wants to create or update pages
- User wants to query databases
- User wants to sync content to/from Notion
- User wants to create tasks or notes in Notion
- User asks about their Notion workspace
Critical Gotchas (SDK v5.6.0)
The databases.query() method DOES NOT EXIST in this SDK version. Use notion.search() instead.
The databases.retrieve() method returns only basic metadata (title, url, timestamps). The properties field is undefined.
Always write scripts to files. Never use inline node -e evaluation because shell metacharacters cause errors.
Pages must be shared with your integration or you get object_not_found errors.
Setup Requirements
Environment variables (assumed already available due to the start session hook):
- NOTION_API_KEY: Your integration token (starts with ntn_)
- NOTION_DATABASE_ID or NOTION_UPDATES_DB_ID: Optional database ID
Node packages required:
- @notionhq/client (official SDK)
Install with: npm install @notionhq/client
Example Scripts
All examples are in the examples/ subdirectory. Run from the skill directory.
Search pages: node examples/search-pages.js node examples/search-pages.js "query text"
Read page content: node examples/read-page.js PAGE_ID
Create a page: node examples/create-page.js DATABASE_ID "Page Title"
Append content to page: node examples/append-content.js PAGE_ID "Content text"
Test connection: node examples/test-connection.js
SDK Methods Available
Search (primary query method): notion.search(params) - Search pages and databases
Pages: notion.pages.retrieve(params) - Get page metadata notion.pages.create(params) - Create new page notion.pages.update(params) - Update page properties
Blocks: notion.blocks.children.list(params) - Read page content notion.blocks.children.append(params) - Add content to page notion.blocks.retrieve(params) - Get single block notion.blocks.update(params) - Update a block notion.blocks.delete(params) - Delete a block
Databases: notion.databases.retrieve(params) - Get database metadata (limited) notion.databases.create(params) - Create database notion.databases.update(params) - Update database
Block Types
Headings: heading_1, heading_2, heading_3 Text: paragraph Lists: bulleted_list_item, numbered_list_item Tasks: to_do (with checked property) Code: code (with language property) Other: divider, quote, callout
Property Types
title - Page title (required) rich_text - Text content number - Numeric value select - Single option multi_select - Multiple options date - Date with optional end checkbox - Boolean url - URL string email - Email address
Troubleshooting
object_not_found error: Share the page/database with your integration in Notion settings
Empty search results: No pages are shared with your integration
unauthorized error: Check that NOTION_API_KEY is set in your shell environment
Resources
Notion API Docs: https://developers.notion.com JS SDK: https://github.com/makenotion/notion-sdk-js Python SDK: https://github.com/ramnes/notion-sdk-py
Установить Notion в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Notion?
Notion workspace integration. Use when user wants to read/write Notion pages, search databases, create tasks, or sync content with Notion.
Как установить скилл Notion?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Notion запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic