Agent Skill Distillation: How Much Experience Can You Actually Extract?
This article examines skill distillation for AI agents, the practice of turning reusable experience into structured, retrievable skill entries. It breaks down the general six-stage pipeline, explains why the extractable share of experience is constrained by expressibility, source density, timeliness, and verifiability, and proposes a four-part evaluation framework covering coverage, accuracy, novelty, and reuse versus fallback rates. It closes with practical deployment advice for running narrow-domain pilots and keeping humans in the loop.
1. Where the Problem Starts: Can Experience Be Turned into Text?
Over the past two years, “skill distillation” has moved from a fringe idea to a common practice in agent engineering. Its underlying assumption is a single sentence: if a piece of experience can be written down, an agent can potentially learn it. The assumption sounds simple, yet it sets the ceiling on what a whole class of systems can do.
Two typical scenarios from the original discussion are worth abstracting. The first is a “persona mental-model extraction” approach that appeared in community practice: multiple parallel agents pull a public figure’s judgment preferences and expression style from dozens of public information sources, and a dozen or so ready-made models are preloaded for direct use. The second is academic research on automated skill-library construction: a multi-step self-evolving pipeline scans code hosting repositories, API documentation, interactive notebooks, and academic papers to automatically extract structured, reusable skills. A single run produced more than two hundred skills spanning over twenty domains, roughly seventy percent of which were capabilities absent from the existing skill library. On a genomics cell-type annotation task, adding the skills raised coverage from about eighty percent to above ninety percent, and accuracy from about seventy percent to above eighty percent.
The two target different things — one distills a person, the other distills domain knowledge — but the methodology is isomorphic. Understanding that isomorphism matters more than memorizing any specific number.
2. The General Skill Distillation Pipeline
Setting aside specific implementations, any skill distillation system can be broken into six stages:
- Source ingestion: define the corpus boundary, including documents, code, notes, papers, logs, and manual post-mortem records.
- Extraction and cleaning: identify reusable fragments and strip out time-sensitive, environment-specific, and noisy content.
- Structuring: write each fragment into a four-part structure of “applicable condition — procedure — verification — fallback.”
- Deduplication and conflict resolution: compare against the existing skill library and decide whether an entry is new, a revision, or deprecated.
- Loading and retrieval: let the agent pull skills at the right moment and at the right granularity instead of injecting everything into context.
- Feedback evolution: write execution results back into skill quality scores, closing the self-evolving loop.
A schematic skill entry looks like this (field names are generic illustrations, not any specific product interface):
skill:name: cell_type_annotation_reviewwhen: input is a single-cell expression matrix and cell-type labels are requiredsteps:- normalize and check for batch effects- select a reference atlas and annotate confidence- trigger manual review for low-confidence samplesverify: allow automatic pass only when coverage and accuracy both meet the barfallback: fall back to the manual annotation queueprovenance: [public papers, internal post-mortem records]version: 3
3. How Much Can Be Distilled: Four Constraints
Back to the question in the title. The share of experience that gets distilled is not determined by model capability alone; it is jointly constrained by four conditions.
The first is expressibility. Tacit experience — feel, taste, on-the-spot judgment — resists full textualization. Usually only the shell of the decision rules can be distilled, and the rest has to be filled in through examples and feedback.
The second is source density and quality. Cross-referencing multiple sources markedly improves extraction quality, but when sources disagree on definitions or standards, conflict resolution must come first; otherwise the skill library gets polluted by self-contradictory entries.
The third is timeliness. Experience tied to versions, prices, regulations, or internal processes has a very short half-life, so distilled artifacts must carry version numbers and invalidation conditions — otherwise reuse is simply risk.
The fourth is verifiability. Experience that can be verified automatically yields the highest distillation payoff; experience that cannot be verified can only exist as advisory hints. The simultaneous gains in coverage and accuracy in the annotation task above are essentially due to that task having a clear verification signal.
4. An Evaluation Framework: Don’t Look at Accuracy Alone
Four categories of metrics are recommended for measuring distillation results:
- Coverage: the proportion of scenarios that should have triggered a skill and actually did, measuring recall.
- Accuracy/pass rate: the proportion of skill executions judged correct, measuring precision.
- Novelty rate: the share of capabilities that did not previously exist in the skill library, measuring information gain.
- Reuse rate and fallback rate: how often skills are called repeatedly versus handed over to humans, measuring real value.
Operationally, each invocation should log an input summary, the skill version, and the verdict, forming a traceable chain. If an organization already has general cloud capabilities such as object storage, logging services, and monitoring and alerting, these can directly handle skill-library version archiving and quality dashboards, with no need to build the entire infrastructure stack in-house.
5. Deployment Recommendations
- Start with a narrow-domain pilot: pick a task with a clear verification signal, get the six-stage loop working end to end, then expand the domain.
- Enforce the four-part structure: skills lacking a verification method and a fallback strategy are not admitted to the library.
- Set up tiered authorization: high-risk scenarios may only let skills produce suggestions, not execute automatically.
- Run periodic library checkups: clear out low-reuse, high-fallback, and expired entries to control context bloat.
- Keep humans in the loop: treat human review results as the highest-priority evolution signal.
6. Conclusion
Skill distillation is not about “copying” a person or a body of domain knowledge into a model. It is about solidifying the expressible, verifiable portion of experience into structural components that are retrievable, fallible-safe, and evolvable. How much can be distilled depends on the expressibility and verifiability of the experience itself, not on how advanced the tooling is. Recognizing the boundary first, then discussing the payoff, is the real engineering starting point for this class of systems.
