跳到正文
Skillpedia
任务与项目394k · #27

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-claim-consolidation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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_relink without dryRun first so every remembered claim it can link is linked. Then list the residue with knowledge_relink dryRun: true, include: "all" and limit: 10, following nextCursor: 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_connections id, direction: "claims", view: "full" and includeCards: true, following nextOffset with the same filters. Restart when snapshot changes. 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_timeline entity, timeField: "recorded_at" and since, following nextOffset. Also search for claims filed elsewhere or unlinked with knowledge_grep kind: "claim", the subject's distinctive names (a PR number, a commit SHA, a feature name) and the same since/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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能