Skill Evolution Structure
1. Trace2Skill as the Baseline
A ReAct agent uses observations to decide what to do next within a
task. Skill evolution adds a loop across tasks. It uses completed runs
to revise the procedures available to the agent in future runs. In
Trace2Skill, the object being revised is a skill directory with a
SKILL.md entry point and any supporting references,
scripts, or assets. CUA Structure · Trace2Skill notes · Paper
1 | Starting skill + Evolution tasks |
- Collect trajectories. Run each evolution task with the same starting skill. Record the interaction history, outputs, and task result.
- Propose patches. Success analysts extract reusable strategies. Failure analysts can inspect artifacts, compare results with the expected output, and test a local repair. Both propose edits against the same starting directory.
- Consolidate and apply. Merge proposals hierarchically to remove duplication and resolve conflicts, then apply one consolidated update. Compare the updated skill with the starting skill on separate test tasks.
The default workflow applies the consolidated patch set. The paper also evaluates selecting subsets of patches with a development validation signal. The analyst’s local repair check tests the diagnosis on its source task. The held-out test measures the consolidated skill after the update. Trace2Skill, Sections 2–3 · Selective Patch Aggregation
2. Architectures for Skill Evolution
2.1 SkillOpt
SkillOpt turns the single consolidated update into an iterative search over skill text. At each step, the target agent runs a batch of training tasks with the current skill. A separate optimizer analyzes successful and failed traces, ranks edit proposals, and applies a bounded set of edits to form a candidate. The same target agent evaluates the candidate on a held-out selection set. A strictly higher selection score is required for the candidate to replace the current skill. Comparison in the Trace2Skill notes · SkillOpt, Section 3 and Algorithm 1
The rejected edits and observed failure patterns enter a buffer that later steps in the same epoch can use. The best skill from optimization is evaluated on a separate final test set. In the diagram, “Selection Test Set” refers to the development selection set. SkillOpt algorithm
2.2 SkillHone
SkillHone makes the history of revision decisions part of the harness. Evaluation agents run practice probes and send redacted evidence to the optimization side. Optimizers use that evidence and earlier records to diagnose failures and propose a scoped change. The evaluator reruns the candidate, and the decision draws on the resulting evidence. Probe targets, validators, and raw traces stay on the evaluation side. SkillHone notes · Paper, Sections 2.2–2.3
Each round stores the diagnosis, candidate revision, redacted evaluation evidence, and outcome. The outcome can accept, reject, request changes, or defer. A later session can recover both the change that was tried and the evidence behind the decision. Persistent Decision History
2.3 CODESKILL
CODESKILL makes skill-bank management a learned policy. A separate manager reads trajectory evidence and relevant skills. It extracts task-level or event-driven skills, revises existing skills, and decides whether a candidate should be added, merged, or dropped. A frozen coding agent later retrieves relevant skills from the bank. CODESKILL notes · Paper, Sections 3.1–3.2
The manager is trained with supervised examples and GRPO. Its reward includes rubric-based judgments of the proposed operation and, where applicable, the effect of the skill on downstream execution. This puts part of the update policy into the manager’s weights while the skill bank remains an external artifact. CODESKILL model training
3. Evolving Executable Skills
3.1 PolySkill
PolySkill grows a library of callable web skills
from successful interaction trajectories. It records a shared interface
for a domain and learns concrete implementations for individual sites.
For example, a shopping-site interface can expose a
search_product operation, while each site supplies its own
actions. Verification in the induction pipeline replays the source task
using the proposed skill. The shared interface can then guide
exploration on a new site. PolySkill notes · Paper, Section 3
3.2 Neuro-Symbolic Skill Induction
Neuro-Symbolic Skill Induction (NSI) turns trajectories into executable graphs with parameters, conditions, and loops. If a skill reaches a failure node, the node returns a symbolic diagnosis. A successful recovery can be grafted onto that node as a tentative branch. The system keeps the branch permanently once it repeatedly resolves the failure. Here the revised artifact is the skill’s control flow. NSI notes · Paper, Section 5.3
4. Comparing the Update Loops
Suppose several spreadsheet runs reveal that an agent checks a calculated value before the workbook has refreshed. Trace2Skill can distill the recurring failure into one consolidated skill update. SkillOpt can test a bounded edit on separate selection tasks before using it. SkillHone can retain the diagnosis, attempted repair, and evaluation evidence for the next maintainer. CODESKILL can learn when such a failure warrants an event-driven skill and how to maintain that entry in the wider bank.
For a controlled comparison, start with the same skill and task solver, and hold the tools and final test set fixed. Record how each method uses development data, what it persists between rounds, and the extra agent calls and task executions it spends on evaluation. Measure improvement over the starting skill and Trace2Skill on the same held-out tasks.