← 返回 Skills 市场
byungkyu

Notion

作者 byungkyu · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ 安全检测通过
11076
总下载
8
收藏
0
当前安装
14
版本数
在 OpenClaw 中安装
/install notion-api-skill
功能描述
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.
安全使用建议
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install notion-api-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /notion-api-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug notion-api-skill
版本 1.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 14
常见问题

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 11076 次。

如何安装 Notion?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install notion-api-skill」即可一键安装,无需额外配置。

Notion 是免费的吗?

是的,Notion 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Notion 支持哪些平台?

Notion 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Notion?

由 byungkyu(@byungkyu)开发并维护,当前版本 v1.2.0。

💬 留言讨论