notion

notion is a skill for Claude Code, Codex from wanikua/danghuangshang. It costs 17 tokens per session (1,526 once invoked), scanned A, a copy of notion, MIT.

A guide for using the Notion API, the interface that lets software read and change Notion pages, databases, and content blocks. It covers authentication and common API requests.

In plain words
What is it for?
Use it to search, read, create, and update Notion pages and databases through commands or agent workflows.
Why use it?
It removes the need to work through Notion's website for routine content management, while explaining the access and sharing setup required first.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to search, read, create, and update Notion pages and databases through commands or agent workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wanikua/danghuangshang/notion
About the project

danghuangshang is a multi-agent collaboration system that organizes specialized AI agents into a hierarchy modeled on historical Chinese government institutions. Users delegate tasks to these agents through platforms such as Discord or Feishu, with roles for coordination, coding, review, memory, and automation. Its catalogue entries are the project's agents and skills.

wanikua/danghuangshang · 2,701 stars · on GitHub · danghuangshang.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wanikua/danghuangshang --skill notion
Clone the repo
git clone --depth 1 https://github.com/wanikua/danghuangshang

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notion

README.md
[![agentmods](https://agentmods.dev/badge/skills/wanikua/danghuangshang/notion/github.svg)](https://agentmods.dev/skills/wanikua/danghuangshang/notion)
Your own site
<a href="https://agentmods.dev/skills/wanikua/danghuangshang/notion"><img src="https://agentmods.dev/badge/skills/wanikua/danghuangshang/notion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for notion

Your own site · 80×15
<a href="https://agentmods.dev/skills/wanikua/danghuangshang/notion"><img src="https://agentmods.dev/badge/skills/wanikua/danghuangshang/notion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,526 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 78% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.01526
Opus 5 $0.00009 $0.00763
Sonnet 5 $0.00003 $0.00305
Haiku 4.5 $0.00002 $0.00153

Measured 11d ago against content hash a370815bfe05, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

notion scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X GET "https://api.notion.com/v1/..." \
Origin

This is a copy

78% identical to notion — 64 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/notion/SKILL.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

notion

Use the Notion API to create/read/update pages, databases (databases), and blocks.

Setup

  1. Create an integration at https://notion.so/my-integrations
  2. Copy the API key (starts with ntn_ or secret_)
  3. Store it:
mkdir -p ~/.config/notion
echo "ntn_your_key_here" > ~/.config/notion/api_key
  1. Share target pages/databases with your integration (click "..." → "Connect to" → your integration name)

API Basics

All requests need:

NOTION_KEY=$(cat ~/.config/notion/api_key)
curl -X GET "https://api.notion.com/v1/..." \
  -H "Authorization: Bearer $NOTION_KEY" \
  -H "Notion-Version: 2022-06-28" \
  -H "Content-Type: application/json"

Note: The Notion-Version header is required. This skill uses 2022-06-28 (latest). In this version, databases are called "databases" in the API.

Common Operations

Search for pages and databases:

curl -X POST "https://api.notion.com/v1/search" \
  -H "Authorization: Bearer $NOTION_KEY" \
  -H "Notion-Version: 2022-06-28" \
  -H "Content-Type: application/json" \
  -d '{"query": "page title"}'

Get page:

curl "https://api.notion.com/v1/pages/{page_id}" \
  -H "Authorization: Bearer $NOTION_KEY" \
  -H "Notion-Version: 2022-06-28"

Get page content (blocks):

curl "https://api.notion.com/v1/blocks/{page_id}/children" \
  -H "Authorization: Bearer $NOTION_KEY" \
  -H "Notion-Version: 2022-06-28"

Create page in a database:

curl -X POST "https://api.notion.com/v1/pages" \
  -H "Authorization: Bearer $NOTION_KEY" \
  -H "Notion-Version: 2022-06-28" \
  -H "Content-Type: application/json" \
  -d '{
    "parent": {"database_id": "xxx"},
    "properties": {
      "Name": {"title": [{"text": {"content": "New Item"}}]},
      "Status": {"select": {"name": "Todo"}}
    }
  }'

Query a database (database):

curl -X POST "https://api.notion.com/v1/databases/{data_source_id}/query" \
  -H "Authorization: Bearer $NOTION_KEY" \
  -H "Notion-Version: 2022-06-28" \
  -H "Content-Type: application/json" \
  -d '{
    "filter": {"property": "Status", "select": {"equals": "Active"}},
    "sorts": [{"property": "Date", "direction": "descending"}]
  }'

Read the full file on GitHub · 157 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 157 lines · 17 tokens per session scan A a370815bfe05

Subscribe to this mod's changes

notion is a skill published in the GitHub repository wanikua/danghuangshang (2,701 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 1,526 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 78% identical to notion, differing in 64 lines, and is treated as a copy.

Related

Other skills, from other repositories

discord-mcp

Inspect and manage Discord servers through the user's configured Discord bot. Use for Discord server administration, moderation, channels, roles, members, messages, threads, reactions, emojis, stickers, events, automod, onboarding, soundboard, bot-managed webhooks, or other guild-scoped Discord REST actions.

PckyDev/discord-mcp · 64 tokens

setup-discord-multibot

Configure or extend a multi-bot Discord setup for Claude Code, where each project directory is bridged to its own dedicated Discord bot. Use when the user wants to (a) add a new Discord bot for a new project, (b) initially set up the per-project Discord architecture, (c) pair a bot when the official /discord:access…

Lihan-Zhong/claude-code-discord-multibot · 179 tokens

schedule-work

A scheduling skill for the Cognition Discord server. It chooses between a bot scheduler that runs continuously through fixed steps and a Claude routine that needs the app open but can make judgements.

justpainful/Cognition · 0 tokens

cron

Schedule reminders, recurring tasks, and one-time notifications using the cron tool. Use when the user asks to set a reminder, schedule a recurring task, create a timer, or wants periodic execution. Also use for listing or removing existing schedules. Do NOT use for immediate one-off actions that need no scheduling.

berrzebb/SoulFlow-Orchestrator · 63 tokens

tmux

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output. Use when the task needs an interactive TTY: Python REPLs, long-running processes, or orchestrating multiple agents in parallel. Requires tmux on PATH (macOS/Linux, WSL on Windows). Do NOT use for simple non-interactive…

berrzebb/SoulFlow-Orchestrator · 0 tokens

file-delivery

Send files (PDF, images, documents) to the current channel using sendfile tool. Use when the user asks to attach, deliver, upload, or send a generated file. Do NOT use for requesting files FROM users (use requestfile), text-only messages (use message), or diagram rendering (use diagram).

berrzebb/SoulFlow-Orchestrator · 67 tokens