knowledge-correct
Что он делает
Он ведет ИИ-агента через исправление или отзыв отдельных фактов, связей или страниц в хранилище Knowledge, когда вы говорите, что они неверны. Он нужен тем, кто хочет исправлять ошибки в сохраненных знаниях.
Когда использовать
- ✓Когда вы говорите агенту, что сохраненный факт в хранилище Knowledge неверен.
- ✓Когда хотите отозвать конкретное утверждение или ссылку из хранилища.
- ✓Когда страница в хранилище содержит утверждение, которое изменилось и требует замены.
Ссылка на скилл
https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-correct/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Утверждение о дате запуска в моем хранилище Knowledge неверно, поэтому исправьте его на следующий понедельник.”
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
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
discord-user-post
394kПозволяет агенту отправить одобренное вами сообщение в Discord от вашего имени через настольное приложение, после проверки точного канала.
discrawl
394kПозволяет агенту искать и кратко пересказывать сохраненный локальный архив сообщений Discord, проверять его свежесть и читать личные сообщения.
gitcrawl
394kПозволяет агенту искать в сохраненном архиве задач и запросов на слияние GitHub, объединять дубликаты и проверять их текущий статус на GitHub.
graincrawl
394kПозволяет агенту искать в сохраненных заметках и расшифровках встреч Granola, проверять их свежесть и считать за период.
Похожие скиллы
brainstorming
311kПомогает агенту понять, чего вы на самом деле хотите, прежде чем что-то создавать, задавая точечные вопросы и излагая понятные варианты.
to-spec
310kЗаписывает то, что вы уже обсудили, в виде структурированной спецификации и публикует ее в вашем трекере задач, без долгого списка вопросов заранее.
to-tickets
310kРазбивает план на небольшие отдельные задачи и отмечает, какие задачи нужно завершить раньше, чем смогут начаться другие.