notion
Notion API for creating and managing pages, databases, and blocks via curl.
Skill by Tommy-yw
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/tommy-yw-notion
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/notion
What's inside
- Skill name
notion- Description
- Notion API for creating and managing pages, databases, and blocks via curl. Search, create, update, and query Notion workspaces directly from the terminal.
- License
- MIT
- Instructions
- 159 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- block-types.md · references/
SKILL.md (first lines)
# Notion API
Use the Notion API via curl to create, read, update pages, databases (data sources), and blocks. No extra tools needed — just curl and a Notion API key.
## Prerequisites
1. Create an integration at https://notion.so/my-integrations
2. Copy the API key (starts with `ntn_` or `secret_`)
3. Store it in `~/.hermes/.env`:
```
NOTION_API_KEY=ntn_your_key_here
```
4. **Important:** Share target pages/databases with your integration in Notion (click "..." → "Connect to" → your integration name)
## API Basics
All requests use this pattern:
```bash
curl -s -X GET "https://api.notion.com/v1/..." \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json"
```
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
```bash
curl -s -X POST "https://api.notion.com/v1/search" \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{"query": "page title"}'
```
### Get Page
```bash
curl -s "https://api.notion.com/v1/pages/{page_id}" \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03"
```
### Get Page Content (blocks)
```bash
curl -s "https://api.notion.com/v1/blocks/{page_id}/children" \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03"
```
### Create Page in a Database
```bash
curl -s -X POST "https://api.notion.com/v1/pages" \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"parent": {"database_id": "xxx"},
"properties": {
"Name": {"title": [{"text": {"content": "New Item"}}]},
"Status": {"select": {"name": "Todo"}}
}
}'
```
### Query a Database
```bash
curl -s -X POST "https://api.notion.com/v1/data_sources/{data_source_id}/query" \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"filter": {"property": "Status", "select": {"equals": "Active"}},
"sorts": [{"property": "Date", "direction": "descending"}]
}'
```
### Create a Database
```bash
curl -s -X POST "https://api.notion.com/v1/data_sources" \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"parent": {"page_id": "xxx"},
"title": [{"text": {"content": "My Database"}}],
"properties": {
"Name": {"title": {}},
"Status": {"select": {"options": [{"name": "Todo"}, {"name": "Done"}]}},
"Date": {"date": {}}
}
}'
```
### Update Page Properties
```bash
curl -s -X PATCH "https://api.notion.com/v1/pages/{page_id}" \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{"properties": {"Status": {"select": {"name": "Done"}}}}'
```
### Add Content to a Page
```bash
curl -s -X PATCH "https://api.notion.com/v1/blocks/{page_id}/children" \
-H "Authorization: Bearer $NOTION_API_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \From Tommy-yw/RunbookHermes, MIT.
More from Tommy-yw/RunbookHermes
- 0.609score
fastmcp
Tommy-yw
Build, test, inspect, install, and deploy MCP servers with FastMCP in Python.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
ascii-video
Tommy-yw
Production pipeline for ASCII art video — any format.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
fitness-nutrition
Tommy-yw
Gym workout planner and nutrition tracker.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
neuroskill-bci
Tommy-yw
Connect to a running NeuroSkill instance and incorporate the user's real-time cognitive and emotional state (focus, relaxation, mood, cognitive load…
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
concept-diagrams
Tommy-yw
Generate flat, minimal light/dark-aware SVG diagrams as standalone HTML files, using a unified educational visual language with 9 semantic color ramps…
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
hermes-atropos-environments
Tommy-yw
Build, test, and debug Hermes Agent RL environments for Atropos training.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
baoyu-infographic
Tommy-yw
Generate professional infographics with 21 layout types and 21 visual styles.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
manim-video
Tommy-yw
Production pipeline for mathematical and technical animations using Manim Community Edition.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
drug-discovery
Tommy-yw
Pharmaceutical research assistant for drug discovery workflows.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
godmode
Tommy-yw
Jailbreak API-served LLMs using G0DM0D3 techniques — Parseltongue input obfuscation (33 techniques), GODMODE CLASSIC system prompt templates, ULTRAPLINIAN…
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
oss-forensics
Tommy-yw
Supply chain investigation, evidence recovery, and forensic analysis for GitHub repositories.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
baoyu-comic
Tommy-yw
Knowledge comic creator supporting multiple art styles and tones.
SkillCFreshness: C★ 510Claude Code +9
Signals
- Stars
- 510
- Forks
- 36
- Open issues
- 2
- Last commit (this folder)
- May 1, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Tommy-yw/RunbookHermes
- Website
- kheish.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from Tommy-yw
- 0.609score
godmode
Tommy-yw
Jailbreak API-served LLMs using G0DM0D3 techniques — Parseltongue input obfuscation (33 techniques), GODMODE CLASSIC system prompt templates, ULTRAPLINIAN…
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
manim-video
Tommy-yw
Production pipeline for mathematical and technical animations using Manim Community Edition.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
baoyu-infographic
Tommy-yw
Generate professional infographics with 21 layout types and 21 visual styles.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
drug-discovery
Tommy-yw
Pharmaceutical research assistant for drug discovery workflows.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
oss-forensics
Tommy-yw
Supply chain investigation, evidence recovery, and forensic analysis for GitHub repositories.
SkillCFreshness: C★ 510Claude Code +9 - 0.609score
concept-diagrams
Tommy-yw
Generate flat, minimal light/dark-aware SVG diagrams as standalone HTML files, using a unified educational visual language with 9 semantic color ramps…
SkillCFreshness: C★ 510Claude Code +9
Cite this page
notion skill. Agent Mart. https://agentmart.dev/skills/tommy-yw-notion (last updated 2026-10-24)