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

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

可直接粘贴的消息

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

可以这样问 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.

  1. Save a discrete claim (decision, preference, commitment, fact, event or belief) with knowledge_remember and 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.
  2. 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.
  3. Search for an already-captured item and relevant entities using knowledge_grep; reserve knowledge_lookup for already-known exact record IDs, full titles or declared aliases, with grep fallback on missing. 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; use knowledge-correct for 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 returns state: "rejected", nothing was saved: move a section that has its own subject to its own page with knowledge_extract_section, then retry, and save the fact with knowledge_remember meanwhile. Never truncate to fit. Moved claims keep the source page as a subject; remove it with knowledge_annotate entities only 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.
  4. 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 with knowledge_attach instead of treating a paraphrase as the original. User beliefs stay attributed to the user.
  5. 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.
  6. If the owner explicitly asks for this context to be recalled automatically and knowledge_recall is 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能