Chuyển đến nội dung
Skillpedia
Công việc và dự án394k · #28

knowledge-correct

Skill này làm gì

Skill hướng dẫn một agent AI sửa hoặc rút lại các sự kiện, mối quan hệ hoặc trang cụ thể trong kho Knowledge khi bạn nói chúng sai. Nó dành cho những ai muốn sửa lỗi trong kiến thức đã lưu.

Khi nào nên dùng

  • ✓Khi bạn nói với agent rằng một sự kiện đã lưu trong kho Knowledge là sai.
  • ✓Khi bạn muốn rút lại một khẳng định hoặc liên kết cụ thể khỏi kho.
  • ✓Khi một trang trong kho có một phát biểu đã thay đổi và cần được thay thế.

Liên kết skill

https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-correct/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-correct/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Khẳng định về ngày ra mắt trong kho Knowledge của tôi bị sai, hãy sửa thành thứ Hai tuần tới.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm đúng bản ghi đã lưu, kiểm tra phiên bản hiện tại, và áp dụng chỉnh sửa trong khi giữ nguồn gốc. Sau đó skill xem xét mọi thứ phụ thuộc vào bản ghi đó để không còn gì bị mâu thuẫn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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_correct with the exact ID, observed expectedRevision and expectedHash, reason, observed vault UUID and ontology fingerprint, and a complete replacement of the same kind. 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_supersede with the existing claim as by and the earlier claims' fences in superseded instead 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 and undo: true.
  • Withdrawal without a replacement: call knowledge_withdraw with 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_merge with 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; pass title to rename it and body when 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 with knowledge_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

Câu hỏi thường gặp

Skill có xóa bản ghi cũ không?

Không. Skill sửa hoặc rút lại bản ghi nhưng giữ lại lịch sử, không xóa hẳn.

Skill có tự sửa các mâu thuẫn không?

Không. Chỉ riêng mâu thuẫn không kích hoạt thay đổi, và skill chỉ hành động theo yêu cầu sửa của bạn.

Điều gì xảy ra nếu bản ghi đã thay đổi kể từ lần cuối tôi xem?

Skill đọc lại bản ghi và đối chiếu yêu cầu của bạn trước khi hành động, thay vì sửa một thứ đã thay đổi.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
394k
Vị trí xếp hạng
#28
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự