MCPInstall

notion-automation

自动化 Notion 操作。当用户需要管理 Notion 页面、数据库、块内容、项目跟踪或进行内容组织和搜索时使用此技能。

Installs
70
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/aaaaqwq/agi-super-team --skill notion-automation
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads notion-automation automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Notion 自动化管理

功能说明

此技能专门用于自动化 Notion 平台的各种操作,包括:

  • 页面创建、内容编辑和管理
  • 数据库创建、配置和查询
  • 块(Block)操作和内容更新
  • 页面搜索和内容检索
  • 项目和任务跟踪管理
  • 团队协作和评论管理
  • 页面移动和组织结构管理

使用场景

  • "创建一个新的项目页面"
  • "更新 Notion 数据库中的记录"
  • "搜索包含特定关键词的页面"
  • "批量管理页面内容"
  • "设置项目跟踪看板"
  • "管理团队协作和评论"
  • "整理和组织 Notion 工作空间"

核心功能模块

1. 页面管理

  • 创建页面:创建新页面并添加初始内容
  • 更新页面:修改页面属性、标题和封面
  • 获取页面:检索页面详细信息
  • 移动页面:在不同数据库或父页面间移动
  • 删除页面:归档或删除页面
  • 页面搜索:按关键词搜索页面和数据库

2. 数据库管理

  • 创建数据库:创建新的数据库并配置字段
  • 查询数据库:筛选和检索数据库记录
  • 更新数据库:修改数据库结构和属性
  • 获取数据库详情:查看数据库元数据
  • 数据库模板:应用预设模板创建数据库

3. 块(Block)操作

  • 获取块内容:读取页面下的所有块
  • 更新块内容:修改块的文本、样式
  • 添加子块:在块中添加子元素
  • 删除块:移除不需要的块
  • 批量操作:一次性更新多个块

4. 内容搜索

  • 全文搜索:搜索页面标题和内容
  • 数据库搜索:在特定数据库中查找
  • 筛选搜索:按对象类型筛选结果
  • 排序结果:按编辑时间排序

5. 协作管理

  • 获取用户:列出工作空间用户
  • 创建评论:在页面或块中添加评论
  • 获取评论:查看页面讨论
  • 页面权限:管理页面访问权限

6. 项目管理

  • 项目页面:创建项目概览页面
  • 任务看板:设置 Kanban 风格任务管理
  • 进度跟踪:更新任务状态和进度
  • 里程碑管理:设置项目里程碑
  • 依赖关系:管理任务间依赖

工作流程

标准页面创建流程

  1. 创建页面:创建新页面并设置标题
  2. 添加封面:设置页面封面图片
  3. 添加图标:设置页面图标
  4. 填充内容:使用块添加初始内容
  5. 关联数据库:如需要,关联到数据库
  6. 添加协作人:设置页面协作者

数据库设置流程

  1. 创建数据库:创建新数据库
  2. 定义字段:配置属性类型(文本、数字、日期等)
  3. 设置视图:创建不同视图(表格、看板、日历)
  4. 添加记录:批量添加初始记录
  5. 配置筛选:设置常用筛选条件
  6. 设置模板:创建页面模板

内容更新流程

  1. 获取当前内容:读取页面块结构
  2. 定位目标块:找到需要更新的块
  3. 更新块内容:修改块文本或属性
  4. 添加新块:如需要,插入新内容块
  5. 验证更新:确认更改正确应用

项目跟踪流程

  1. 创建项目数据库:建立项目看板
  2. 定义任务状态:设置状态字段(待办、进行中、已完成)
  3. 添加任务:创建任务记录
  4. 分配负责人:设置任务负责人
  5. 设置截止日期:添加日期字段
  6. 更新进度:随进度更新状态

最佳实践

页面组织

  • 使用层级结构组织页面
  • 合理使用数据库代替普通页面
  • 定期清理归档不需要的页面
  • 使用图标和封面区分不同页面
  • 建立统一的命名规范

数据库设计

  • 字段类型选择要准确
  • 合理使用关系字段连接数据库
  • 设置默认视图提高使用效率
  • 使用筛选条件减少噪音
  • 定期维护数据库结构

内容编辑

  • 使用块组织内容结构
  • 合理使用标题层级
  • 保持内容简洁明了
  • 及时保存重要修改
  • 使用评论进行讨论

协作规范

  • 明确页面负责人
  • 使用 @提及通知协作者
  • 及时回复评论
  • 定期同步更新状态
  • 尊重页面权限设置

常用代码示例

1. 创建页面并添加内容

// 创建新页面
const page = await createPage({
  parent: {
    type: "page_id",
    page_id: "parent_page_id"
  },
  properties: {
    title: {
      type: "title",
      title: [
        {
          type: "text",
          text: {
            content: "项目文档"
          }
        }
      ]
    }
  },
  children: [
    {
      object: "block",
      type: "paragraph",
      paragraph: {
        rich_text: [
          {
            type: "text",
            text: {
              content: "这是项目文档的概述内容。"
            }
          }
        ]
      }
    }
  ],
  icon: {
    type: "emoji",
    emoji: "📝"
  },
  cover: {
    type: "external",
    external: {
      url: "https://example.com/cover.jpg"
    }
  }
});

2. 数据库操作

// 创建数据库
const database = await createDatabase({
  parent: {
    type: "page_id",
    page_id: "parent_page_id"
  },
  title: [
    {
      type: "text",
      text: {
        content: "项目管理数据库"
      }
    }
  ],
  properties: {
    "任务名称": {
      title: {}
    },
    "状态": {
      select: {
        options: [
          { name: "待办", color: "gray" },
          { name: "进行中", color: "blue" },
          { name: "已完成", color: "green" }
        ]
      }
    },
    "负责人": {
      people: {}
    },
    "截止日期": {
      date: {}
    }
  }
});

// 查询数据库记录
const records = await queryDatabase({
  database_id: "database_id",
  filter: {
    property: "状态",
    select: {
      equals: "进行中"
    }
  },
  sorts: [
    {
      property: "截止日期",
      direction: "ascending"
    }
  ]
});

3. 页面搜索

// 搜索页面
const searchResults = await search({
  query: "项目计划",
  filter: {
    property: "object",
    value: "page"
  },
  sort: {
    direction: "descending",
    timestamp: "last_edited_time"
  }
});

// 搜索数据库
const dbResults = await search({
  query: "任务",
  filter: {
    property: "object",
    value: "database"
  }
});

4. 块内容更新

// 获取页面块
const blocks = await getBlockChildren({
  block_id: "page_id"
});

// 更新块内容
await updateBlock({
  block_id: "block_id",
  paragraph: {
    rich_text: [
      {
        type: "text",
        text: {
          content: "更新后的内容"
        }
      }
    ]
  }
});

// 添加新块
await appendBlockChildren({
  block_id: "parent_block_id",
  children: [
    {
      object: "block",
      type: "heading_2",
      heading_2: {
        rich_text: [
          {
            type: "text",
            text: {
              content: "新的章节标题"
            }
          }
        ]
      }
    }
  ]
});

5. 评论管理

// 创建评论
await createComment({
  parent: {
    page_id: "page_id"
  },
  rich_text: [
    {
      type: "text",
      text: {
        content: "建议在这里添加更多细节描述。"
      }
    }
  ]
});

// 获取评论
const comments = await retrieveComments({
  block_id: "page_id"
});

6. 页面移动

// 移动页面到其他父页面
await movePage({
  page_id: "page_id",
  parent: {
    type: "page_id",
    page_id: "new_parent_id"
  }
});

// 或移动到数据库
await movePage({
  page_id: "page_id",
  parent: {
    type: "database_id",
    database_id: "database_id"
  }
});

7. 批量操作

// 批量创建页面记录
const batchCreate = async (databaseId, records) => {
  for (const record of records) {
    await createPage({
      parent: {
        type: "database_id",
        database_id: databaseId
      },
      properties: {
        "任务名称": {
          title: [{ text: { content: record.title } }]
        },
        "状态": {
          select: { name: record.status }
        }
      }
    });
  }
};

// 批量更新块
const batchUpdate = async (updates) => {
  for (const update of updates) {
    await updateBlock({
      block_id: update.blockId,
      ...update.content
    });
  }
};

8. 用户和权限

// 获取用户信息
const users = await listUsers();

// 获取特定用户
const user = await getUser({
  user_id: "user_id"
});

// 获取当前用户
const me = await getSelf();

集成场景

1. 项目管理系统

  • 创建项目概览页面
  • 设置任务跟踪数据库
  • 管理里程碑和时间线
  • 生成项目报告
  • 跟踪团队进度

2. 知识库管理

  • 组织文档结构
  • 创建知识库页面
  • 维护文档索引
  • 设置文档权限
  • 定期更新内容

3. 内容创作工作流

  • 创建内容日历
  • 管理草稿和发布
  • 协作编辑文档
  • 追踪评论反馈
  • 自动化内容发布

4. 团队协作平台

  • 建立团队主页
  • 管理团队成员
  • 设置会议记录
  • 共享资源和链接
  • 跟踪团队任务

5. 自动化报告生成

  • 收集数据更新
  • 生成定期报告
  • 导出报告内容
  • 分发报告给团队
  • 存档历史记录

注意事项

  • 遵守 Notion API 速率限制
  • 正确处理认证和权限
  • 验证块类型和内容格式
  • 保护敏感信息不被泄露
  • 定期备份重要数据
  • 注意页面和数据库的层级关系
  • 使用正确的 ID 类型(page_id、database_id、block_id)
  • 处理 API 错误和异常情况
  • 遵守 Notion 的使用条款
  • 尊重数据隐私和安全规范

FAQ

What does the notion-automation skill do?

自动化 Notion 操作。当用户需要管理 Notion 页面、数据库、块内容、项目跟踪或进行内容组织和搜索时使用此技能。

How do I install notion-automation?

Run npx skills add https://github.com/aaaaqwq/agi-super-team --skill notion-automation in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/notion-automation/ (personal) or .claude/skills/notion-automation/ (project).

Which AI agents can use notion-automation?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is notion-automation safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains notion-automation?

It is published by aaaaqwq in aaaaqwq/agi-super-team. It has 70 recorded installs.

More from aaaaqwq/agi-super-team

View all →

multi-search-engine

aaaaqwq/agi-super-team

Multi search engine integration with 17 engines (8 CN + 9 Global). Supports advanced search operators, time filters, site search, privacy engines, and WolframAlpha knowledge queries. No API keys required.

Backend & APIs2.7K installs

web-scraping-automation

aaaaqwq/agi-super-team

自动化爬取网站数据和 API 接口。当用户需要抓取网页内容、调用 API、解析数据或创建爬虫脚本时使用此技能。

wechat-channel

aaaaqwq/agi-super-team

微信 (WeChat) 与 OpenClaw 的双向集成通道。基于 Wechaty + PadLocal 实现微信消息的接收和发送,支持私聊、群聊、@提及检测、图片/文件传输。当需要通过微信与 AI 助手交互、接收微信消息触发 AI 响应、或从 OpenClaw 发送消息到微信时使用此技能。

522 installs

project-management

aaaaqwq/agi-super-team

Open the skill to read its SKILL.md instructions.

468 installs

wecom-automation

aaaaqwq/agi-super-team

企业微信个人账号直连自动化。基于 Wechaty 框架实现企业微信消息接收、自动同意好友、知识库问答、人工介入提醒。适用于企业微信个人机器人和自动化助手场景。

feishu-automation

aaaaqwq/agi-super-team

飞书(Lark)全通道自动化。使用 lark-mcp 工具操作飞书多维表格(Bitable)、发送消息、管理文档、创建群组、自动化工作流等。当用户需要操作飞书平台、同步数据到飞书表格、发送飞书通知、管理飞书文档或自动化飞书业务流程时使用此技能。

Popular productivity & automation skills

View category →

agent-browser

vercel-labs/agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

OfficialProductivity & Automation1.3M installs

lark-doc

open.feishu.cn

飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。

lark-base

open.feishu.cn

飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。

lark-drive

open.feishu.cn

飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。

lark-shared

open.feishu.cn

Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.

lark-im

open.feishu.cn

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。