notion
Notion API for creating and managing pages, databases, and blocks.
Skill by wanikua
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/wanikua-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: not checked yet.
What's inside
- Skill name
notion- Description
- Notion API for creating and managing pages, databases, and blocks.
- License
- MIT
- Instructions
- 151 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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:
```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: 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:**
```bash
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:**
```bash
curl "https://api.notion.com/v1/pages/{page_id}" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2022-06-28"
```
**Get page content (blocks):**
```bash
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:**
```bash
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):**
```bash
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"}]
}'
```
**Create a database (database):**
```bash
curl -X POST "https://api.notion.com/v1/databases" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2022-06-28" \
-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 -X PATCH "https://api.notion.com/v1/pages/{page_id}" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{"properties": {"Status": {"select": {"name": "Done"}}}}'
```
**Add blocks to page:**
```bash
curl -X PATCH "https://api.notion.com/v1/blocks/{page_id}/children" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2022-06-28" \
-H "Content-Type: application/json" \
-d '{
"children": [
{"object": "block", "type": "paragraph", "paragraph": {"rich_text": [{"text": {"content": "Hello"}}]}}
]
}'
```From wanikua/danghuangshang, MIT.
More from wanikua/danghuangshang
- 0.662score
quadrants
wanikua
Manage Quadrants tasks and projects via natural language.
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.657score
browser-use
wanikua
Automates browser interactions for social media management across Instagram, LinkedIn, and X.
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.570score
novel-worldbuilding
wanikua
小说架构设计 - 当用户需要设计小说大纲、人物档案、世界观、伏笔台账时触发。关键词:大纲、世界观、人物设定、架构设计、故事规划。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.567score
openviking
wanikua
OpenViking 集成 — 浏览器自动化与 Web 搜索工具
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.567score
novel-review
wanikua
小说章节审核 - 当需要校对、审核小说章节质量时触发。关键词:审核、校对、审稿、检查、质量评估。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.565score
novel-openviking
wanikua
翰林院 OpenViking 记忆增强 — 将小说写作 pipeline 的设定、摘要、伏笔接入 OpenViking 语义记忆。若你从属于翰林院,当你看到这个skill时,务必加载这个skill。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.565score
novel-memory
wanikua
小说记忆系统 - 基于工作区文件的持久化记忆,管理角色设定、章节摘要、伏笔追踪等。关键词:记忆、存储、查询、设定、知识管理。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.562score
novel-prose
wanikua
小说写作技法 - 当需要逐章执笔创作小说正文时触发。关键词:写作、执笔、章节、正文、创作。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.562score
novel-research
wanikua
深度调研 - 当需要检索真实世界细节、推演复杂逻辑、获取风格参考时触发。关键词:调研、检索、搜索、参考、素材。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.562score
novel-archiving
wanikua
章节归档 - 每章写完后的持久化操作,包括摘要生成、记忆更新和状态报告。关键词:归档、摘要、持久化、章节完成。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.557score
Hacker News
wanikua
Search and browse Hacker News with API access to stories, comments, users, and hiring threads.
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.556score
ai-court
wanikua
以明朝内阁制为蓝本的多 Agent 协作系统
SkillDFreshness: D★ 2.7KClaude Code +9
Signals
- Stars
- 2,712
- Forks
- 260
- Open issues
- 34
- Last commit (this folder)
- Mar 16, 2026 (7 months ago)
- Last release
- Mar 12, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/wanikua/danghuangshang
- Website
- danghuangshang.com
- 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.
- 0.654score
notion
spinabot
Notion API for creating and managing pages, databases, and blocks.
SkillBFreshness: B★ 11.4KClaude Code +9 - 0.398score
notion
Bitterbot-AI
Notion API for creating and managing pages, databases, and blocks.
SkillAFreshness: A★ 2.5KClaude Code +9 - 0.394score
notion
the-open-agent
Notion API for creating and managing pages, databases, and blocks.
SkillBFreshness: B★ 5.7KClaude Code +9 - 0.336score
notion
CraftOS-dev
Notion API for creating and managing pages, databases, and blocks.
SkillAFreshness: A★ 400Claude Code +9 - 0.331score
notion
openaeon
Notion API for creating and managing pages, databases, and blocks.
SkillCFreshness: C★ 90Claude Code +9 - 0.311score
notion
CodeAndCanvasLabs
Notion API for creating and managing pages, databases, and blocks.
SkillCFreshness: C★ 16Claude Code +9 - 0.302score
notion
understudy-ai
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 464Claude Code +9 - 0.288score
notion
hvwin8
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 61Claude Code +9 - 0.288score
notion
NJX-njx
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 59Claude Code +9 - 0.284score
notion
GenTelLab
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 49Claude Code +9 - 0.281score
notion
lllooollpp
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 38Claude Code +9 - 0.281score
notion
wuding129
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 49Claude Code +9
More from wanikua
- 0.662score
quadrants
wanikua
Manage Quadrants tasks and projects via natural language.
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.657score
browser-use
wanikua
Automates browser interactions for social media management across Instagram, LinkedIn, and X.
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.570score
novel-worldbuilding
wanikua
小说架构设计 - 当用户需要设计小说大纲、人物档案、世界观、伏笔台账时触发。关键词:大纲、世界观、人物设定、架构设计、故事规划。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.567score
novel-review
wanikua
小说章节审核 - 当需要校对、审核小说章节质量时触发。关键词:审核、校对、审稿、检查、质量评估。
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.567score
openviking
wanikua
OpenViking 集成 — 浏览器自动化与 Web 搜索工具
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.565score
novel-memory
wanikua
小说记忆系统 - 基于工作区文件的持久化记忆,管理角色设定、章节摘要、伏笔追踪等。关键词:记忆、存储、查询、设定、知识管理。
SkillDFreshness: D★ 2.7KClaude Code +9
Cite this page
notion skill. Agent Mart. https://agentmart.dev/skills/wanikua-notion (last updated 2026-10-24)