notion-hub
Skill by OpenMinis
Reads and writes Notion pages, databases, blocks and comments through the notion-client Python SDK. Built for users who want an AI assistant to work with data in their Notion workspace through the API.
Install notion-hub
Built from the published package, never by AI.
git clone --depth 1 https://github.com/OpenMinis/MinisSkills /tmp/MinisSkills && mkdir -p ~/.claude/skills && cp -r /tmp/MinisSkills/notion-hub ~/.claude/skills/notion-hubRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/OpenMinis/MinisSkills /tmp/MinisSkills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/MinisSkills/notion-hub ~/.gemini/antigravity-cli/skills/notion-hubAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
notion-hub is an agent skill that reads and writes Notion data using Python and the notion-client SDK. All operations run through a single CLI script that authenticates with the NOTION_API_KEY environment variable. It supports search, page create, read, write and update, database schema, query, create and add-row, block append, update and delete, and comments.
Page content converts between Markdown and Notion blocks in both directions, so pages can be read as Markdown and written from Markdown text or files. The integration must be connected to each target page or database in Notion before it can access them. The skill suits users who want an AI assistant to work with Notion pages, databases and comments through the API.
Written from the project's SKILL.md and checked against it.
What it can do
- SearchSearches pages and databases the integration can access, with filters, sorting and a limit.
- Read pages as MarkdownReads page content as Markdown, optionally saving the output to a file.
- Write pages from MarkdownWrites Markdown to a page, converted to Notion blocks, with an option to replace existing content.
- Create and update pagesCreates pages under a parent page or in a database, and updates properties, icon or archive state.
- Query databasesReads a database schema and queries rows with filters and sorts.
- Create and update databasesCreates a database with typed properties and updates its title or schema.
- Add database rowsAdds a row to a database, with property types detected from the database schema.
- Block operationsGets, appends, updates and deletes blocks on a page, including recursive block trees.
- CommentsLists comments on a page and adds comments or replies in a discussion thread.
What you need
- Notion Internal Integration Token set as NOTION_API_KEY
- uv to run the Python script
- Notion integration connected to the target pages or databases
Try asking
- Search my Notion workspace for pages about Q1 planning
- Read my meeting notes page in Notion as Markdown
- Add a High priority row to my Task Tracker database
Good to know
- Rate limited requests (429) are not retried automatically.
- Page reading and recursive block fetching cap depth at 10.
- The users command masks email addresses.
- The integration can only access pages and databases it is connected to.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: notion-hub/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to notion-hub
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
notion-hub: common questions
Does notion-hub need a Notion API token?
Yes. It authenticates with the NOTION_API_KEY environment variable, which should hold a Notion Internal Integration Token.
Why can't the assistant see one of my Notion pages?
The integration must be connected to that page or database in the Notion UI through Share, then Connections. Requests to pages without a connection return a 403 error.
Can notion-hub convert Markdown to Notion blocks?
Yes. Writing a page converts Markdown into Notion blocks, and reading a page converts blocks back into Markdown.
How do I install notion-hub?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is notion-hub free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is notion-hub safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to notion-hub?
Similar skills: ask-user-question, beads, google_tasks, recall.
