← Back to Skills Marketplace
byungkyu

Notion

by byungkyu · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ Security Clean
11076
Downloads
8
Stars
0
Active Installs
14
Versions
Install in OpenClaw
/install notion-api-skill
Description
Notion API integration with managed OAuth. Query databases, search pages, and read workspace content. Write operations require explicit user confirmation of the target resource and connection. Use this skill when users want to interact with Notion workspaces, databases, or pages. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user.
Usage Guidance
Install this only if you want an agent to access your Notion workspace through Maton. Prefer OAuth, approve new Notion connections yourself, use the narrowest Notion scopes available, and require explicit confirmation before any create, update, archive, delete, or bulk operation.
Capability Assessment
Credentials
Network access, Bash, and Notion workspace access are proportionate to the integration, and the skill explicitly limits local execution and broad local secret access as out of scope.
Install Mechanism
Installation uses the external Maton CLI via npm or Homebrew, with optional SDKs; this is disclosed and coherent for an API integration but users should trust the Maton tooling before installing it.
Instruction Scope
Runtime instructions default to read/list operations, require explicit user confirmation for connection creation and writes, require target and connection verification, and warn that Notion-returned content is untrusted data.
Persistence & Privilege
OAuth creates a local Maton profile and stores tokens in the operating system credential store with refresh behavior; this persistence is disclosed, and the skill tells agents not to inspect or expose stored credentials.
Purpose & Capability
The skill's purpose is to query, read, create, update, and delete Notion resources through the Maton gateway; the documented capabilities match that purpose.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install notion-api-skill
  3. After installation, invoke the skill by name or use /notion-api-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
CLI-first rewrite with the Maton SDK examples; clarify that the CLI and SDKs keep separate credential stores, and reword webhook egress warnings
v1.1.0
CLI-first rewrite: the maton CLI with OAuth login is the documented path, every example is a maton command, SDK examples added, and the raw HTTP fallback feeds the key on stdin instead of reading it from the environment
v1.0.11
- Removed the file `skill-card.md` from the repository. - No changes made to code or functionality; documentation file only was deleted. - The skill continues to provide Notion API integration with managed OAuth as before.
v1.0.10
- Clarified that all write operations (create, update, delete) require explicit user confirmation of the target resource and connection before execution. - Updated the description and introductory text to emphasize stricter confirmation requirements for write actions. - Adjusted documentation and usage notes to specify no writing is permitted without prior user approval. - Reinforced security best practices and scope boundaries regarding resource operations and connection selection.
v1.0.9
Version 1.0.9 - Expanded Security & Permissions section with detailed user safety steps for write operations. - Added requirements for confirming targets (IDs), verifying connections, and stating if an action is reversible or destructive before any write. - Listed specific irreversible/high-risk operations that require extra caution. - Clarified strict scope boundaries and the need for explicit user approval before bulk or batch changes. - No changes to the skill's functionality or API surface.
v1.0.8
Version 1.0.8 - Added comprehensive CLI usage examples for interacting with Notion via the Maton CLI. - Expanded installation and authentication instructions, including Homebrew and npm options. - Provided side-by-side CLI and Python code samples for all major workflows (connections, search, data sources, pages). - Clarified how to specify and manage multiple Notion connections in both CLI and API workflows. - Improved documentation structure, making setup and usage clearer for both CLI and API users.
v1.0.7
- Changed all base URLs from gateway.maton.ai and ctrl.maton.ai to api.maton.ai. - Updated sample code and instructions to use the new api.maton.ai endpoints. - Added a security & permissions section, clarifying write operation requirements. - Minor wording and formatting improvements in documentation. - Removed the LICENSE.txt file.
v1.0.6
- Added homepage field to metadata for better discoverability and navigation to Maton platform. - Minor metadata improvements; no changes to functionality or API usage.
v1.0.5
- Added a metadata section for clawdbot, specifying an emoji and required environment variable (MATON_API_KEY). - No functional or API changes; documentation and compatibility remain the same.
v1.0.4
Version 1.0.4 - No file changes detected in this release. - No updates or modifications to documentation or source code.
v1.0.3
- Added a note recommending the api-gateway skill for third party apps other than Notion. - Replaced all shell/bash and JavaScript code examples with Python equivalents using `urllib.request` and standard libraries. - Updated code snippets and quick start instructions to reflect the new Python-based examples for API usage and connection management. - No changes to the API endpoints or core functionality; documentation updates only.
v1.0.2
- Clarified the gateway base URL pattern: use `/notion/{native-api-path}` instead of `/notion/v1/{endpoint}`. - Added instructions for specifying the Notion connection via the new `Maton-Connection` header when multiple OAuth connections exist. - Improved the "Getting Your API Key" section to mention account creation. - Updated example connection response to include `creation_time`, `last_updated_time`, and `metadata`. - Improved documentation formatting and consistency, with adjustments to connection management and quick start sections.
v1.0.1
- Clarified the relationship between databases and data sources: `GET /databases/{id}` now returns a `data_sources` array. - Added an example output for the `GET /databases/{id}` data sources structure for clarity. - Expanded connection management documentation with both "list connections" and "get single connection" response examples. - Added example for the "Update Page Icon" endpoint. - Improved explanations of endpoints and usage throughout for accuracy and consistency.
v1.0.0
- Initial release of Notion API integration with managed OAuth. - Supports querying databases, creating/updating pages, and managing blocks in Notion workspaces. - API gateway proxies requests to Notion API and handles OAuth token injection. - Includes detailed setup instructions, API reference, connection management, and code examples (bash, JavaScript, Python). - Databases and data sources are clearly separated for querying and schema updates. - Comprehensive error handling and resource links provided.
Metadata
Slug notion-api-skill
Version 1.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 14
Frequently Asked Questions

What is Notion?

Notion API integration with managed OAuth. Query databases, search pages, and read workspace content. Write operations require explicit user confirmation of the target resource and connection. Use this skill when users want to interact with Notion workspaces, databases, or pages. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login; default to read and list calls, and confirm every write or new connection with the user. It is an AI Agent Skill for Claude Code / OpenClaw, with 11076 downloads so far.

How do I install Notion?

Run "/install notion-api-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Notion free?

Yes, Notion is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Notion support?

Notion is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Notion?

It is built and maintained by byungkyu (@byungkyu); the current version is v1.2.0.

💬 Comments