Knowledge Distill

知识蒸馏归档工具,将讨论成果按5类分类写入对应知识文档。支持小龙虾命令记忆库、专业工作知识、工作外知识、讨论过程、思维蒸馏五类归档。

MIT-0 · Free to use, modify, and redistribute. No attribution required.
3 · 446 · 9 current installs · 10 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The name/description say the skill classifies discussion outcomes and writes them into five kinds of knowledge documents. The instructions exclusively describe creating/maintaining ~/knowledge-base and writing categorized markdown entries — this matches the declared purpose.
!
Instruction Scope
The runtime instructions instruct the agent to check/create ~/knowledge-base and five documents, prepare previews, and only write after user confirmation. However, the SKILL.md also refers to an environment variable KNOWLEDGE_BASE_PATH for custom paths even though no env vars are declared; per evaluation rules this access is a mismatch. The triggers (e.g., '总结一下') are somewhat broad and could activate the skill to prepare previews during normal conversation, though the skill requires confirmation before writing.
Install Mechanism
This is an instruction-only skill with no install spec and no code files — minimal installation risk and nothing is written to disk by an installer. The only disk writes come from the agent's normal runtime behavior (creating the ~/knowledge-base and files).
!
Credentials
Declared requirements list no environment variables, but SKILL.md documents optional use of KNOWLEDGE_BASE_PATH to override the path. That is an undeclared env-var access and should be declared in metadata. No credentials or unrelated env vars are requested, which is appropriate.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide settings, and does not require elevated privileges. It will create and write files in a user-owned directory only after user confirmation.
Scan Findings in Context
[no_code_files_to_scan] expected: The regex-based scanner had nothing to analyze because this is an instruction-only skill (only SKILL.md present). This is expected, but also means the SKILL.md is the primary security surface to review.
What to consider before installing
This skill appears to do what it says: it will create a ~/knowledge-base/ directory (or use KNOWLEDGE_BASE_PATH if set) and write categorized markdown notes, but SKILL.md references an environment variable (KNOWLEDGE_BASE_PATH) that is not declared in the skill metadata. Before installing, consider: 1) confirm whether you want the agent to be allowed to create/write files under your home directory and whether to change the default path; 2) ask the publisher to declare KNOWLEDGE_BASE_PATH in the metadata so the env-var use is explicit; 3) test the skill with harmless dummy text to verify it only writes after the promised confirmation; and 4) if you have sensitive data in conversations, be aware those summaries will be stored locally — verify your backup/encoding policies. If you are uncomfortable with automatic creation of files or the broad trigger phrases, do not install or request the author to narrow triggers and explicitly declare the env var usage.

Like a lobster shell, security has layers — review code before you run it.

Current versionv1.0.0
Download zip
latestvk976e6f5nyx2fe3aba09ymbgbx81t1et

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

SKILL.md

知识蒸馏 Skill(knowledge-distill)

将讨论成果分类写入对应的知识文档,支持便捷记录命令、知识结论、思维框架。

初始化

首次使用时,检查 ~/knowledge-base/ 是否存在:

  • 不存在则自动创建目录和5个空文档
  • 用户可通过设置 KNOWLEDGE_BASE_PATH 环境变量自定义路径
~/knowledge-base/
├── 小龙虾命令记忆库.md     ← OpenClaw/CLI 命令速查
├── 专业知识蒸馏.md         ← 专业领域技术结论
├── 兴趣知识蒸馏.md         ← 工作以外的学习内容
├── 学习研究日志.md         ← 每次讨论的过程记录
└── 思维蒸馏.md             ← 方法论、认知模型、思考框架

触发词

用户说以下任一内容时启动本 skill:

  • "蒸馏" / "记录到文档" / "写入蒸馏" / "存起来"
  • "记一下这个命令" / "存到命令库" / "记到命令记忆库"
  • 讨论结束时说"总结一下"

五类文档分工

目标文档写入条件内容类型
小龙虾命令记忆库.md用户说"记一下命令"、涉及 CLI/工具命令命令格式、参数说明、使用场景、踩坑记录
专业知识蒸馏.md专业领域的技术结论技术参数、操作步骤、规格数据、最佳实践
兴趣知识蒸馏.md工作以外的兴趣领域知识与专业知识同等格式,仅领域不同
学习研究日志.md每次讨论的过程记录问题背景、讨论过程、结论、演变脉络
思维蒸馏.md非具体内容的思维结晶思考方式、方法论、认知模型、决策框架

执行流程

  1. 判断分类:根据内容和触发词判断写入哪个文档
  2. 整理内容:提炼核心结论,去掉试错过程
  3. 展示预览:在对话框展示整理好的内容和计划写入位置
  4. 等待确认:用户确认后才执行写入
  5. 写入日志:同步在学习研究日志记录本次讨论过程

小龙虾命令记忆库写入格式

## [命令名称]
**用途**:一句话说明这个命令做什么
**命令**:
\`\`\`bash
命令格式
\`\`\`
**参数说明**:关键参数解释(可选)
**注意**:踩坑或注意事项(可选)
**日期**:记录时间

约束

  • 未经用户确认不可写入任何文档
  • 蒸馏只保留最终正确结论,不保留试错过程
  • 日志保留讨论脉络和演变过程
  • 修改前必须先展示增删内容
  • 内容简洁,每条结论独立成块,便于检索

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…