skills$openclaw/notion
dimagious3.5k

by dimagious

notion – OpenClaw Skill

notion is an OpenClaw Skills integration for writing workflows. Work with Notion pages and databases via the official Notion API.

3.5k stars1.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026writing

Skill Snapshot

namenotion
descriptionWork with Notion pages and databases via the official Notion API. OpenClaw Skills integration.
ownerdimagious
repositorydimagious/notion-skill
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @dimagious/notion-skill
last updatedFeb 7, 2026

Maintainer

dimagious

dimagious

Maintains notion in the OpenClaw Skills directory.

View GitHub profile
File Explorer
3 files
.
_meta.json
273 B
README.md
835 B
SKILL.md
2.2 KB
SKILL.md

name: notion description: Work with Notion pages and databases via the official Notion API. homepage: https://developers.notion.com metadata: clawdbot: emoji: 🧠 requires: env: - NOTION_API_KEY install: - id: node kind: note label: "Requires notion-cli (Node.js) or notion-cli-py (Python). See docs below."

Notion

This skill lets the agent work with Notion pages and databases using the official Notion API.

The skill is declarative: it documents safe, recommended operations and assumes a local CLI (notion-cli) that actually performs API calls.

Authentication

export NOTION_API_KEY=secret_xxx

Share the integration with the pages or databases you want to access. Unshared content is invisible to the API.

Profiles (personal / work)

You may define multiple profiles (e.g. personal, work) via env or config.

Default profile: personal

Override via:

export NOTION_PROFILE=work

Pages

Read page:

notion-cli page get <page_id>

Append blocks:

notion-cli block append <page_id> --markdown "..."

Prefer appending over rewriting content.

Create page:

notion-cli page create --parent <page_id> --title "..."

Databases

Inspect schema:

notion-cli db get <database_id>

Query database:

notion-cli db query <database_id> --filter <json> --sort <json>

Create row:

notion-cli page create --database <database_id> --props <json>

Update row:

notion-cli page update <page_id> --props <json>

Schema changes (advanced)

Always inspect diffs before applying schema changes.

Never modify database schema without explicit confirmation.

Recommended flow:

notion-cli db schema diff <database_id> --desired <json>
notion-cli db schema apply <database_id> --desired <json>

Safety notes

  • Notion API is rate-limited; batch carefully.
  • Prefer append and updates over destructive operations.
  • IDs are opaque; store them explicitly, do not infer from URLs.
README.md

Notion Skill

This skill enables working with Notion pages and databases via the official Notion API.

Quick Start

  1. Create a Notion Integration at https://www.notion.so/my-integrations
  2. Copy the Internal Integration Token
  3. Export it: export NOTION_API_KEY=secret_xxx
  4. Share the integration with pages/databases you want to access

Features

  • Read and create pages
  • Append blocks to pages
  • Query databases
  • Create and update database rows
  • Schema inspection and changes (with safety checks)

Requirements

  • NOTION_API_KEY environment variable
  • notion-cli (Node.js) or notion-cli-py (Python) - see installation instructions in SKILL.md

Version

Current version: 0.1.0

This is a declarative skill that documents safe, recommended operations. The actual API calls are performed by a local CLI tool.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install notion?

Run openclaw add @dimagious/notion-skill in your terminal. This installs notion into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/dimagious/notion-skill. Review commits and README documentation before installing.