Knowledge Distill for Openclaw

A sophisticated documentation agent that extracts, refines, and categorizes discussion outcomes into a structured Markdown knowledge base.

mwangxiang
v1.0.0
Feb 25, 2026
3
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install knowledge-distill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install knowledge-distill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Knowledge Distill?

Knowledge Distill is an essential utility designed to solve the problem of information decay in chat-based development environments. It acts as a bridge between transient discussions and permanent documentation by identifying high-value insights and archiving them into a categorized Markdown system. Whether you are using it to remember complex CLI parameters or to save a breakthrough in architectural thinking, this skill ensures that every valuable conclusion is preserved.

By integrating this tool into your workflow, Openclaw Skills becomes more than just an assistant; it becomes a structured repository of your professional growth. It intelligently filters out trial-and-error noise, leaving only the verified technical truths and methodologies that matter for your long-term projects.

Knowledge Distill Use Cases

  • Saving complex CLI commands and parameter explanations during a debugging session.
  • Archiving technical best practices and architectural decisions after a research phase.
  • Documenting cognitive models and decision-making frameworks derived from deep-work discussions.
  • Maintaining a chronological learning log that captures the evolution of a project's logic.
  • Segregating professional technical data from personal interests and hobby-related notes.

How Knowledge Distill Works

  1. The skill monitors for specific triggers like "distill," "record," or "save command" to initiate the process.
  2. It analyzes the conversation context to determine which of the five specialized knowledge categories the information belongs to.
  3. The agent refines the content, extracting only the final, correct conclusions while discarding the experimental noise of the conversation.
  4. A structured preview of the proposed changes and target file location is displayed for the user to review.
  5. Upon user confirmation, the skill writes the data to the local Markdown files and updates a research log for historical context.

Knowledge Distill Setup

To get started with this component of Openclaw Skills, ensure your environment has the necessary directory permissions. The skill defaults to ~/knowledge-base/ but can be customized.

# Optional: Set a custom path for your knowledge base
export KNOWLEDGE_BASE_PATH="/path/to/your/docs"

# The skill will automatically generate the following structure on first use:
# - command-memory.md
# - professional-distill.md
# - interest-distill.md
# - research-log.md
# - thinking-distill.md

Knowledge Distill Data Schema & Taxonomy

The skill maintains a highly structured organizational schema to ensure compatibility with most Markdown editors and PKM tools:

Document Name Focus Area Entry Format
Command Memory CLI tools and Openclaw Skills usage Usage, Bash blocks, Params, Notes
Professional Knowledge Technical and industry-specific data Specs, Best practices, Steps
Interest Knowledge Non-work learning and hobbies Descriptive summaries and facts
Research Logs Discussion history and context Background, Evolution, Timestamps
Thinking Distillation Methodologies and frameworks Cognitive models, Decision logic

Each entry is timestamped and wrapped in clean Markdown headers for easy grep-based search or GUI navigation.

Knowledge Distill Advanced Features

  • Smart Noise Reduction: Automatically filters out conversational filler and incorrect intermediate steps.
  • Multi-category Routing: Can distinguish between a 'how-to' technical step and a 'methodological' framework change.
  • Human-in-the-loop Validation: Requires explicit confirmation before any filesystem write operation to prevent data corruption.
  • Synchronous Logging: Updates specialized distilled documents while maintaining a raw chronological log of the evolution of thought.
  • Environment Variable Integration: Fully configurable storage paths to integrate with existing Obsidian, Logseq, or Git-based workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*