sybil-solutions/skill-distill
A CLI skill that turns successful coding sessions into tested playbooks for open models
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
skill-distill is a host-installed operator skill, not an inference engine. Claude Code or Codex acts as the teacher and follows skills/skill-distill/SKILL.md: it reads a successful session, writes a task-specific student skill, then launches the selected harness in tmux against a fresh copy of the original starting state. The student's model is configured through that harness. No MCP server entrypoint or transport is shown.
The Python scripts separate orchestration from evidence collection. scripts/distill.py manages setup, trial execution and monitoring, evidence, verdicts, reporting, and acceptance. scripts/extract_session.py converts logs into a readable reference while removing system and AGENTS.md text. Harness-specific integration lives in adapters/, and templates/student-skill/ supplies the initial structure for the generated skill. The reusable operator skill and the task-specific output are distinct artifacts.
Key Capabilities & Differentiators
The workflow tests whether a particular harness and model can reproduce a reference result without receiving the finished artifact or a script that generates it. The student sees the verbatim original prompt, a clean starting state, and the skill; harness-level global context and skills are disabled where supported. Checks must pass against the reference first. Each revision gets three trials, after which the teacher can revise the instructions at the first observed divergence. Completion requires a human to accept the side-by-side comparison.
Session extraction supports Claude Code, Codex, and omp. For web tasks, capture_web.py serves the application and drives headless Chromium to record screenshots and errors. omp is the tested student integration, with DeepSeek-V4.1-Flash shown as an example pairing. Codex is tested as a teacher; as a student it needs a provider in STUDENT_ARGS. Claude Code can point open-model requests at an Anthropic-compatible endpoint via ANTHROPIC_BASE_URL. The pi and opencode adapters are untested, and opencode JSON logs have no parser in the session extractor.
Trade-offs & Limitations
Compared with hand-writing a skill and spot-checking it once, this workflow makes failures easier to inspect: it resets the starting state, checks against a reference, and records evidence over repeated trials. The cost is three student runs per revision plus teacher iteration and human review. It pays off most when the task has a restorable baseline and an outcome you can meaningfully compare. Three trials reduce the chance of accepting a lucky run, but they do not establish general reliability.
Unlike fine-tuning, this changes instructions rather than weights. Unlike a broad evaluation suite, it targets one task, model, and harness; a change in any of the three warrants retesting. Harnesses differ in adapter maturity and in whether they can suppress ambient context, so cross-harness results are not automatically comparable. The repository's MIT license is permissive, but it does not determine the terms of model weights, harnesses, or hosted providers.
Hardware & Deployment Guide
Clone the repository and symlink skills/skill-distill into ~/.claude/skills/skill-distill for Claude Code or ~/.agents/skills/skill-distill for Codex. The workflow requires Git, tmux, Python 3.10+, and an installed student harness already configured for its model. Web evidence is optional and adds playwright, pillow, and the Chromium installation from playwright install chromium.
The student can target a local model server or a compatible remote provider through its harness. Local orchestration does not make the entire workflow offline: both teacher and student routing matter. Inference capacity depends on the chosen model and concurrency; browser capture adds a separate local resource load. Raw logs stay in the Git-ignored runs/ directory, which avoids routine source-control check-in but is not a data-isolation mechanism. No published release is listed, so there is no release history here on which to base upgrade or compatibility expectations.
Teams with a successful Claude Code or Codex session, a restorable starting state, and a specific student harness and model they want to validate against a reference.
You need an MCP endpoint, model-weight distillation, or broad regression coverage across unrelated tasks—or cannot justify three trials per revision and human sign-off.
Quick Start & Installation
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
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| skill-distill ★ | 1.1k | +344 | Python | MIT | A CLI skill that turns successful coding sessions into tested playbooks for open |
| skills | 203k | +3k | Python | — | A Claude Agent Skills catalog for packaging and reusing task workflows |
| graphify | 155.7k | +2.6k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
| last30days-skill | 78.6k | +4.1k | Python | MIT | An agent skill with a CLI and MCP bundle for cited, cross-source 30-day research |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/sybil-solutions/skill-distill.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about skill-distill
How does this integrate with an agent host? Do I need an MCP client?
What hardware and runtime budget should I plan for?
Can we use it commercially and keep the model on our own infrastructure?
When is this preferable to writing a skill by hand or using an evaluation pipeline?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy