skill-distill
A skill for Claude Code or Codex that distills a good session into a skill an open-weight model can follow to reproduce the task.
At a Glance
skill-distill core skill and scripts released under the MIT License, free to use, copy, modify and distribute.
Engagement
Available On
Alternatives
Listed Nov 2026
About skill-distill
skill-distill is an MIT-licensed skill from the sybil-solutions organization for Claude Code or Codex, which act as the teacher. Called at the end of a successful session, it writes and iteratively refines a skill so that a named student (an agent harness plus an open-weight model) can reproduce the same task.
What It Is
skill-distill is an operator skill that turns a frontier-model session into a reusable skill for a cheaper or open-weight model. You name a student, such as the omp harness with DeepSeek-V4.1-Flash, and the teacher handles the distillation loop. The outputs are the reusable operator skill in the repository and a produced skill for one task, one model and one harness.
How the Distillation Loop Works
The teacher reads the session and writes a skill for the student, then starts the student in tmux on a fresh copy of the starting state with the original prompt and the skill. It compares the student's output with the reference, finds the first point where the student went wrong, and fixes the skill there. It runs three trials per version until the student matches the reference. The user makes the final call by reviewing the reference and the student's best results side by side, and the skill counts as done only when accepted.
Rules and Tooling
The student receives the reference prompt verbatim, a clean starting state and the skill, with the harness's own global context files and skills disabled where possible. The skill may not contain the reference's finished output or a script that writes it. Checks are tested on the reference first. Bundled Python scripts handle run bookkeeping, session log extraction from Claude Code, Codex or omp, and web capture with headless Chromium. Adapters exist for omp, pi, Codex, Claude Code and opencode; the README lists omp as tested, pi and opencode as written but untested, and Codex as tested as the teacher.
Setup Path
Clone the repository and symlink the skill folder into the Claude Code or Codex skills directory. Requirements are tmux, git, Python 3.10+ and the student harness installed and pointed at its model; web results additionally need playwright and pillow.
Community Discussions
Be the first to start a conversation about skill-distill
Share your experience with skill-distill, ask questions, or help others learn from your insights.
Pricing
Open Source (MIT)
skill-distill core skill and scripts released under the MIT License, free to use, copy, modify and distribute.
- MIT License
- Operator skill for Claude Code or Codex as teacher
- Adapters for omp, pi, Codex, Claude Code, opencode
- Requires tmux, git, Python 3.10+ and a student harness (external costs not sold by the tool)
Capabilities
Key Features
- Distills a good Claude Code or Codex session into a skill for a student model
- Runs student agents in tmux on a fresh copy of the starting state
- Compares student output against the reference and fixes the skill at the first failure
- Three trials per skill version
- Human acceptance step with side-by-side results
- Session log extraction for Claude Code, Codex and omp
- Headless Chromium web capture of screenshots and errors
- Adapters for omp, pi, Codex, Claude Code and opencode
- Run bookkeeping commands: init, trial, status, wait, evidence, verdict, ledger, report, accept
