Distill ML Knowledge
Use this skill as the canonical Creator entry point for DisCo skill
distillation. Convert a distillation anchor into a verified operating skill
graph that a later Researcher can load. The four paper-aligned stages are
scope, ground, construct, and verify. This skill does not execute
the downstream research or software task in the current Creator session.
Identify The Anchor
Read task-and-construction-contract.md
and create one anchor record before material exploration:
# Distillation Anchor
- anchor kind: source | task
- anchor value:
- source anchor: repository | paper | tutorial | dataset | benchmark | other
- task anchor: `tau = (q, D, E, g)`
- source material: provided | discovered during grounding | mixed
- version/access/trust boundary:
- intended future use:
- unknowns and assumptions:
Use a source anchor for task-agnostic distillation. It may be a repository,
paper, tutorial, dataset, benchmark, or comparable source and does not require a
made-up downstream task. Use a task anchor for task-oriented distillation. The
task-oriented D, E, and g values are blocking when routing or verification
would change without them; ask for clarification before the affected action.
Scope, Ground, Construct, Verify
- Scope the capabilities
Q and define applicability, non-goals, candidate
skill boundaries, graph entry points, and verification targets. For a
task-agnostic anchor, begin with source understanding and capability
identification. For a task-oriented anchor, begin with task decomposition and
capability gap analysis.
- Ground
Q in retained evidence X. For task-agnostic distillation,
extract knowledge from the source anchor. For task-oriented distillation,
discover permitted source material for the capability gaps, then select and
record evidence. Preserve provenance, versions, exclusions, conflicts,
inaccessible material, and assumptions.
- Construct a candidate graph
G_tilde = (S_tilde, L_tilde). Use tool
encapsulation and skill packaging for source-oriented work, or skill
generation for task-oriented work. Each root and sub-skill needs a clear
responsibility, progressive-disclosure route, evidence boundary, checks, and
recovery behavior.
- Verify the candidate graph with static, source-support, executable,
graph/link, and applicable task-level or representative-use checks. Exercise
failure recovery and repair affected skills, links, evidence mappings, or
fixtures. The result is accepted graph
G plus construction record R, or a
candidate with explicit unverified blockers. Task-agnostic runs use
source-supported representative workflows and do not invent a task-level
outcome trial when no downstream task exists.
Creator Construction Strategy
After a lightweight scope/preflight, read
construction-strategy-and-adequacy.md
and record exactly one Creator construction strategy. This is implementation
orchestration recorded in R, not a third distillation form:
reuse-existing: invoke one adequate visible workflow or a bounded
composition, preserving its verification, deployment, recovery, handoff, and
specialized importer contract.
direct: execute the four stages for the current anchor and produce the
operating graph now.
design-reusable: pass an evidence-backed recurring construction gap to
design-meta-skill, which designs a future Creator workflow. It does not
directly produce the current Researcher operating graph.
Record the layered routing fields below. Do not use the construction strategy to
pretend that the anchor form is a task form:
# Routing Record
- anchor kind: source | task
- distillation form: task-agnostic | task-oriented
- anchor `z`:
- scoped capabilities `Q`:
- required evidence and verification:
- construction strategy: direct | reuse-existing | design-reusable
- reuse mode: single | compose | not-applicable
- selected visible contracts:
- uncovered recurring construction gap:
- recurrence evidence:
- construction constraints and approval state:
- decision revision:
Apply auto by preferring an adequate existing workflow, then direct for a
concrete task-conditioned need or design-reusable only for a verified
recurring construction gap. A reusable preference tries reuse-existing
first and must surface a conflict rather than silently falling back to a
one-off direct run.
Handoffs And Deployment
For direct, read direct-construction-and-handoff.md
and obtain approval of the exact construction specification after grounding.
For reuse-existing, pass the anchor, Q, X, constraints, and ownership to
the selected workflow without bypassing its verification or importer. For
design-reusable, pass the complete routing handoff to
../design-meta-skill/SKILL.md; that skill must not repeat strategy selection.
After an accepted operating graph is verified, decide project or managed scope
separately. Default task-bound or uncertain graphs to
<project-dir>/.agents/skills/; use ~/.disco/agent/skills/ only for
self-contained, provenance-backed graphs with representative reuse evidence.
Keep every root and sub-skill in one scope, show exact destinations and
collisions, obtain import approval, and invoke the selected specialized or
generic locked importer once with all top-level roots.
Write researcher-handoff.md outside live skill roots with the anchor kind,
distillation form, Q summary, X provenance scope, accepted or unverified
G, R path, construction strategy, selected scope, exact imported paths,
entry point, verification evidence, and unresolved limits. Do not load the
resulting operating graph or execute the downstream task in this Creator run.
1---2name: distill-ml-knowledge3description: "Canonical Creator entry point for DisCo skill distillation. Use when turning a repository, paper, tutorial, dataset, benchmark, research note, task, or other source material into a verified operating skill graph. Identify the anchor, scope capabilities, ground them in evidence, construct a candidate graph, verify it into an accepted graph, and record the construction."4metadata:5 source: https://skillmd.com/skills/vectorspacelab/distill-ml-knowledge6 disco-role: meta7---89# Distill ML Knowledge1011Use this skill as the canonical Creator entry point for DisCo skill12distillation. Convert a distillation anchor into a verified operating skill13graph that a later Researcher can load. The four paper-aligned stages are14**scope**, **ground**, **construct**, and **verify**. This skill does not execute15the downstream research or software task in the current Creator session.1617## Identify The Anchor1819Read [task-and-construction-contract.md](references/task-and-construction-contract.md)20and create one anchor record before material exploration:2122```markdown23# Distillation Anchor2425- anchor kind: source | task26- anchor value:27 - source anchor: repository | paper | tutorial | dataset | benchmark | other28 - task anchor: `tau = (q, D, E, g)`29- source material: provided | discovered during grounding | mixed30- version/access/trust boundary:31- intended future use:32- unknowns and assumptions:33```3435Use a source anchor for task-agnostic distillation. It may be a repository,36paper, tutorial, dataset, benchmark, or comparable source and does not require a37made-up downstream task. Use a task anchor for task-oriented distillation. The38task-oriented `D`, `E`, and `g` values are blocking when routing or verification39would change without them; ask for clarification before the affected action.4041## Scope, Ground, Construct, Verify42431. **Scope** the capabilities `Q` and define applicability, non-goals, candidate44 skill boundaries, graph entry points, and verification targets. For a45 task-agnostic anchor, begin with source understanding and capability46 identification. For a task-oriented anchor, begin with task decomposition and47 capability gap analysis.482. **Ground** `Q` in retained evidence `X`. For task-agnostic distillation,49 extract knowledge from the source anchor. For task-oriented distillation,50 discover permitted source material for the capability gaps, then select and51 record evidence. Preserve provenance, versions, exclusions, conflicts,52 inaccessible material, and assumptions.533. **Construct** a candidate graph `G_tilde = (S_tilde, L_tilde)`. Use tool54 encapsulation and skill packaging for source-oriented work, or skill55 generation for task-oriented work. Each root and sub-skill needs a clear56 responsibility, progressive-disclosure route, evidence boundary, checks, and57 recovery behavior.584. **Verify** the candidate graph with static, source-support, executable,59 graph/link, and applicable task-level or representative-use checks. Exercise60 failure recovery and repair affected skills, links, evidence mappings, or61 fixtures. The result is accepted graph `G` plus construction record `R`, or a62 candidate with explicit unverified blockers. Task-agnostic runs use63 source-supported representative workflows and do not invent a task-level64 outcome trial when no downstream task exists.6566## Creator Construction Strategy6768After a lightweight scope/preflight, read69[construction-strategy-and-adequacy.md](references/construction-strategy-and-adequacy.md)70and record exactly one Creator construction strategy. This is implementation71orchestration recorded in `R`, not a third distillation form:7273- `reuse-existing`: invoke one adequate visible workflow or a bounded74 composition, preserving its verification, deployment, recovery, handoff, and75 specialized importer contract.76- `direct`: execute the four stages for the current anchor and produce the77 operating graph now.78- `design-reusable`: pass an evidence-backed recurring construction gap to79 `design-meta-skill`, which designs a future Creator workflow. It does not80 directly produce the current Researcher operating graph.8182Record the layered routing fields below. Do not use the construction strategy to83pretend that the anchor form is a task form:8485```markdown86# Routing Record8788- anchor kind: source | task89- distillation form: task-agnostic | task-oriented90- anchor `z`:91- scoped capabilities `Q`:92- required evidence and verification:93- construction strategy: direct | reuse-existing | design-reusable94- reuse mode: single | compose | not-applicable95- selected visible contracts:96- uncovered recurring construction gap:97- recurrence evidence:98- construction constraints and approval state:99- decision revision:100```101102Apply `auto` by preferring an adequate existing workflow, then `direct` for a103concrete task-conditioned need or `design-reusable` only for a verified104recurring construction gap. A `reusable` preference tries `reuse-existing`105first and must surface a conflict rather than silently falling back to a106one-off direct run.107108## Handoffs And Deployment109110For `direct`, read [direct-construction-and-handoff.md](references/direct-construction-and-handoff.md)111and obtain approval of the exact construction specification after grounding.112For `reuse-existing`, pass the anchor, `Q`, `X`, constraints, and ownership to113the selected workflow without bypassing its verification or importer. For114`design-reusable`, pass the complete routing handoff to115`../design-meta-skill/SKILL.md`; that skill must not repeat strategy selection.116117After an accepted operating graph is verified, decide project or managed scope118separately. Default task-bound or uncertain graphs to119`<project-dir>/.agents/skills/`; use `~/.disco/agent/skills/` only for120self-contained, provenance-backed graphs with representative reuse evidence.121Keep every root and sub-skill in one scope, show exact destinations and122collisions, obtain import approval, and invoke the selected specialized or123generic locked importer once with all top-level roots.124125Write `researcher-handoff.md` outside live skill roots with the anchor kind,126distillation form, `Q` summary, `X` provenance scope, accepted or unverified127`G`, `R` path, construction strategy, selected scope, exact imported paths,128entry point, verification evidence, and unresolved limits. Do not load the129resulting operating graph or execute the downstream task in this Creator run.