knowledge-capture
它能做什么
它指导 AI 智能体把重要且长期有效的信息保存到 Knowledge vault 中,例如决定、承诺和偏好。它适合希望助手记住重要事项的人。
适用场景
- ✓你让智能体记住某个决定、偏好或承诺的时候。
- ✓智能体注意到某个值得留待以后对话使用的长期事实的时候。
- ✓想在 Knowledge vault 中添加简短笔记或更新页面的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-capture/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请记住,我们已决定把团队会议改到周四。”
每周 5 个新技能,1 分钟读完。
工作原理
技能将每项论断保存为单独条目,并附上简短的来源标注和支持性摘录。它会跳过临时状态、机密信息和猜测内容,然后读回已保存的条目进行确认。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Capture durable knowledge
Read shared conventions and publication.
When Knowledge is the selected memory provider, its ordinary-turn remembering
policy also authorizes selective capture of meaningful durable information. This
is agent judgment, not a background extraction hook. Otherwise require save intent.
Do not save transient task status, secrets, unsupported guesses, or excluded content.
Apply preferences as contextual facts, not executable instructions or new authority.
Saving a preference does not configure the assistant or guarantee that the
preference will be loaded in future turns.
Pre-compaction flushes follow steps 0–4 with their available tools; they do not
use knowledge_attach or knowledge_recall.
- Save a discrete claim (decision, preference, commitment, fact, event or
belief) with
knowledge_rememberand stop: give one claim per item, short attribution, the supporting conversation excerpt and, only when you know it, the subject's exact page title or alias. An omitted subject is inferred when the text names exactly one entity page. It resolves subjects, reports exact repeats and never creates pages. Its published receipt is the save. Continue below only to revise a page's prose or save a longer note. - Preserve the supplied wording, especially original ideas. Use the active ontology's type descriptions to classify the information. Decide whether to update an existing page before creating a new one. Do not add unsupported facts or turn a tentative thought into established fact.
- Search for an already-captured item and relevant entities using
knowledge_grep; reserveknowledge_lookupfor already-known exact record IDs, full titles or declared aliases, with grep fallback onmissing. If the same source/text is already saved, report that page rather than create another. A similar thought is not proof of identity: keep genuinely distinct versions with attribution. Read the existing record before changes; useknowledge-correctfor corrections or withdrawal. Enrich the relevant section of the subject's existing page. Create a separate record when the information warrants independent context, chronology, or explanation; link that record to the resolved subject page using a body wikilink. Preserve source attribution, existing evidence, decision rationale, event dates, and uncertainty. Maintain the page as a coherent account of its subject. Integrate new information into the relevant section; do not append a dated heading for each capture. Page bodies have a size budget (page budgets). If an edit returnsstate: "rejected", nothing was saved: move a section that has its own subject to its own page withknowledge_extract_section, then retry, and save the fact withknowledge_remembermeanwhile. Never truncate to fit. Moved claims keep the source page as a subject; remove it withknowledge_annotateentitiesonly when the claim is no longer about it. Preserve supporting evidence and meaningful changes over time without retaining every conversational editing step in the summary. Do not invent a subject match or create an empty profile merely to supply a link. An ordinary new fact does not authorize automatic identity merging. - For a short inline thought, save the exact text via
source: {text, attribution}and cite it in the body. Identify the speaker/context/date when known. Retain only actual available text: identify conversation excerpts as excerpts, not complete transcripts; never invent messages, hashes, or locators. Attach a supplied original file withknowledge_attachinstead of treating a paraphrase as the original. User beliefs stay attributed to the user. - Publish using the shared retry rules, read back the body/evidence and check exact lookup or keyword discovery. Report the returned page and verified save state. Do not schedule reminders or execute commitments mentioned in the note. Verify that the intended subject page was updated or that the separate record's subject link resolves correctly, as well as checking its supporting evidence.
- If the owner explicitly asks for this context to be recalled automatically
and
knowledge_recallis available, inspect the published record's current revision/hash and approve a short summary with only the re
常见问题
它会保存密码或机密信息吗?
不会。机密信息和临时任务状态都不在保存范围内。
保存偏好会改变助手的行为吗?
本身不会。保存偏好并不会配置助手,也不保证在以后的对话中会加载它。
它会保存我说的每句话吗?
不会。它只保存有意义且长期有效的信息,即你要求它记住时,或它判断值得保留时。
详情
作者的原始描述
Save durable preferences, decisions, project facts, commitments, and lessons cheaply with knowledge_remember, or short notes and page updates with attribution and readback. Use for explicit saves or agent-driven remembering when Knowledge is the selected memory provider.
repo: openclaw/openclaw
热度
- GitHub 星标
- 394k
- 排名
- #26
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。