Agent skill

Notion Automation

by davepoon in davepoon/buildwithclaude

Automate Notion tasks via Rube MCP (Composio): pages, databases, blocks, comments, users.

MITAuto-check passedProductivity & Automation

Install Notion Automation

skills CLI
$ npx skills add davepoon/buildwithclaude --skill notion-automation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davepoon/buildwithclaude notion-automation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davepoon/buildwithclaude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/all-skills/skills/notion-automation .claude/skills/notion-automation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
notion-automation
GitHub stars
3.6k
Used in
5 other repos
Token cost
~2.2k tokens
SKILL.md length
893 words
Files
1
Skills in repo
247
Repo updated
First seen
Licence
MIT

At a glance

Automate Notion tasks via Rube MCP (Composio): pages, databases, blocks, comments, users.

  • Works in 5 steps: Create and Manage Pages → Query and Manage Databases → Manage Blocks and Page Content → …
  • Tasks that involve App automation through connectors
  • SKILL.md covers Prerequisites, Setup, Core Workflows and Common Patterns, plus 2 more sections
  • Reaches rube.app

What it does

Notion Automation is an agent skill from davepoon/buildwithclaude. Automate Notion tasks via Rube MCP (Composio): pages, databases, blocks, comments, users. Always search tools first for current schemas.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Productivity & Automation, covering App automation through connectors. It works with Notion and Composio. The repository describes itself as: A single hub to find Claude Skills, Agents, Commands, Hooks, Plugins, and Marketplace collections to extend Claude Code, Claude Desktop, Agent SDK and OpenClaw. The licence is MIT.

When your agent uses it

  • Tasks that involve App automation through connectors

Example prompts

  • “/notion-automation”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Create and Manage Pages
  2. Query and Manage Databases
  3. Manage Blocks and Page Content
  4. Manage Database Schema
  5. Manage Users and Comments

What it can do on your machine

Read from SKILL.md and the folder at commit fc03a95. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • rube.app

    Also links to:

    • composio.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Notion Automation loads about 2.2k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 893 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davepoon/buildwithclaude at commit fc03a95, republished under its MIT licence (© davepoon). 893 words, ~2,180 tokens.

Download SKILL.mdSave it as .claude/skills/notion-automation/SKILL.md (or your agent's skills folder).
name
notion-automation
description
Automate Notion tasks via Rube MCP (Composio): pages, databases, blocks, comments, users. Always search tools first for current schemas.
requires.mcp
rube
category
storage-docs

Notion Automation via Rube MCP

Automate Notion operations through Composio's Notion toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/notion

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active Notion connection via RUBE_MANAGE_CONNECTIONS with toolkit notion
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit notion
  3. If connection is not ACTIVE, follow the returned auth link to complete Notion OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Create and Manage Pages

When to use: User wants to create, update, or archive Notion pages

Tool sequence:

  1. NOTION_SEARCH_NOTION_PAGE - Find parent page or existing page [Prerequisite]
  2. NOTION_CREATE_NOTION_PAGE - Create a new page under a parent [Optional]
  3. NOTION_RETRIEVE_PAGE - Get page metadata/properties [Optional]
  4. NOTION_UPDATE_PAGE - Update page properties, title, icon, cover [Optional]
  5. NOTION_ARCHIVE_NOTION_PAGE - Soft-delete (archive) a page [Optional]

Key parameters:

  • query: Search text for SEARCH_NOTION_PAGE
  • parent_id: Parent page or database ID
  • page_id: Page ID for retrieval/update/archive
  • properties: Page property values matching parent schema

Pitfalls:

  • RETRIEVE_PAGE returns only metadata/properties, NOT body content; use FETCH_BLOCK_CONTENTS for page body
  • ARCHIVE_NOTION_PAGE is a soft-delete (sets archived=true), not permanent deletion
  • Broad searches can look incomplete unless has_more/next_cursor is fully paginated
2. Query and Manage Databases

When to use: User wants to query database rows, insert entries, or update records

Tool sequence:

  1. NOTION_SEARCH_NOTION_PAGE - Find the database by name [Prerequisite]
  2. NOTION_FETCH_DATABASE - Inspect schema and properties [Prerequisite]
  3. NOTION_QUERY_DATABASE / NOTION_QUERY_DATABASE_WITH_FILTER - Query rows [Required]
  4. NOTION_INSERT_ROW_DATABASE - Add new entries [Optional]
  5. NOTION_UPDATE_ROW_DATABASE - Update existing entries [Optional]

Key parameters:

  • database_id: Database ID (from search or URL)
  • filter: Filter object matching Notion filter syntax
  • sorts: Array of sort objects
  • start_cursor: Pagination cursor from previous response
  • properties: Property values matching database schema for inserts/updates

Pitfalls:

  • 404 object_not_found usually means wrong database_id or the database is not shared with the integration
  • Results are paginated; ignoring has_more/next_cursor silently truncates reads
  • Schema mismatches or missing required properties cause 400 validation_error
  • Formula and read-only fields cannot be set via INSERT_ROW_DATABASE
  • Property names in filters must match schema exactly (case-sensitive)
3. Manage Blocks and Page Content

When to use: User wants to read, append, or modify content blocks in a page

Tool sequence:

  1. NOTION_FETCH_BLOCK_CONTENTS - Read child blocks of a page [Required]
  2. NOTION_ADD_MULTIPLE_PAGE_CONTENT - Append blocks to a page [Optional]
  3. NOTION_APPEND_TEXT_BLOCKS - Append text-only blocks [Optional]
  4. NOTION_REPLACE_PAGE_CONTENT - Replace all page content [Optional]
  5. NOTION_DELETE_BLOCK - Remove a specific block [Optional]

Key parameters:

  • block_id / page_id: Target page or block ID
  • content_blocks: Array of block objects (NOT child_blocks)
  • text: Plain text content for APPEND_TEXT_BLOCKS

Pitfalls:

  • Use content_blocks parameter, NOT child_blocks -- the latter fails validation
  • ADD_MULTIPLE_PAGE_CONTENT fails on archived pages; unarchive via UPDATE_PAGE first
  • Created blocks are in response.data.results; persist block IDs for later edits
  • DELETE_BLOCK is archival (archived=true), not permanent deletion
4. Manage Database Schema

When to use: User wants to create databases or modify their structure

Tool sequence:

  1. NOTION_FETCH_DATABASE - Inspect current schema [Prerequisite]
  2. NOTION_CREATE_DATABASE - Create a new database [Optional]
  3. NOTION_UPDATE_SCHEMA_DATABASE - Modify database properties [Optional]

Key parameters:

  • parent_id: Parent page ID for new databases
  • title: Database title
  • properties: Property definitions with types and options
  • database_id: Database ID for schema updates

Pitfalls:

  • Cannot change property types via UPDATE_SCHEMA; must create new property and migrate data
  • Formula, rollup, and relation properties have complex configuration requirements
Show full SKILL.md (321 more words)Show less
5. Manage Users and Comments

When to use: User wants to list workspace users or manage comments on pages

Tool sequence:

  1. NOTION_LIST_USERS - List all workspace users [Optional]
  2. NOTION_GET_ABOUT_ME - Get current authenticated user [Optional]
  3. NOTION_CREATE_COMMENT - Add a comment to a page [Optional]
  4. NOTION_FETCH_COMMENTS - List comments on a page [Optional]

Key parameters:

  • page_id: Page ID for comments (also called discussion_id)
  • rich_text: Comment content as rich text array

Pitfalls:

  • Comments are linked to pages, not individual blocks
  • User IDs from LIST_USERS are needed for people-type property filters

Common Patterns

ID Resolution

Page/Database name -> ID:

1. Call NOTION_SEARCH_NOTION_PAGE with query=name
2. Paginate with has_more/next_cursor until found
3. Extract id from matching result

Database schema inspection:

1. Call NOTION_FETCH_DATABASE with database_id
2. Extract properties object for field names and types
3. Use exact property names in queries and inserts
Pagination
  • Set page_size for results per page (max 100)
  • Check response for has_more boolean
  • Pass start_cursor or next_cursor in next request
  • Continue until has_more is false
Notion Filter Syntax

Single filter:

json
{"property": "Status", "select": {"equals": "Done"}}

Compound filter:

json
{"and": [
  {"property": "Status", "select": {"equals": "In Progress"}},
  {"property": "Assignee", "people": {"contains": "user-id"}}
]}

Known Pitfalls

Integration Sharing:

  • Pages and databases must be shared with the Notion integration to be accessible
  • Title queries can return 0 when the item is not shared with the integration

Property Types:

  • Property names are case-sensitive and must match schema exactly
  • Formula, rollup, and created_time fields are read-only
  • Select/multi-select values must match existing options unless creating new ones

Response Parsing:

  • Response data may be nested under data_preview or data.results
  • Parse defensively with fallbacks for different nesting levels

Quick Reference

TaskTool SlugKey Params
Search pages/databasesNOTION_SEARCH_NOTION_PAGEquery
Create pageNOTION_CREATE_NOTION_PAGEparent_id, properties
Get page metadataNOTION_RETRIEVE_PAGEpage_id
Update pageNOTION_UPDATE_PAGEpage_id, properties
Archive pageNOTION_ARCHIVE_NOTION_PAGEpage_id
Duplicate pageNOTION_DUPLICATE_PAGEpage_id
Get page blocksNOTION_FETCH_BLOCK_CONTENTSblock_id
Append blocksNOTION_ADD_MULTIPLE_PAGE_CONTENTpage_id, content_blocks
Append textNOTION_APPEND_TEXT_BLOCKSpage_id, text
Replace contentNOTION_REPLACE_PAGE_CONTENTpage_id, content_blocks
Delete blockNOTION_DELETE_BLOCKblock_id
Query databaseNOTION_QUERY_DATABASEdatabase_id, filter, sorts
Query with filterNOTION_QUERY_DATABASE_WITH_FILTERdatabase_id, filter
Insert rowNOTION_INSERT_ROW_DATABASEdatabase_id, properties
Update rowNOTION_UPDATE_ROW_DATABASEpage_id, properties
Get database schemaNOTION_FETCH_DATABASEdatabase_id
Create databaseNOTION_CREATE_DATABASEparent_id, title, properties
Update schemaNOTION_UPDATE_SCHEMA_DATABASEdatabase_id, properties
List usersNOTION_LIST_USERS(none)
Create commentNOTION_CREATE_COMMENTpage_id, rich_text
List commentsNOTION_FETCH_COMMENTSpage_id

Powered by Composio

© davepoon, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/all-skills/skills/notion-automation of davepoon/buildwithclaude.

Open the folder on GitHubat commit fc03a95

Used in 5 other repositories

We found 20 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 5 other GitHub owners. This page covers the copy in davepoon/buildwithclaude, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Notion Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Notion Automation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Notion Automation this skilldavepoon/buildwithclaude3.6k5 repos~2.2kAutomated safety check: PassMIT
Connect Apps with ComposioComposioHQ/awesome-claude-skills77k3 repos~557Automated safety check: PassNone
Composio Cloud Toolsquarqlabs/argus279—~543Automated safety check: PassApache-2.0
Setting Up RelayfileAgentWorkforce/relay872—~3.3kAutomated safety check: PassApache-2.0
Live Dashboardnexu-io/open-design100k—~2.1kAutomated safety check: PassApache-2.0
ComposioComposioHQ/composio30k1 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Connect Apps with Composio

    ComposioHQ/awesome-claude-skills

    Connects an agent to 1000+ external apps through the Composio Tool Router plugin, so it can actually send emails, create issues and post messages instead of only drafting them.

    77k GitHub starsUsed in 3 repos~557 tokens
    Productivity & AutomationAuto-check passed
  • Composio Cloud Tools

    quarqlabs/argus

    Routes requests to external SaaS apps such as GitHub, Gmail, Google Calendar, Slack, Notion and Linear through cloud tools, with safeguards on irreversible actions.

    279 GitHub stars~543 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • Setting Up Relayfile

    AgentWorkforce/relay

    A skill your agent uses when an agent or human needs to set up relayfile end-to-end so agents can read and write provider files through a local mount.

    872 GitHub stars~3.3k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Live Dashboard

    nexu-io/open-design

    Notion-style team dashboard rendered as a Live Artifact. An agent skill from nexu-io/open-design.

    100k GitHub stars~2.1k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Composio

    ComposioHQ/composio

    Route and complete Composio work across Composio For You and Composio Platform.

    30k GitHub starsUsed in 1 repo~1.7k tokens
    Productivity & AutomationAuto-check passed
  • Integrations

    butterbase-ai/butterbase-skills

    Use BEFORE recommending or installing any third-party SaaS SDK for email (Resend, SendGrid, Postmark, Mailgun), SMS (Twilio), messaging (Slack), calendar (Google Calendar), CRM (HubSpot…

    534 GitHub stars~832 tokensUpdated 5 days ago
    Sales & SupportAuto-check passed

More from davepoon/buildwithclaude

All 247 skills in this repo
  • iOS Hig Design Guide

    davepoon/buildwithclaude

    Build, update, and apply iOS design specifications using Apple Human Interface Guidelines (HIG) source data.

    3.6k GitHub stars~735 tokensUpdated today
    Auto-check passed
  • Video Downloader

    davepoon/buildwithclaude

    Download YouTube videos with customizable quality and format options.

    3.6k GitHub starsUsed in 1 repo~871 tokens
    Auto-check passed
  • Qwen Vision

    davepoon/buildwithclaude

    A skill your agent uses when the user asks to "analyze video", "watch this video", "what happens in this video", "describe this clip", "review this footage", "classify these videos", "compare…

    3.6k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Atlas Cloud Media

    davepoon/buildwithclaude

    Discover Atlas Cloud image and video models, inspect their live schemas, and submit one confirmed media generation request with bounded GET polling.

    3.6k GitHub stars~852 tokensUpdated today
    Auto-check passed
  • Browser Extension Launch

    davepoon/buildwithclaude

    面向没有编程经验的用户,把想法做成可试用的浏览器插件,并完成检查、商店材料、审核提交和上线验证;也用于继续已有插件、排错和发布新版。用户说“帮我做个插件”“把插件上架”“继续我的插件”时使用。普通网站开发、仅查询插件知识不触发。

    3.6k GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Slack Gif Creator

    davepoon/buildwithclaude

    Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives.

    3.6k GitHub starsUsed in 12 repos~4.3k tokens
    Auto-check passed

Works with

Questions about Notion Automation

What does Notion Automation do?

Automate Notion tasks via Rube MCP (Composio): pages, databases, blocks, comments, users. Notion Automation is an agent skill from davepoon/buildwithclaude. Automate Notion tasks via Rube MCP (Composio): pages, databases, blocks, comments, users.

When should I use Notion Automation?

Notion Automation fits situations like: tasks that involve App automation through connectors.

How do I install Notion Automation in Claude Code?

Run `npx skills add davepoon/buildwithclaude --skill notion-automation -a claude-code`. Or copy the skill folder (plugins/all-skills/skills/notion-automation in davepoon/buildwithclaude) into .claude/skills/notion-automation in your project. Claude Code loads it when a task matches its description.

How do I install Notion Automation in Codex?

Run `npx skills add davepoon/buildwithclaude --skill notion-automation -a codex`. Or copy the skill folder (plugins/all-skills/skills/notion-automation in davepoon/buildwithclaude) into .agents/skills/notion-automation in your project. Codex loads it when a task matches its description.

Can I use Notion Automation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davepoon/buildwithclaude --skill notion-automation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/notion-automation, .gemini/skills/notion-automation, .github/skills/notion-automation and .opencode/skills/notion-automation in your project.

What does Notion Automation need to run?

SKILL.md names no scripts, command-line tools or credentials: Notion Automation is instructions for the agent only.

Does Notion Automation access the network?

SKILL.md names 2 domains. In commands or code: rube.app; the agent is likely to contact it when it follows the instructions. As links in the text: composio.dev. This is read from the text; nothing was executed.

Is Notion Automation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Notion Automation use?

Notion Automation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Notion Automation use?

About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Notion Automation?

Skills that share tags, products or a category with Notion Automation: Connect Apps with Composio (ComposioHQ/awesome-claude-skills, 77k stars), Composio Cloud Tools (quarqlabs/argus, 279 stars), Setting Up Relayfile (AgentWorkforce/relay, 872 stars) and Live Dashboard (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Notion Automation?

davepoon (a GitHub user) maintains it in davepoon/buildwithclaude, which has 3,615 GitHub stars. The repository holds 247 skills in this directory. The repository was last updated on October 10, 2026.

Source: davepoon/buildwithclaude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.