Knowledge Distillation
Overview
This skill is an OpenClaw internal knowledge distiller.
Its job is not to summarize everything. Its job is to scan agent-native working materials, identify what is newly learned, and separate that from what should be investigated, connected, or strengthened next.
Input Scope
Use this skill when the source materials come from the OpenClaw environment, especially:
- - INLINECODE0
- INLINECODE1
- session transcripts or conversation logs
- newly generated report files
- daily review notes
- task summaries and execution reports
Treat these as raw internal learning material.
Core Objective
From the input set, produce two things:
- 1. New Knowledge Points
- information that now appears stable enough to retain
- repeatable patterns, conclusions, heuristics, rules, or insights
- decisions or lessons that deserve long-term reuse
- 2. Knowledge Leads Worth Deepening
- incomplete but promising patterns
- recurring signals without enough confidence yet
- tensions, contradictions, anomalies, or open questions
- topics worth another round of observation, validation, or focused research
Workflow
1. Classify the source material
Identify what each input contributes:
- - long-term memory
- recent memory
- session/process evidence
- generated report or analysis artifact
Do not treat all sources equally. Give more weight to repeated evidence across multiple sources.
2. Extract candidate signals
Look for:
- - repeated observations
- recurring user preferences
- stable work rules
- decision patterns
- successful or failed workflows
- bottlenecks that appear more than once
- newly surfaced concepts or frameworks
Prefer signal over chronology.
3. Distinguish stable knowledge from emerging leads
Promote something to New Knowledge Points only when at least one of these is true:
- - it appears repeatedly across days or sessions
- it has already affected real decisions or behavior
- it has clear reuse value
- it is specific enough to guide future action
Keep something in Knowledge Leads Worth Deepening when:
- - evidence is partial
- it shows potential but not enough stability
- it conflicts with older observations
- it needs targeted follow-up material
4. Merge duplicates and raise abstraction
Do not list near-duplicate observations separately.
Merge them upward into:
- - a principle
- a rule of thumb
- a workflow lesson
- a reusable framework
- a watchpoint for future review
5. Add explicit basis
Each knowledge point should include a short basis such as:
- - what kind of source supported it
- whether it appeared once or repeatedly
- whether it is high-confidence or tentative
Do not fabricate precision. Keep basis brief and honest.
6. End with next-step deepening suggestions
For each deepen-able knowledge point, explain how to deepen it, for example:
- - keep observing for 3-7 more days
- compare against older sessions
- collect one more concrete case
- convert into an explicit workflow rule
- ask a targeted question next time
- create a dedicated report around the topic
Output Requirements
The output must be a dated Markdown file.
Filename format:
If multiple runs happen on the same day, use one of:
Required Output Structure
Use this structure unless the user explicitly asks for another one:
CODEBLOCK0
For reusable variants, read references/output-templates.md.
Quality Rules
- - Do not write a generic summary of the inputs.
- Do not merely restate chronology.
- Do not promote weak hints into firm knowledge.
- Do not bury the “new knowledge” section under background detail.
- Prefer fewer stronger points over many shallow points.
- If nothing truly qualifies as new knowledge, say so honestly.
Good Trigger Examples
Use this skill for requests like:
- - “把最近的 memory 和 session 蒸馏一下”
- “从最近日报和会话里提炼新的知识点”
- “看这些报告文件,找出值得沉淀和继续深化的点”
- “把 OpenClaw 这几天的运行材料蒸馏成知识”
- “输出一个今天的知识蒸馏 md 文件”
Resources
references/
- -
references/output-templates.md: dated Markdown output variants for standard runs, report-heavy runs, and follow-up runs
知识蒸馏
概述
本技能是一个 OpenClaw 内部知识蒸馏器。
其职责并非总结一切,而是扫描智能体原生工作材料,识别新学到的内容,并将其与下一步需要调查、关联或强化的内容区分开来。
输入范围
当源材料来自 OpenClaw 环境时使用本技能,特别是:
- - MEMORY.md
- memory/*.md
- 会话记录或对话日志
- 新生成的报告文件
- 每日复盘笔记
- 任务总结与执行报告
将这些材料视为原始内部学习材料。
核心目标
从输入集中产出两项内容:
- 1. 新知识点
- 当前已足够稳定、值得保留的信息
- 可复现的模式、结论、启发式规则或洞见
- 值得长期复用的决策或经验教训
- 2. 值得深化的知识线索
- 不完整但有潜力的模式
- 反复出现但置信度不足的信号
- 矛盾、异常或悬而未决的问题
- 值得再观察、验证或聚焦研究的主题
工作流程
1. 对源材料进行分类
识别每项输入的贡献类型:
- - 长期记忆
- 近期记忆
- 会话/过程证据
- 生成的报告或分析产物
不要对所有来源一视同仁。对跨多个来源的重复证据给予更高权重。
2. 提取候选信号
寻找以下内容:
- - 重复出现的观察
- 反复出现的用户偏好
- 稳定的工作规则
- 决策模式
- 成功或失败的工作流程
- 多次出现的瓶颈
- 新浮现的概念或框架
优先关注信号而非时间顺序。
3. 区分稳定知识与新兴线索
仅当满足以下至少一项条件时,将内容提升为 新知识点:
- - 在数天或多次会话中反复出现
- 已影响实际决策或行为
- 具有明确的复用价值
- 足够具体,可指导未来行动
当以下情况时,将内容保留为 值得深化的知识线索:
- - 证据不完整
- 显示出潜力但稳定性不足
- 与旧有观察相矛盾
- 需要针对性的后续材料
4. 合并重复项并提升抽象层级
不要单独列出近似重复的观察。
将其向上合并为:
- - 一条原则
- 一条经验法则
- 一个工作流程教训
- 一个可复用的框架
- 一个未来复盘时的关注点
5. 添加明确依据
每个知识点应包含简短依据,例如:
- - 由何种来源支持
- 出现一次还是多次
- 是高置信度还是试探性
不要虚构精确性。依据应简短且诚实。
6. 以下一步深化建议结尾
对于每个可深化的知识点,说明如何深化,例如:
- - 再持续观察 3-7 天
- 与旧会话进行对比
- 收集一个更具体的案例
- 转化为明确的工作流程规则
- 下次提出一个针对性问题
- 围绕该主题创建一份专门报告
输出要求
输出必须是一个 带日期的 Markdown 文件。
文件名格式:
- - knowledge-distillation-YYYY-MM-DD.md
如果同一天运行多次,使用以下格式之一:
- - knowledge-distillation-YYYY-MM-DD-01.md
- knowledge-distillation-YYYY-MM-DD-02.md
必需输出结构
除非用户明确要求其他结构,否则使用以下结构:
markdown
知识蒸馏 - YYYY-MM-DD
输入摘要
新知识点
1. 标题
2. 标题
值得深化的知识线索
1. 标题
- - 当前观察:
- 为何值得深化:
- 当前缺口:
- 下一步建议:
2. 标题
- - 当前观察:
- 为何值得深化:
- 当前缺口:
- 下一步建议:
本轮蒸馏结论
- - 最值得保留的(1-3 点):
- 最值得追踪的(1-3 条线索):
对于可复用的变体,请阅读 references/output-templates.md。
质量标准
- - 不要对输入内容进行泛泛总结。
- 不要仅仅复述时间顺序。
- 不要将微弱线索提升为确定知识。
- 不要在背景细节中埋没“新知识”部分。
- 宁要少数强点,不要大量浅点。
- 如果确实没有真正的新知识,请如实说明。
良好触发示例
在以下请求场景中使用本技能:
- - “把最近的 memory 和 session 蒸馏一下”
- “从最近日报和会话里提炼新的知识点”
- “看这些报告文件,找出值得沉淀和继续深化的点”
- “把 OpenClaw 这几天的运行材料蒸馏成知识”
- “输出一个今天的知识蒸馏 md 文件”
资源
references/
- - references/output-templates.md:标准运行、报告密集型运行和后续运行的带日期 Markdown 输出变体