skill-distill, an MIT-licensed open-source project from sybil-solutions, turns a successful Claude Code or Codex session into a reusable skill that cheaper open-weight models can follow to repeat the same task. As detailed in a December 3, 2026 breakdown by explainx.ai and its GitHub repository, the tool has already gathered roughly 1,100 stars and 109 forks.
How the teacher-student loop works
Rather than fine-tuning model weights, skill-distill uses the frontier coding agent as a teacher that writes and tests step-by-step instructions:
- No leaked answers: The teacher reads the reference session and writes a skill covering steps, decisions, traps, and checks without embedding the final output.
- Clean-state trials in tmux: The student model (such as DeepSeek-V4.1-Flash running via
omp,pi,opencode, Codex, or Claude Code) runs on a fresh copy of the starting state with the verbatim prompt. - Three trials per version: The teacher spots the first deviation, patches the skill, and runs three trials per iteration until the user accepts the side-by-side result.
Scope and practical limits
Each generated skill is tuned for a single task, model, and harness combination, making the workflow best suited for recurring jobs with verifiable outputs such as formatted reports, refactors, or headless Chromium checks.
By Spark