Turn completed AI-assisted work conversations into durable, reusable learning material instead of disposable chat summaries.
This repository ships an Agent Skill named distill-conversation for conversations where a user and an AI actually did work together: debugging, research planning, coding, analysis, writing, configuration, project decisions, experiments, and other multi-step tasks.
The skill can produce:
- learning notes that explain the underlying concept;
- playbooks and SOPs that can be reused next time;
- symptom → test → cause → fix diagnostic guides;
- decision records that preserve alternatives and trade-offs;
- reusable command/config/prompt recipes;
- concise retrospectives focused on transferable lessons.
It deliberately does more than summarization. The output should answer not only “what happened?” but also “what can someone learn from this, when does it apply again, what failed, and why?”
conversation-to-knowledge-skill/
├── README.md
├── README.zh-CN.md
├── LICENSE
├── CONTRIBUTING.md
├── docs/
├── evals/
├── examples/
├── tests/
└── skills/
└── distill-conversation/
├── SKILL.md
├── agents/openai.yaml
├── scripts/
├── references/
└── assets/templates/
The installable skill lives under skills/distill-conversation/. Repository documentation and examples stay outside the skill directory so the runtime package remains compact.
git clone https://github.com/Zhao0335/conversation-to-knowledge-skill.git
mkdir -p ~/.codex/skills
cp -R conversation-to-knowledge-skill/skills/distill-conversation ~/.codex/skills/For compatible skill installers, point directly at:
skills/distill-conversation
Use $distill-conversation to turn this debugging chat into a reusable diagnostic guide and SOP.
Distill this project conversation into learning notes, decisions, failed approaches, and reusable commands. Do not just summarize it.
Convert this completed ChatGPT work conversation into a small Markdown knowledge bundle that I can put into Obsidian.
The workflow separates four layers:
- evidence and observable outcomes from the source conversation;
- reusable knowledge versus one-off session details;
- the right artifact shape for each durable lesson;
- a final quality pass focused on fidelity, transfer, actionability, and portability.
See docs/design.md for the design rationale and examples/ for a worked debugging example.
The helper scripts use only the Python standard library.
python -m compileall -q skills/distill-conversation/scripts
python skills/distill-conversation/scripts/validate_bundle.py examples/expected-debugging-bundleMIT. See LICENSE.