Awesome-openclaw-skills better-notion
Full CRUD for Notion pages, databases, and blocks. Create, read, update, delete, search, and query.
install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/better-notion" ~/.claude/skills/sundial-org-awesome-openclaw-skills-better-notion && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/better-notion" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-better-notion && rm -rf "$T"
manifest:
skills/better-notion/SKILL.mdsource content
Notion
Use the Notion API for pages, data sources (databases), and blocks.
Setup
mkdir -p ~/.config/notion echo "ntn_your_key_here" > ~/.config/notion/api_key
Share target pages/databases with your integration in Notion UI.
API Basics
NOTION_KEY=$(cat ~/.config/notion/api_key) curl -X POST "https://api.notion.com/v1/..." \ -H "Authorization: Bearer $NOTION_KEY" \ -H "Notion-Version: 2025-09-03" \ -H "Content-Type: application/json"
Common Operations
# Search curl -X POST "https://api.notion.com/v1/search" -d '{"query": "title"}' # Get page curl "https://api.notion.com/v1/pages/{page_id}" # Get page blocks curl "https://api.notion.com/v1/blocks/{page_id}/children" # Create page in database curl -X POST "https://api.notion.com/v1/pages" -d '{ "parent": {"data_source_id": "xxx"}, "properties": {"Name": {"title": [{"text": {"content": "Item"}}]}} }' # Query database curl -X POST "https://api.notion.com/v1/data_sources/{id}/query" -d '{ "filter": {"property": "Status", "select": {"equals": "Active"}} }' # Update page curl -X PATCH "https://api.notion.com/v1/pages/{page_id}" -d '{ "properties": {"Status": {"select": {"name": "Done"}}} }' # Add blocks curl -X PATCH "https://api.notion.com/v1/blocks/{page_id}/children" -d '{ "children": [{"type": "paragraph", "paragraph": {"rich_text": [{"text": {"content": "Text"}}]}}] }' # Delete page or block (moves to trash) curl -X DELETE "https://api.notion.com/v1/blocks/{block_id}" # Restore from trash (set archived to false) curl -X PATCH "https://api.notion.com/v1/blocks/{block_id}" -d '{"archived": false}'
Property Types
| Type | Format |
|---|---|
| Title | |
| Text | |
| Select | |
| Multi-select | |
| Date | |
| Checkbox | |
| Number | |
| URL | |
2025-09-03 API Notes
- Databases = "data sources" in API
- Use
for both creating pages and queryingdata_source_id - Get
from search results (thedata_source_id
field)id - Rate limit: ~3 req/sec