Notion

v0.1.1

Notion 集成。搜索页面和数据库,创建/更新/归档页面,读取/追加区块内容,查询数据库。通过 MorphixAI 代理安全访问 Notion API。

0· 373·0 current·0 all-time
byPaul Leo@paul-leo

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for paul-leo/notion-2.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Notion" (paul-leo/notion-2) from ClawHub.
Skill page: https://clawhub.ai/paul-leo/notion-2
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required env vars: MORPHIXAI_API_KEY
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install notion-2

ClawHub CLI

Package manager switcher

npx clawhub@latest install notion-2
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Notion integration) match the runtime instructions: all operations use an mx_notion tool and refer to Notion resources. The single required env var (MORPHIXAI_API_KEY) is appropriate for proxying requests through MorphixAI.
Instruction Scope
SKILL.md only instructs use of mx_notion/mx_link and the MorphixAI service, plus standard Notion-sharing steps. It does not ask the agent to read unrelated files, other environment variables, or transmit data to unexpected endpoints.
Install Mechanism
This is an instruction-only skill with no install spec and no code files, so nothing is written to disk by the skill itself. It does instruct the user to install the openclaw-morphixai plugin, which is consistent with the described proxy usage.
Credentials
Only MORPHIXAI_API_KEY is required. That single credential is proportional to the stated proxy-based integration and no unrelated secrets or multiple credentials are requested.
Persistence & Privilege
always is false and model invocation is not disabled (the platform default). The skill does not request persistent system-wide changes or access to other skills' config.
Assessment
This skill appears to do what it says (Notion access via MorphixAI). Before installing: verify you trust morphix.app and the openclaw-morphixai plugin source; only share Notion pages/databases you want the integration to access; keep the MORPHIXAI_API_KEY secret and avoid committing it to shell history or shared configs; consider rotating the API key after setup and reviewing the permissions granted in MorphixAI’s connection UI; and if you want tighter control, restrict autonomous invocation or require explicit user invocation for actions that modify Notion content.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📝 Clawdis
EnvMORPHIXAI_API_KEY
latestvk971hpb5dw9wfmx780q97taf1h82df2q
373downloads
0stars
2versions
Updated 1mo ago
v0.1.1
MIT-0

Notion

通过 mx_notion 工具管理 Notion 工作区:搜索、页面管理、数据库查询、内容读写。

前置条件

  1. 安装插件: openclaw plugins install openclaw-morphixai
  2. 获取 API Key: 访问 morphix.app/api-keys 生成 mk_xxxxxx 密钥
  3. 配置环境变量: export MORPHIXAI_API_KEY="mk_your_key_here"
  4. 链接账号: 访问 morphix.app/connections 链接 Notion 账号,或通过 mx_link 工具链接(app: notion
  5. 在 Notion 中将需要访问的页面/数据库与集成共享

核心操作

查看当前用户

mx_notion:
  action: get_me

搜索页面和数据库

mx_notion:
  action: search
  query: "会议纪要"
  filter_type: "page"
  page_size: 10

filter_type 可选值:pagedatabase。省略则搜索全部类型。

获取页面详情

mx_notion:
  action: get_page
  page_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

创建页面

mx_notion:
  action: create_page
  parent_type: "page"
  parent_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  title: "新页面标题"
  children:
    - type: "paragraph"
      paragraph:
        rich_text:
          - type: "text"
            text:
              content: "页面内容"

更新页面属性

mx_notion:
  action: update_page
  page_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  properties:
    title:
      title:
        - text:
            content: "更新后的标题"

归档页面

mx_notion:
  action: archive_page
  page_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

读取页面内容(区块)

mx_notion:
  action: get_block_children
  block_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  page_size: 50

追加内容到页面

mx_notion:
  action: append_blocks
  block_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  children:
    - type: "paragraph"
      paragraph:
        rich_text:
          - type: "text"
            text:
              content: "追加的新段落"

查询数据库

mx_notion:
  action: query_database
  database_id: "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  filter:
    property: "Status"
    select:
      equals: "进行中"
  sorts:
    - property: "Created"
      direction: "descending"
  page_size: 20

常见工作流

知识库搜索

1. mx_notion: search, query: "API 设计规范", filter_type: "page"
2. mx_notion: get_page, page_id: "xxx"  → 查看页面元信息
3. mx_notion: get_block_children, block_id: "xxx"  → 读取具体内容

项目管理(数据库)

1. mx_notion: search, filter_type: "database"  → 找到项目数据库
2. mx_notion: query_database, database_id: "xxx", filter: { status = "进行中" }
3. mx_notion: create_page, parent_type: "database", parent_id: "xxx"  → 创建新任务

注意事项

  • Notion 集成只能访问已明确共享给它的页面和数据库
  • 页面 ID 为 UUID 格式(含连字符)
  • 搜索结果支持分页:has_more: true 时使用 start_cursor 获取下一页
  • 数据库页面的 properties 格式取决于数据库的字段定义
  • account_id 参数通常省略,工具自动检测已链接的 Notion 账号

Comments

Loading comments...