knowledge-correct
できること
このスキルは、ナレッジボールト内の特定の事実、関係、またはページが誤っていると言われた場合に、それを修正または撤回する手順を、AIエージェントに示します。保存済みの知識の誤りを直したい人のためのものです。
使う場面
- ✓ナレッジボールトの保存済みの事実が誤っていると、エージェントに伝えたとき。
- ✓ボールトから特定の主張やリンクを撤回したいとき。
- ✓ボールト内のページの記述が後に変わり、置き換える必要があるとき。
スキルのリンク
https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-correct/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のナレッジボールトにある発売日の主張は誤りなので、次の月曜日に修正してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、正確な保存済みの記録を見つけ、その現在のバージョンを確認して、元の出典を残したまま修正を適用します。その後、その記録に依存するものを確認し、矛盾が残らないようにします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Correct saved knowledge through agent tools
Read shared conventions and publication before writes.
Identify the owning record
Use a supplied structured record/claim ID and revision as the primary target,
not just its display label. Read knowledge_record with metadata and evidence;
confirm its current revision/hash. A referenced revision that changed requires
rereading and reconciling the request, not silently acting on a new assertion.
Without an exact reference, use lookup/search, inspect candidates, and ask only
when the requested target or correction remains materially ambiguous.
Distinguish an erroneous saved assertion from an unsupported answer, conflicting source statements, and a fact that changed over time. Contradiction alone does not authorize supersession; the one non-user case is a standing statement its own holder explicitly replaced, per publication. Do not manufacture a stored “guard fact” when no record exists or treat a retraction as evidence for its opposite.
Apply the right operation
- Claim or explicit relationship correction: call
knowledge_correctwith the exact ID, observedexpectedRevisionandexpectedHash, reason, observed vault UUID and ontology fingerprint, and a completereplacementof the samekind. Replacement fields use the create-claim/create-relationship contract; there is one outer request ID, not a second replacement request. Preserve supported context, attribution, precise dates and evidence; remove or revise what the correction actually changes. The operation publishes the replacement and supersedes the old assertion together, with links in both directions. - Replaced by a claim that already exists: call
knowledge_supersedewith the existing claim asbyand the earlier claims' fences insupersededinstead of correcting, which would write a duplicate of the replacement. The claims must share a linked page. Undo a mistaken supersession with the same call andundo: true. - Withdrawal without a replacement: call
knowledge_withdrawwith the exact ID, revision/hash, reason and vault UUID. It accepts pages, claims and explicit relationships. An edge is identified by its own ID, not its endpoint pair. It preserves original evidence/history and is not file deletion. - Page prose correction: use ordinary revision-fenced
knowledge_save_page, preserving unrelated authored material and sources. Page corrections are revisions, not replacement entity identities. - Two pages for one entity: call
knowledge_mergewith the surviving page, the duplicate, both pages' current revision/hash and a reason. Keep the page with the fuller identity (real name, more connections) as the survivor; passtitleto rename it andbodywhen the combined page should say more than the survivor's current prose. The duplicate's ID, title, aliases, claims, relationships and links then resolve to the survivor; nothing is corrected one by one. Undo a mistaken merge withknowledge_unmerge.
An explicit user correction can supply evidence: retain their exact statement
with knowledge_attach, attribute it to the user, and reference its verified
locator. Use assertion_origin: user_belief to distinguish a user assertion from
an independently sourced statement; do not claim documentary verification.
Agent inference still needs retained premise evidence, not an invented quote.
Resolve a handle or mistaken identity
Use knowledge-entities to find and read the handle profile, the established
person and their connected records. Retain the user's exact identification as
evidence. Update supported aliases and identity context on the existing pages;
preserve unrelated content and describe the connection to the established person.
Use that person's existing ID for future enrichment. When the handle already has
its own page, merge it into the established person's page with knowledge_merge
instead of writing a pointer page, withdrawing it, or correcting its claims one by
one. Merge only on identity evidence (the user's statement, a self-introduction, a
shared stable account ID), never on name similarity; knowledge_diagnostics
mergeCandidates lists pages to check, not pages to merge. Retain the identity
evidence with knowledge_attach and pass it as evidence.
Inspect affected prose, claims and relationships, including source notes, within the correction scop
よくある質問
古い記録を消去しますか?
いいえ。履歴を残したまま記録を修正または撤回し、物理的に消去することはありません。
矛盾は自動で修正しますか?
いいえ。矛盾だけでは変更は行われず、依頼された修正にのみ対応します。
私が最後に確認してから記録が変わっていた場合はどうなりますか?
このスキルは、動く前に記録を読み直し、依頼と照らし合わせます。動いているものを変更することはありません。
詳細
作者による元の説明
Correct or withdraw specific saved Knowledge claims, explicit relationships, or pages at the user's request, preserving provenance and inspecting affected knowledge. Use for “that's wrong”, “retract that”, or a Knowledge chat reference; not automatic contradiction resolution or physical erasure.
repo: openclaw/openclaw
人気
- GitHubのスター
- 394k
- ランキング
- #28
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
graincrawl
394k保存されたGranolaのミーティングメモとトランスクリプトを検索し、その新しさを確認して、一定期間の件数を数えるようエージェントを支援します。