Skill Distill: turn a good Claude Code session into a skill an open model can follow
Skill Distill is an agent skill by sybil-solutions for people who want a cheaper or local model to repeat a job a frontier model already did well. Your agent writes the instructions, runs the open model on them in fresh copies of the project, and revises until the results match.
git clone https://github.com/sybil-solutions/skill-distill && ln -s "$PWD/skill-distill/skills/skill-distill" ~/.claude/skills/skill-distillAt the end of a session that went well, type "distill this session into a skill for omp with deepseek-v4.1-flash on my local server" and your agent becomes the teacher. It writes instructions for the cheaper model, runs that model on the same task from a clean start, and rewrites the instructions until the output matches yours. GitHub organization sybil-solutions publishes it under the MIT license. Anthropic doesn't publish it. For how skills load, see what Claude skills are.
Teacher, student, three trials
The student gets the reference's prompt verbatim, a clean starting state, and the skill, nothing more. Its own global context files and skills are switched off where the harness allows it. The skill may not contain your finished output or a script that writes it, so the open model has to do the work, not copy it.
A one-minute smoke test comes first, so a dead server isn't blamed on the skill, as the teacher's SKILL.md sets it out. Then the teacher writes acceptance checks, and those checks must pass on your own run before any trial is judged. Each version of the student skill runs three times in tmux. The teacher finds where each trial first went wrong, scores it as match, close, miss or broken, and fixes that point; a change that scores worse gets reverted.
The loop stops when all three trials of one version match. It also stops after eight versions, or after three in a row with no better score, and then reports what the open model still can't do.
What you get back
- A student skill tied to one task, one model and one harness, kept under about 250 lines, with a "Tested with" line at the end.
- report.html, your run and the student's trials side by side, with the ledger of every version.
- A summary of the pass rate per version, what changed and why, and the gaps left.
Nothing counts as done until you read the report and accept it yourself.
How to install it
The README's install step clones the repo and links the skill folder:
git clone https://github.com/sybil-solutions/skill-distill
ln -s "$PWD/skill-distill/skills/skill-distill" ~/.claude/skills/skill-distill # Claude Code
ln -s "$PWD/skill-distill/skills/skill-distill" ~/.agents/skills/skill-distill # Codex
You need tmux, git, Python 3.10 or later, and the student harness already set up with its model. For web apps, add Playwright and Pillow so the teacher can screenshot each trial.
Example request
Distill this session into a skill for [student harness, e.g. omp or Codex CLI] with [model name] on [where it runs, e.g. my local server at http://localhost:8000]. Starting state: [git commit hash, or "empty"]. Extra setup the task needs outside the repo: [services, data, or "none"]. Show me report.html before you install anything.
Watch the students work with tmux attach -t distill-<task>.
Limits
- Few tested students. Only omp is marked as a tested student; Claude Code as a student needs an Anthropic-compatible server for open models, and the pi and opencode adapters are untested.
- Private logs. Raw sessions stay in
runs/, git-ignored, because they hold your paths and context. Check the finished skill for secrets and hostnames before you share it. - Young project. On November 23, 2026, its history held two commits.
When to use it
Use it for a job you run every week, like a report or a migration pattern, that a frontier model already got right once and that you'd rather hand to a model on your own GPU. To write a skill from scratch with no reference session, use Skill Creator. To make that local model run faster, see Inference Optimisation, also by sybil-solutions.
Sources
- sybil-solutions/skill-distill README on GitHub, accessed November 2026
- skill-distill SKILL.md on GitHub, accessed November 2026