knowledge-claim-consolidation
它能做什么
它指导 AI 智能体审阅 Knowledge vault 中已保存的论断,清理重复内容、过时的状态笔记,以及归错页面的论断。它适合 Knowledge vault 已经变大、需要整理的人。
适用场景
- ✓你的 Knowledge vault 中有大量从未整理过的已保存论断的时候。
- ✓某个中心页面充满重复或过时状态笔记的时候。
- ✓想回顾自某个日期以来关于某个主题的论断的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-claim-consolidation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我 Knowledge vault 中关于 Q3 项目的论断,清理重复和过时的笔记。”
每周 5 个新技能,1 分钟读完。
工作原理
技能选择处理范围,将能够建立链接的论断连接起来,然后处理重复和被替代的论断。最后,它会把持久有效的结果融入相关页面的正文中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Claim consolidation review
Read shared conventions and publication before writes.
Claims accumulate faster than pages are curated. knowledge_remember saves a
claim without a subject page when no name in it matches exactly one page, and
scheduled maintenance's knowledge_relink links only claims whose source page
is an entity page or whose text names exactly one page. Linked claims pile up
too: a hub page collects status snapshots, duplicates and claims that belong on
a more specific subject. This review runs one procedure over a chosen scope.
Work in this order: choose the scope, link, then duplicates, replaced claims
and snapshot series, then page prose.
1. Choose the scope and enumerate it
Call knowledge_status for the intended scope and knowledge_ontology for the
current fingerprint. Then enumerate exactly one starting set:
- Unlinked residue (the default, and the only scope of scribe runs). Run
knowledge_relinkwithoutdryRunfirst so every remembered claim it can link is linked. Then list the residue withknowledge_relinkdryRun: true,include: "all"andlimit: 10, followingnextCursor: every current claim with no linked page and no source page, whichever tool saved it. Each call reports at most 10 examples per outcome, so a limit of 10 returns every claim it examined. - One page, for a hub page or a page over its size budget. List its
current claims with
knowledge_connectionsid,direction: "claims",view: "full"andincludeCards: true, followingnextOffsetwith the same filters. Restart whensnapshotchanges. On a hub, group from the cards first and work one group at a time; do not read every claim in full up front. - One subject, optionally since a date. When the subject has a page, list
its claims with
knowledge_timelineentity,timeField: "recorded_at"andsince, followingnextOffset. Also search for claims filed elsewhere or unlinked withknowledge_grepkind: "claim", the subject's distinctive names (a PR number, a commit SHA, a feature name) and the samesince/timeField. Keep only claims that are actually about the subject.
State the scope in the report. Read each claim you will change with
knowledge_record and metadataView: "full". Its subject_hint, when
present, is the saver's own description of what the claim is about and the
strongest clue to its subject. Group the claims by what they are about (one
feature, PR, commit, decision thread, person or preference) before choosing
pages. Most claims make sense only next to their neighbours: a series of
status snapshots about one PR usually ends in an outcome claim.
2. Choose subject pages
For each group, find candidate pages with knowledge_grep and
knowledge_lookup, and read their State. Ignore withdrawn pages and
fixture pages.
- The primary subject is what the claim asserts something about; list it
first in
entities. Add a secondary subject only when the claim also states something about that entity, such as the person who made the decision or the company whose product was configured. A passing mention is not a subject. Two or three subjects is usually enough. - The primary subject is the most specific page the claim is about: a claim about one PR belongs on that PR's page, not only on the project the PR belongs to. The broader page stays a subject only when the claim says something about it, such as a project-level decision, policy or release.
- A preference or decision stated by a person belongs on that person's page. Do not turn one person's preference into a project or company policy.
- Match identity on evidence, not on similar names. When a claim names something that might be an existing page (for example a product name that could be a different service), confirm it from evidence such as configuration, a URL or the page's own aliases. If it stays uncertain, leave the claim where it is and report it.
Link with knowledge_annotate entities, passing the complete list (it replaces
the existing one) and the claim's current revision and hash. Assertion text,
evidence and lifecycle stay unchanged. Link a claim before you supersede it:
superseded claims cannot be relinked.
3. Create missing pages and relink to them
Linking every claim to the nearest existing page can bury a real subject in a broad page. Create a page when:
- a discrete su
常见问题
它是靠猜测来处理重复内容的吗?
不是。它遵循 vault 自身关于重复和被替代论断的规则,而不是靠猜测。
论断最终会放在哪里?
每条论断都会归入最具体的主题页面,只有重要的主题才会新建页面。
我可以选择审阅 vault 的哪一部分吗?
可以。你可以选择未链接的遗留内容、某个中心页面或超负荷页面,或自某个日期以来关于某主题的论断。
详情
作者的原始描述
Review and consolidate Knowledge claims over a chosen scope - the unlinked residue after relinking, the claims on one hub or over-budget page, or the claims about one subject since a date. File claims on their most specific subject page, create pages for substantial subjects, retire duplicates, supersede status snapshots and replaced claims by an existing claim, and fold durable outcomes into page State. Use for claim cleanup, consolidation, or the Knowledge Consolidation scribe.
repo: openclaw/openclaw
热度
- GitHub 星标
- 394k
- 排名
- #27
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。