AI agents can now learn 'skills' from code and papers, but what makes one safe to trust and run?
What makes a distilled skill verifiable and ready for agent execution?
This explores what turns a distilled skill (know-how packaged from code, papers, or a person's expertise) from a plausible-sounding note into something you can check and an agent can safely run.
This explores what turns a distilled skill (know-how packaged from code, papers, or a person's expertise) from a plausible-sounding note into something you can check and an agent can safely run. The corpus points to four ingredients: evidence that stays attached, a procedure rather than a fact sheet, a creation process that matches where the skill will be used, and a trail you can audit.
Verifiability starts with where the skill comes from. Code2Skill lifts skills straight from GitHub repositories, checks each one with a source-blind reconstruction test, and keeps the executable evidence attached. That produced over a million auditable skills, and they beat skills derived from agent trajectories or documents (42.90 to 47.90 macro-average across eight benchmarks) Can source code replace experience as skill raw material?. Compact, verified skills also pay off when nothing else changes. Added to a fixed GPT-3.5 agent, they improved four benchmarks by 9–134%, supplying operational knowledge that neither the model nor the planning harness had Can distilled skills close the gap in ML research agents?.
Readiness for execution is mostly about procedure, not facts. Across 8,135 trials, procedural anchoring explained 65.7% of skill successes and knowledge injection only 4.5%. Skills steady what an agent does rather than fill gaps in what it knows. They fail when they're retrieved for the wrong situation, invoked out of context, or followed too rigidly Do skills teach procedures or inject missing facts?. A separately trained curator learns the same lesson: it moves a skill library away from generic, wordy additions toward actionable execution logic and strategies that carry across tasks, and it works across different executor backbones Can a separate trained curator improve skill libraries better than frozen agents?.
Where a skill is written matters as much as what it says. MUSE-Autoskill has the agent create skills from inside its own reasoning loop, so each one is grounded in the exact task context, immediate feedback, and runtime validation. In-loop skills reached 87.94% task accuracy and transferred to other agents with minimal loss Does creating skills inside the agent loop eliminate mismatches?. That transfer is worth measuring rather than assuming. Work on agent harnesses found that performance can shift dramatically when the same harness runs under a different executor, and that downstream task scores don't reveal harness quality by themselves Can language models build and maintain their own agent harnesses?.
The last piece is being able to inspect, correct, and constrain a skill. COLLEAGUE.SKILL treats distilled expertise as versioned files that can be inspected, corrected, and rolled back, not hidden prompt state. It also keeps what a person knows separate from how they act, so each can be audited on its own Can person-grounded skills remain auditable without hidden prompt state?. Constraints need the same rigor. In one test, naming a prohibition was not enough to keep protected tests unmodified. The boundary had to specify the protected state and be paired with restricted tools Can explicit authorization boundaries prevent agents from modifying protected tests?. Where running code isn't practical, structured reasoning can check code equivalence without executing it. It reached 93% accuracy on real agent code, though only for certain task classes Can structured reasoning replace code execution for RL rewards?.
Sources 9 notes
Code2Skill extracts over 1 million auditable skills from GitHub repositories through source-blind reconstruction verification, improving performance from 42.90 to 47.90 macro-average across eight benchmarks, outperforming trajectory and document-derived alternatives.
Adding compact, verified skills distilled from repositories and papers to a fixed GPT-3.5 agent setup improved performance by 9–134% across four benchmarks. The skills supplied operational knowledge that neither the model nor the planning harness could provide.
Analysis of 8,135 trials shows procedural anchoring accounts for 65.7% of skill cases versus 4.5% for knowledge injection. Skills fail when retrieved incorrectly, invoked out of context, or followed too rigidly.
SkillOS shows that separating a trainable curator from a frozen executor, grouped by task streams, causes skill repositories to shift from generic verbose additions toward actionable execution logic and cross-task meta-strategies. The trained curator generalizes across different executor backbones and domains.
MUSE-Autoskill demonstrates that invoking skill creation from within the agent's reasoning loop grounds new skills in exact task context, immediate feedback, and runtime validation. In-loop skills reach 87.94% task accuracy and transfer to other agents with minimal loss, eliminating the situated context problem of offline authoring.
Show all 9 sources
Research shows that LLMs vary sharply in building harnesses across domains, struggle to retain useful intermediate updates during evolution, and produce harnesses whose performance shifts dramatically with different executors—demonstrating that harness quality cannot be inferred from downstream task scores alone.
COLLEAGUE.SKILL treats distilled expertise as versioned files subject to inspection, correction, and rollback—not hidden prompt state. Separating capability tracks from behavior tracks enables independent audit of what someone knows versus how they act.
Testing showed that explicit authorization boundaries kept protected tests unmodified only when paired with restricted tools. Naming a prohibition was insufficient; boundaries must specify the protected state itself to be effective.
Semi-formal reasoning templates enable execution-free patch equivalence verification at 93% accuracy on real agent code, crossing the reliability threshold needed for RL reward signals. This makes execution-free verification viable for certain task classes like fault localization and code reasoning.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Demystifying Agent Skills: Why They Work-Until They Don't
- RESOURCE2SKILL: Distilling Executable Agent Skills from Human-Created Multimodal Resources
- SkillOS: Learning Skill Curation for Self-Evolving Agents
- MUSE-Autoskill: Self-Evolving Agents via Skill Creation, Memory, Management, and Evaluation
- Grounded Skill Synthesis from Code at Scale for Agentic Intelligence
- Repo-To-Skill: Distilling GitHub Repositories Into AI4AI Skills
- Compositional Skill Routing for LLM Agents: Decompose, Retrieve, and Compose
- COLLEAGUE.SKILL: Automated AI Skill Generation via Expert Knowledge Distillation