Agent skill · Backend & API

notion

Notion API for creating and managing pages, databases, and blocks.

SafeAI-Lab-Xgithub.com/SafeAI-Lab-XGitHub ↗
claude-code
Install
npx skills add SafeAI-Lab-X/ClawKeeper --skill notion --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Path: legacy/clawkeeper-watcher/skills/notion/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,034
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# notion Use the Notion API to create/read/update pages, data sources (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: ```bash mkdir -p ~/.config/notion echo "ntn_your_key_here" > ~/.config/notion/api_key ``` 4. Share target pages/databases with your integration (click "..." → "Connect to" → your integration name) ## API Basics All requests need: ```bash NOTION_KEY=$(cat ~/.config/notion/api_key) curl -X GET "https://api.notion.com/v1/..." \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" ``` > **Note:** The `Notion-Version` header is required. This skill uses `2025-09-03` (latest). In this version, databases are called "data sources" in the API. ## Common Operations **Search for pages and data sources:** ```bash curl -X POST "https://api.notion.com/v1/search" \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json" \ -d '{"query": "page title"}' ``` **Get page:** ```bash curl "https://api.notion.com/v1/pages/{page_id}" \ -H "Authorization: Bearer $NOTI

What's inside
Steps it walks through
  1. Setup
  2. API Basics
  3. Common Operations
  4. Property Types
  5. Key Differences in 2025-09-03
  6. Notes
Commands it runs
mkdir -p ~/.config/notion
echo "ntn_your_key_here" > ~/.config/notion/api_key
curl -X GET "https://api.notion.com/v1/..." \
curl -X POST "https://api.notion.com/v1/search" \
curl "https://api.notion.com/v1/pages/{page_id}" \
curl "https://api.notion.com/v1/blocks/{page_id}/children" \
curl -X POST "https://api.notion.com/v1/pages" \
curl -X POST "https://api.notion.com/v1/data_sources/{data_source_id}/query" \
curl -X POST "https://api.notion.com/v1/data_sources" \
curl -X PATCH "https://api.notion.com/v1/pages/{page_id}" \
More from ClawKeeper
All skills →
About this skill
What does the notion skill do?

Notion API for creating and managing pages, databases, and blocks.

How do I install it?

Run `npx skills add SafeAI-Lab-X/ClawKeeper --skill notion --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From SafeAI-Lab-X/ClawKeeper, a repository with 1,034 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going