← ClaudeAtlas

distill-flowlisted

Gradient-descent-style distillation for any content. Runs a distill→score→refine loop that compresses a source — documents, transcripts, code, logs, prompts, other skills, or a PERSON/AGENT's knowledge + personality + "soul" — to a target level while holding fidelity high, then reports the quality-vs-compression trade-off and stops at the knee of the Pareto frontier. Use whenever the user wants to distill, condense, compress, summarize-without-losing-fidelity, shrink, or tighten something, and ESPECIALLY when they care about the cut-vs-keep trade-off, mention a length/token budget, ask for a high-fidelity summary, or want the sweet spot between brevity and completeness. ALSO trigger for distilling a person, colleague, character, or agent into a persona that behaves and sounds like them (voice, decisions, values/soul graded via behavioral probes), for distilling prompts/context-packs/SKILL.md files, and for adding a new distillation type when no built-in one fits. Pairs with skills-flow.
stancsz/distill-flow · ★ 0 · AI & Automation · score 60
Install: claude install-skill stancsz/distill-flow
# DistillFlow **Gradient descent for distillation.** Most "summarize this" attempts pick a length out of the air and hope the result kept the important parts. DistillFlow refuses to guess. It treats distillation as a two-objective optimization — **maximize compression, maximize fidelity** — runs an execute→evaluate→refine loop against a *probe set* that defines what "fidelity" concretely means for this source, and reports the **Pareto frontier** so the human (or the skill itself) can stop at the **knee**: the point where squeezing out more length starts costing real meaning. The whole pitch: a candidate distillation is the **weights**, the source plus a must-preserve **probe set** is the **training data**, a probe-recall score is the **loss**, and a **Refiner** that recovers dropped facts without inflating length is the **optimizer**. The loop traces the trade-off curve instead of climbing one number blindly. --- ## The analogy (ported from skills-flow) | ML / skills-flow | DistillFlow equivalent | | --- | --- | | Model weights / the skill | The candidate distillation (the condensed text) | | Training dataset | Source material + a **probe set** (the must-preserve rubric) | | Loss function | **Two objectives**: probe-recall fidelity *and* compression ratio | | Optimizer / Refiner | Re-distiller that recovers failed probes within the token budget | | Forward pass / execution | Produce a candidate at a target level | | Backprop / grad step | Refiner reads *which probes fai