distill-skill-to-model
Installation
SKILL.md
Distill Skill to Model
Use the complete pipeline and evidence in references/pipeline-plan.md.
Inputs
The source skill directory, production runtime, teacher model, target small model, deployment objective, and available training environment.
Method
- Resolve and hash the complete skill package and one versioned runtime manifest.
- Extract the skill's measurable decisions, actions, outputs, and completion evidence.
- Seal trigger, behavior, and retention evaluations before generating training data.
- Run the baseline and causal-control matrix from the reference plan.
- Generate teacher executions with the complete skill in the real runtime; retain only verified trajectories.
- Remove the teacher-only skill payload and serialize one causal, completion-only training record per assistant decision.
- QLoRA-train one independent adapter for the skill and select checkpoints by behavioral evaluation.
- Run the paired release contrasts and report quality, reliability, latency, tokens, memory, and retention separately.