ClawHub
SkillsPluginsOfficialDocsSupport
K
SkillsKnowledge Curator

Knowledge Curator

Mayuyang-study@mayuyang-study
自动抓取用户指定链接内容,整理分类为结构化知识库,支持增量更新和多条件内容检索。
Install in OpenClawRequires OpenClaw desktop app
Security check
Review
Version
1.0.0
Updated
May 11, 2026
License
MIT-0

Latest: v1.0.0

knowledge-curator v1.0.0

  • 初始版本发布,支持自动整理小红书、B 站、知乎、YouTube 等主流平台的内容到本地知识库
  • 按内容主题自动分类,支持增量更新和去重
  • 支持通过指令收藏和检索知识,提供关键词、分类、时间等多种查询方式
  • 知识库条目采用标准 Markdown 格式,并维护索引文件
  • 提供知识库导出、删除、统计等基础管理命令
Knowledge
#知识库#知识

knowledge-curator - 知识库管理技能

描述

自动抓取用户发送的链接内容(小红书、B 站、知乎、YouTube 等),整理成结构化知识库,支持按主题分类、增量更新和内容检索。

触发条件

收藏内容(必须满足以下条件之一)

  • 用户明确请求保存内容到知识库("收藏"、"保存到知识库"、"记下来"、"kb save"等)
  • 消息中包含"收藏"、"收藏到知识库"、"kb"等关键词 + URL

注意:单纯发送链接不会触发收藏,必须有明确的收藏意图!

查询内容

  • 用户查询知识库内容("/kb search"、"/kb list"、"搜索..."、"查找..."等)

功能

1. 内容抓取

  • 小红书: 提取标题、正文、图片描述、标签
  • B 站: 提取视频标题、简介、字幕(如有)、标签、UP 主信息
  • 知乎: 提取问题、回答、作者、赞同数
  • YouTube: 提取视频标题、描述、字幕/转录、标签
  • 通用网页: 提取标题、正文、元描述

2. 自动分类

按内容主题自动分类到以下类别:

  • 科技: AI、编程、数码、互联网、科学
  • 生活: 美食、旅行、家居、日常、情感
  • 学习: 教育、课程、教程、知识、技能
  • 娱乐: 影视、音乐、游戏、综艺、明星
  • 工作: 职场、管理、效率、工具、商业
  • 健康: 运动、饮食、医疗、心理、养生

3. 输出格式

每个知识库条目为 Markdown 文件,包含:

markdown
# [标题]

**原始链接**: [URL]
**来源平台**: [平台名称]
**收藏日期**: YYYY-MM-DD HH:mm
**分类**: [主题分类]
**标签**: #标签 1 #标签 2 #标签 3

## 摘要
[200-500 字内容摘要]

## 关键知识点
- 知识点 1
- 知识点 2
- 知识点 3

## 原文内容
[完整或精简的原文内容]

## 备注
[用户添加的备注或 AI 的补充说明]

4. 增量更新

  • 检测重复链接,避免重复保存
  • 支持同一主题下追加新内容
  • 维护知识库索引文件 index.json

5. 查询检索

  • 关键词搜索(标题、标签、内容)
  • 按分类筛选
  • 按时间范围筛选
  • 语义相似度检索(可选)

使用方法

保存内容(需要明确指令)

正确示例:

text
用户:收藏 https://www.bilibili.com/video/BV1xx411c7mD
AI: 📚 已保存到知识库【学习/编程】类别
   标题:Python 入门教程
   标签:#Python #编程 #教程
   查看:`/kb search Python`
text
用户:保存到知识库:https://zhuanlan.zhihu.com/p/123456
AI: ✅ 已收藏到知识库
text
用户:kb save https://youtube.com/watch?v=xxx
AI: ✅ 已保存到知识库

错误示例(不会触发收藏):

text
用户:https://www.bilibili.com/video/BV1xx411c7mD
AI: (仅正常回复链接内容,不收藏)

查询内容

text
用户:/kb search Python
AI: 🔍 找到 3 条相关内容:
   1. [学习/编程] Python 入门教程 (2026-03-15)
   2. [学习/编程] Python 数据分析实战 (2026-03-10)
   3. [工作/效率] 用 Python 自动化办公 (2026-03-08)

管理命令

  • /kb list [category] - 列出知识库内容
  • /kb search <keywords> - 搜索内容
  • /kb delete <id> - 删除条目
  • /kb export - 导出知识库
  • /kb stats - 查看统计信息

文件结构

text
knowledge-curator/
├── SKILL.md              # 本文件
├── README.md             # 详细文档
├── scripts/
│   ├── fetch.js          # 内容抓取
│   ├── summarize.js      # 内容总结
│   ├── categorize.js     # 自动分类
│   ├── store.js          # 存储管理
│   └── query.js          # 查询检索
├── references/
│   └── examples.md       # 使用示例
└── knowledge-base/       # 知识库存储
    ├── 科技/
    ├── 生活/
    ├── 学习/
    ├── 娱乐/
    ├── 工作/
    ├── 健康/
    └── index.json        # 索引文件

依赖

  • web_fetch 工具:抓取网页内容
  • exec 工具:运行 Node.js 脚本
  • 文件系统:存储知识库

注意事项

  • 部分平台可能有反爬限制,需适当延迟请求
  • 视频字幕提取依赖平台 API 或第三方服务
  • 建议定期备份知识库目录
  • 敏感内容需用户确认后再保存

版本

v1.0.0 - 初始版本

Related skills

More in Knowledge
ClawHub

Skills and plugins for OpenClaw agents. Part of the wider OpenClaw ecosystem.

Explore docs

SkillsPluginsOfficialAudits

Publish SkillPublish PluginCreate org

OverviewOpenClawDocsBlog

SupportGitHubDiscord

Built alongside the OpenClaw ecosystem

LobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projectsLobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projects

© 2026 OpenClaw Foundation

Privacy policy·Status·Deployed on Vercel·Powered by Convex

....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals