← 返回 Skills 市场
🔌

Notion

作者 OOMOL · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
31
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install oo-notion
功能描述
Notion (notion.so). Use this skill for ANY Notion request — reading, creating, updating, and deleting data. Whenever a task involves Notion, use this skill i...
使用说明 (SKILL.md)

Notion

Operate Notion through your OOMOL-connected account. This skill calls the notion connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Category: Productivity. Exposes 25 action(s).

Running an action

Assume the user has already installed the oo CLI, signed in, and connected Notion. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "notion" --action "\x3Caction_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "notion" --action "\x3Caction_name>" --data '\x3Cjson>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.

Available actions

  • append_block — Append a single paragraph block to a Notion page. This is a simplified compatibility helper over append_block_children.
  • append_block_children — Append raw Notion child blocks to an existing parent block, using the official block-children append API.
  • create_data_source — Create a Notion data source under a parent database with a properties schema.
  • create_database — Create a Notion database container under a parent page or workspace, optionally with an initial data source.
  • create_page — Create a Notion page under a parent page, data source, or workspace-level private area. Use parentId + title for a simple child page under an existing page. Use parent with an official Notion parent payload for advanced cases: { page_id: "..." }, { data_source_id: "..." }, or { workspace: true } for OAuth public integrations. When parent is provided, do not use the top-level title field; provide the page title through properties.title instead. Internal integration secrets usually cannot create workspace-level private pages and should use a parent page or data source.
  • delete_block — Archive a Notion block through the official delete endpoint.
  • get_page — Get a Notion page together with its first-level child blocks. This is a repo-level aggregate helper over page retrieval plus block-children listing.
  • list_block_children — List the direct child blocks under a Notion block with pagination.
  • list_data_source_templates — List templates available on a Notion data source.
  • list_users — List users in the Notion workspace with pagination.
  • move_page — Move a Notion page under another page or under a data source through the official page move API.
  • query_data_source — Query a Notion data source with filters, sorts, pagination, and optional property filtering.
  • retrieve_block — Retrieve a Notion block by block ID.
  • retrieve_data_source — Retrieve a Notion data source by data source ID.
  • retrieve_database — Retrieve a Notion database's metadata and schema by database ID.
  • retrieve_page — Retrieve a Notion page's properties and metadata by page ID. This does not include child block content.
  • retrieve_page_markdown — Retrieve a Notion page or block subtree rendered as enhanced Markdown through the official page markdown API.
  • retrieve_page_property — Retrieve a specific property item from a Notion page by page ID and property ID. Title, rich_text, relation, and people properties return the paginated list response with type property_item.
  • retrieve_user — Retrieve a Notion user by user ID.
  • search — Search Notion pages and data sources with optional filter, sort, and pagination controls.
  • update_block — Update a Notion block using raw block fields, including block-type payloads and optional trash state.
  • update_data_source — Update a Notion data source's title, icon, properties schema, parent, or trash status.
  • update_database — Update a Notion database container's parent, title, description, icon, cover, inline display, trash status, or locked state.
  • update_page — Update a Notion page's properties, title, icon, cover, trash status, or locked state.
  • update_page_markdown — Update a Notion page's content as enhanced Markdown through the official page markdown API.

Safety

  • Read actions (get / list / search) are safe to run directly.
  • Create, update, send, or post actions change Notion state — confirm the exact payload and effect with the user before running.
  • Delete or remove actions are destructive — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — Notion is not connected, or the connection expired or lacks a scope. Connect once (auth type: OAuth2, API key) at:

    https://console.oomol.com/app-connections?provider=notion
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

安全使用建议
Before installing, understand that connecting this skill gives the agent Notion read and write capability through your OOMOL-connected account. Use it only with a Notion workspace you trust it to manage, review proposed payloads before approving writes, and require explicit confirmation for archive/delete operations.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is Notion automation, and the documented actions are Notion read, search, create, update, move, and archive/delete operations, which fit that purpose.
Instruction Scope
Runtime instructions consistently tell the agent to inspect the live schema, use oo connector commands for the Notion service, and confirm exact payloads before state-changing or destructive actions.
Install Mechanism
The skill is markdown-only and has no executable bundled installer, but its first-time setup suggests installing the oo CLI via OOMOL-hosted shell commands if the CLI is missing.
Credentials
The skill requires Notion account connection and can access or modify workspace data, but that access is disclosed and proportionate for a Notion management skill.
Persistence & Privilege
No background persistence, local indexing, credential scraping, or privilege escalation is present; credentials are described as handled server-side by OOMOL rather than exposed to the agent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install oo-notion
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /oo-notion 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Provides a Notion skill for OOMOL-connected accounts, routing all Notion read, create, update, move, and delete operations through the `oo` CLI instead of direct API calls. - Supports page and block workflows, including creating pages, retrieving page metadata or child blocks, appending block content, updating blocks, moving pages, and archiving blocks. - Adds database and data source management actions for creating, retrieving, updating, querying, and listing templates with schema-aware payloads. - Includes workspace discovery tools for searching Notion, listing or retrieving users, and reading individual page properties. - Supports enhanced Markdown workflows for retrieving Notion page or block content as Markdown and updating page content from Markdown. - Documents safety boundaries for state-changing and destructive actions, requiring schema inspection before execution and explicit confirmation before writes or deletes.
元数据
Slug oo-notion
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Notion 是什么?

Notion (notion.so). Use this skill for ANY Notion request — reading, creating, updating, and deleting data. Whenever a task involves Notion, use this skill i... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 31 次。

如何安装 Notion?

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

Notion 是免费的吗?

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

Notion 支持哪些平台?

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

谁开发了 Notion?

由 OOMOL(@oomol)开发并维护,当前版本 v1.0.0。

💬 留言讨论