In one line: With the experience held fixed, the same trajectories distilled into a SKILL.md beat them pasted in as workflow memory by +6.06 points over 528 paired Codex runs (one trial per arm; Gemini on Terminal-Bench-Pro favours workflow memory) but do not clearly beat no prior experience (+2.84, interval spans zero); one LLM judge labels most skill effects procedural anchoring (65.7%) rather than knowledge injection (4.5%), skills add a misapplication failure (10.0% of skill runs against 0.8% raw), and as the pool grows to 100 skills actual-use precision falls to 3.3% while task success holds, a metric that mostly counts how many skills an agent opens.
How far to trust it: Believe the direction: on most setups a distilled skill beats the same experience pasted in as workflow traces, and skills bring a misapplication failure of their own. Treat the sizes as provisional. The +6.06 points rests on one trial per arm on 88 Codex tasks and is not significant if a task's six triples are even slightly correlated; Gemini on Terminal-Bench-Pro shows the opposite; the mechanism shares come from one LLM judge that labels identical runs differently; and the retrieval "decoupling" uses a precision metric that mostly counts how many skills an agent opens. The evidence, judged.
The idea in one sentence: hold an agent's prior experience fixed (the same five trajectories of a task) and change only its packaging: distilled by a model into one SKILL.md, it beats the same traces pasted in as workflow memory (+6.06 points over 528 paired Codex runs), mainly by cutting setup, format and service failures and avoiding trace overload, but it does not clearly beat no prior experience (+2.84, interval spans zero) and it adds a failure of its own, the agent misapplying the skill (10.0% of skill runs).
One pool of experience, three arms: the skill trades execution failures for misapplication
The figure, step by step
Percent of the 528 paired triples per arm, Table 9 (success) and Table 11 (failure modes): Codex + GPT-5.3-Codex, one trial per arm, every mode label from one LLM judge; bars share one scale (0 to 70%). Paired differences from Table 10. Redrawn from the paper's tables (it is under arXiv's non-exclusive licence, so its figures are not reproduced); the modes per mixture are in Result 2. The five trajectories' order and the card's shape are illustrative.
You need: what a skill is and how it loads (progressive disclosure), from Claude Code section 6; optional, how failure taxonomies and LLM judges are built and checked, from Agent and trajectory evaluation and LLM-as-judge.
Added to the knowledge base on 24 August 2026, when the 2026-08-24 tech news issue listed it in its Research section as "an empirical study of when packaged agent skills help and where they stop transferring". The paper's own finding is narrower: transfer is the part that worked (see Labels and transfer); where skills stop helping is misapplication and retrieval.
A skill is a folder holding a SKILL.md file (a name, a one-line description, then steps, checks and pitfalls) and any scripts it needs; the agent sees only names and descriptions until it judges a skill relevant ("progressive disclosure", taught on Claude Code; the format is Anthropic's, Anthropic engineering, 16 October 2025). Claude Code, Codex and Gemini CLI all load skills this way, and the paper's protocol does the same: skills are "placed in the execution environment as reusable procedural resources rather than fully incorporated into the initial context" (§3.2).
Skills are usually judged by aggregate task success: load the skill, count how many more tasks pass (§1). That says skills matter but not why. It does not show:
So skills are "written, retrieved, and revised through heuristic iteration, prompt tuning, or benchmark-specific trial and error" (§1).
The question: when do skills help, why do they work, and where do they fail? The authors treat skill use as a controlled transformation of prior agent experience, not as a black-box prompt add-on (§3.1).
Run an agent on a task several times and keep the trajectories, some successful and some failed. That pool of experience can be handed to the next run in two forms (§3.3, Table 5):
SKILL.md, placed in the environment.Both are compared with Raw, the agent with no prior experience. Because Workflow Memory and Skill come from the identical pool, any difference between them is the packaging, not the experience. This is the paper's central control.
Here is the paper's own worked example (Appendix A.3): one SkillsBench task, react-performance-debugging, under the 1s4f setting (the skill and the memory were built from one successful and four failed trajectories). Toggle the three arms. The service latencies are the task's own (server.ts), so the timelines are to scale. The Replay the paired run tab has the full excerpts and lets you schedule the calls yourself.
The verifier's two checkout tests are from the task's test_outputs.py: under 800 ms, and at least 400 ms so that the external services are proved to be called. Measured times are the paper's. The paper does not show Raw's checkout code; its 7 ms means no external call was made.
The Workflow Memory arm's "final checkout patch" is, line for line, the route the task ships with (route.ts). The memory-guided agent left this endpoint as it found it: wait for the slower of user (400 ms) and config (600 ms), then fetch profile (300 ms), 600 + 300 = 900 ms. The skill's rule, "start promises early, await late", gives max(400 + 300, 600) = 700 ms, the same schedule as the task's reference solution (solve.sh).
Skills were written by a model from the trajectories with a fixed template (Appendix B.1); a no-hint version hides which runs succeeded.
The template's sections: "Use This Skill When", "Preconditions", numbered "Steps", "Common Failure Modes To Avoid", "If A Failure Happens" and "Verify", with rules such as "Produce exactly ONE skill", "general enough to apply to similar tasks" and "Do not include task-specific file paths or data". Toggle the no-hint version used for the outcome-label ablation (Appendix B.2) to see the only lines that change.
Four research questions (§3.1):
Agents, models, benchmarks (§3.2, Appendix A.1):
The composition grid (RQ1, RQ2). For each task the authors kept tasks whose raw runs both succeeded and failed, collected runs until each had a balanced pool, then built artifacts from six fixed-budget mixtures of five trajectories: 5s0f (five successes, no failures), 4s1f, 3s2f, 2s3f, 1s4f, 0s5f (§3.3, Appendix A.4). For every mixture, Workflow Memory and Skill are built from the same five trajectories. The no-hint variant hides the success and failure labels from the skill creator only (Appendix A.5).
Transfer (RQ3). Artifacts built from Codex trajectories are evaluated in Gemini CLI against Gemini's own Raw baseline (Appendix A.6).
The contrastive taxonomy (§4, Appendix A.2). An LLM judge (Claude Sonnet 4.6) labels every run with one of 12 modes in 3 categories, SC1 guided success, SC2 execution and verification failures, SC3 invocation and boundary failures, induced from 240 sampled trajectories and checked by a human (95.8% agreement, Cohen's κ = 0.952). The unit of analysis is a paired triple, the raw, workflow and skill runs of one task and mixture: 528 of them, 1,584 arm-level labels, each triple also tagged with a mechanism (procedural_anchor, knowledge_injection, failure_warning, none or counterproductive).
Retrieval (RQ4) (§5.5, Appendix A.7):
Oracle-status success (the benchmark verifier's reward) is 61.9% for Skill (327 of 528), 59.1% for Raw (312) and 55.9% for Workflow Memory (295) (Table 9). The robust paired effect is Skill over Workflow Memory: +6.06 points, 95% bootstrap interval [+0.76, +11.36] over 1,000 resamples. Skill over Raw is +2.84 [−2.27, +7.95], and Workflow Memory sits below Raw at −3.22 [−8.14, +2.08] (Table 10). Same trajectories, different packaging: the paper's reading is that representation itself is doing the work (§5.1).
Not just any short hint. On 26 Terminal-Bench-2 tasks with Gemini (130 trials per condition), two compact baselines injected as plain text do worse (Table 12): an instruction-derived short plan of three to five steps reaches 47.7%, a workflow-derived test-first template 59.2%, against Raw 50.0%, Workflow Memory 62.3% and Skill 79.2%. Those Raw, Workflow and Skill figures equal Table 1's Gemini Terminal-Bench-2 cells at 5s0f, the mixture where skills did best, so the baselines were measured against skills at their best.
The full runs tell a more mixed story. Table 1 holds every condition's success over all five trials per task (the 528 triples use one trial per arm). The chart beside this section shows Skill minus Workflow Memory for every setup and mixture, with a binomial interval from the trial counts this page recovers.
Mechanism labels. The judge's mechanism labels say how skills help: procedural_anchor accounts for 65.7% of skill mechanism labels, knowledge_injection for 4.5% (§5.1). Skills stabilise action (setup order, tool sequences, intermediate checks, known pitfalls) rather than supply missing facts. Under the taxonomy, skill arms land in the successful-procedure class in 61.7% of triples, raw in 59.1% and workflow in 55.7%. skill_guided_success is 61.6% of skill-arm labels and workflow_guided_success 54.5% of workflow-arm labels, so workflow memory also guides: raw traces "often contain reusable commands, parameter choices, and debugging evidence". It just keeps more incidental process, failed attempts and task-specific detail.
Per-task averages on the 83 tasks where all three arms have usable token data, equal task weighting (Table 13).
Skill runs used 511.7K input tokens per task against 417.9K for Workflow Memory (+93.8K, about 22% more) and 541.5K for the Raw row. Its success was 69.6% against 64.8% and 64.1%. The paper calls Skill "the more effective representation and Workflow Memory the more token-efficient one" (Appendix A.9). The extra tokens come from the run, not from the artifact: the skill is read from the environment, and skill runs then do more work. The Raw row of this table is described as "full prior traces", which contradicts Raw's definition everywhere else (no prior experience); see How much to believe.
Skill minus Workflow Memory per setup and mixture: Codex on Terminal-Bench-2 carries the result, Gemini on Terminal-Bench-Pro reverses it
Bars are 95% intervals (±1.96 standard errors, treating trials as independent; trials of one task are correlated, so these are too narrow if anything). Trial counts are the smallest n for which every printed four-decimal rate is a whole number of successes (Table 1; recompute.py).
The taxonomy splits the 528 triples by failure mode. Tap a group to see its modes; counts are out of 528 per arm.
Execution-layer failures fall (§5.2). SC2 modes are 37.3% of raw labels, 33.3% of workflow labels and 23.5% of skill labels (197, 176 and 124 of 528). The clearest:
These failures arise when the agent fails to keep concrete constraints active, not from missing high-level reasoning.
Reasoning failures do not. algorithmic_logic_error stays at 8.3%, 11.0% and 7.4%; static_verification_without_runtime at 12.5%, 12.5% and 11.7%. Skills do not repair a wrong algorithm or force runtime checking against the oracle.
A new failure surface (§5.3). skill_guidance_misapplied_or_ignored is 10.0% of skill-arm labels against 0.8% raw and 0.4% workflow. The skill is present and plausible, but the agent applies it mechanically, misses a condition, or carries over assumptions that no longer hold. "A skill is not self-executing": the agent still has to decide whether it applies, which parts to follow, how to adapt it and when to drop it.
Workflow memory fails by overload. timeout_budget_exhaustion is 10.6% of workflow runs, against 4.4% with skills and 1.7% raw. Verbose traces carry failed branches and debugging noise that distract from the decisive procedure. So skill use is a pipeline: experience must be distilled at the right level, retrieved for a compatible context, invoked, and adapted.
Outcome labels (§5.4). The no-hint skill creator sees the same five trajectories but not which succeeded. Pick a setup in the chart.
The paper's summary: withholding labels "has little effect when the source pool contains only successful trajectories, but its impact grows sharply once failed trajectories are introduced". The headline case is Gemini on Terminal-Bench-2 at 3s2f, 0.7462 with labels against 0.4000 without, and the same ordering holds for every completed Gemini Terminal-Bench-2 and SkillsBench mixture. Labels guide what the distillation keeps. Two qualifications from the same table:
Mostly-failure pools make poor skills. At 0s5f the Skill arm falls below Raw in all six setups of Table 1, and Workflow Memory in four.
Hiding which runs succeeded hurts once failures are in the pool
Table 16 (the "normal" rows equal Table 1's Skill column); dashed line: that setup's Raw. Bars: ±1.96 binomial standard errors at the recovered trial counts.
Transfer (RQ3, Figure 4). Skills distilled from Codex trajectories improve Gemini CLI over its own Raw baseline (56%) in every mixture and beat transferred Workflow Memory, so distillation is "the more portable representation" (§3.3). The paper gives no numbers in the text; the figure's printed labels are in the chart.
Codex-built skills help Gemini CLI in every mixture; transferred memory less
Values are Figure 4's printed labels (the bar tops decoded from the vector figure agree). The figure does not say which benchmark or how many trials. All 13 values are even whole percentages, which 50 trials (10 tasks × 5) would force; the error bars assume that and are labelled derived.
As pools grow from 5 to 100 (§5.5), step by step in the figure (every number is the paper's; the averages are over the random, similar and dissimilar pools):
Hence "exact ground-truth invocation is neither sufficient nor necessary": agents succeed with related non-ground-truth skills and fail with the right one in hand.
What the precision collapse measures. Two facts in the paper's own tables, derived on this page:
So for Gemini the "collapse" mostly counts how many skills it opens or lists, not how well it discriminates. The retrieval explorer overlays that "opens everything" line.
What holds up.
What to discount.
codex.txt; so the taxonomy and the +6.06 are Codex + GPT-5.3-Codex only. Each task contributes six triples, one per mixture. The Raw run is literally the same trajectory in all six: Raw succeeds on 52 of 88 tasks in every mixture of Figure 2, and 312 = 6 × 52. The bootstrap resamples the 528 triples as if they were independent. Move the slider beside this section to let a task's six paired differences be correlated. Derived: the interval's standard error is about 0.027 (normal approximation), and a design effect of 1 + 5ρ for clusters of six (the formula 1 + (m − 1)ρ is on Evaluation statistics) puts the lower bound at zero from ρ ≈ 0.06. The six per-mixture differences are +6, +10, +1, +9, +11 and −5 tasks of 88.Verdict. Believe the direction and the qualitative failure modes. Distilled skills usually beat the same experience pasted in as traces, mainly by cutting setup, format and service mistakes and avoiding trace overload, and they add a real misapplication failure. Treat "+6.06 points" and the mechanism percentages as one judge's labels on one trial per arm for one agent: the interval would not survive modest clustering, and one setup reverses. On retrieval, believe that confusable near-duplicates hurt offline identification; do not read the precision collapse as evidence that retrieval does not matter.
The +6.06 interval if a task's six triples are correlated
It is an early controlled account of why the SKILL.md pattern works (the authors "attribute gains and failures to concrete mechanisms"; those mechanisms are one judge's labels), and it bears directly on how to write and manage skills for harnesses like Claude Code (practical points above). It also reframes evaluation for self-evolving agents: aggregate pass rates hide that skills trade execution-layer failures for a new class of misapplication failures. Skill pipelines need lifecycle-level evaluation (generate, retrieve, invoke, adapt), not only end-to-end success (§6).
The outside evidence points the same way:
The validated LLM-judge taxonomy pipeline (open coding, batched induction, a human check of grounding and aggregation, paired comparisons) is a reusable pattern for agent evaluation. Its weak spot, the per-trajectory labels themselves, is the part this page could test.
The paper prints one matched trio of trajectories (Appendix A.3): Raw, Workflow Memory and Skill on the SkillsBench task react-performance-debugging, under the 1s4f setting. The task is public (benchflow-ai/skillsbench, Apache-2.0), so its service latencies, the checkout route it ships with, its verifier and its reference solution can be read. This tab replays the excerpts and lets you schedule the checkout yourself.
The task (from task.md): an e-commerce site in Next.js "is extremely slow". Find the root causes and fix them using React and Next.js best practices, focusing on "API route optimization, budle [sic] size reduction and excessive rendering", without removing data-testid attributes or the performance.mark() calls. The verifier runs 11 tests; two concern POST /api/checkout.
Quoted from Appendix A.3, which omits "unrelated file inspection and repeated build output". Pick the arm to read on a phone; on a wide screen all three show.
The paper's verdict: "Raw bypasses the external-service check, Workflow Memory leaves the dependent profile request serialized and exceeds the latency threshold, and Skill starts that request as soon as its prerequisite resolves and passes all 11 tests."
The checkout endpoint needs three services: user (400 ms), config (600 ms) and profile (300 ms), and profile needs the user's id (server.ts). The verifier wants the request under 800 ms and at least 400 ms, "Checkout calls user(400ms), config(600ms), profile(300ms) - even optimized takes 600ms+" (test_outputs.py). Choose when config and profile start, or pick one of the arms' schedules, in the card beside this text.
The model adds the service delays along the schedule's critical path and nothing else; the measured times (the paper's 915 ms for the workflow patch and a warm average of 711.6 ms for the skill patch) add about 12 to 15 ms of request and framework overhead. The task's reference solution uses the skill's schedule (solve.sh). The shortest possible time is the longer of user then profile (700 ms) and config (600 ms).
Every table that carries the argument, transcribed from the arXiv HTML with the printed precision kept, plus Figures 2 and 4 decoded from the vector figures in the arXiv source. recompute.py checks every derived number; the list is the last closed block, after the smaller tables.
Pick a setup; switch between the success rates and Skill minus Workflow Memory, with or without the no-hint skill. The table under the chart holds the printed values.
Defaults reproduce Table 1 and Table 16 by construction (transcribed). The trial counts are derived independently: the smallest n for which every printed rate of that setup (Raw, six Workflow, six Skill, six no-hint) is a whole number of successes out of n. Table 1's caption says Terminal-Bench-Pro uses 130 trials per condition; Gemini's cells fit 130, Codex's fit 165.
Bar heights read from the vector paths of Figure 2 in the arXiv source (2.7 points per trajectory, calibrated on the gridlines), every one a whole number. They sum to 88 per bar and reproduce Table 11 in all 36 cells. Note the Raw panel: the same 88 raw trajectories in every mixture, with 52 successes each time, yet with labels that shift.
Pick a measure, an arm and an agent. For Arm 3 precision the "opens every skill" line (recall ÷ k) is overlaid: Gemini's precision follows it at every pool size (Result 4).
Every link opens in a new tab. Reading time of the resources below: 3h 35m.
Preprint, the paper itself; the HTML version has the anchors this page links to. abstract page, PDF.
(45 min)
The paper links no code or data. Its appendix mentions "released artifacts" but neither the arXiv page nor the LaTeX source gives an address (checked 3 October 2026). What can be inspected is the public benchmark task the paper's worked example comes from: SkillsBench's react-performance-debugging (Apache-2.0), whose service simulator, original checkout route, verifier and reference solution this page uses. About 15 minutes for the task, the simulator and the verifier.
(15 min)
Anthropic engineering, 16 October 2025: the canonical description of the SKILL.md abstraction this paper dissects: progressive disclosure, the folder layout, and when to write a skill. Agent Skills became an open standard on 18 December 2025.
(15 min)
GitHub: the public skill repository the paper cites as its reference skill-usage protocol; useful for seeing what production skills actually contain (about 20 minutes for the README and a couple of skills).
(20 min)
Li et al., arXiv 2602.12670: the benchmark behind the retrieval study and the worked example; its own paired evaluation (87 tasks, 18 model and harness configurations) finds curated skills raise the average pass rate from 33.9% to 50.5%.
(30 min)
Han et al., arXiv 2603.15401: the sceptical counterpart: 39 of 49 public skills give no pass-rate gain on real repositories, and three hurt through version-mismatched guidance, which is this paper's misapplication mode seen from outside.
(25 min)
Wang, Mao, Fried, Neubig, arXiv 2409.07429: the workflow-memory representation this paper uses as its contrast arm, induced from past web-navigation trajectories.
(25 min)
Merrill et al., arXiv 2601.11868: the 89-task Terminal-Bench 2.0 used in two of the three benchmarks here, with its containerised tasks and test-based verification.
(25 min)
benchflow-ai/skillsbench (Apache-2.0): the task of the paper's paired example (Appendix A.3): the service latencies, the checkout route and the verifier that this page's replay reads from.
(15 min)
the issue that covered this paper, in its Research section beside EnvHarness and Learn What's Left, under the week's harness theme.
2022-10: the acting loop these agents run; skills sit on top of it as reusable procedural memory.
2026-08: the same week's harness paper on a later Terminal-Bench, with versioned runbooks, a close cousin of a skill.
skills distilled from repositories rather than from an agent's own trajectories.
memory chosen per task, the retrieval side of this paper's lifecycle.
Article page (Dan Luu, 2026): four testing skills in Codex, loaded in up to 157 of 160 runs yet no more correct than no instruction, and a tutorial-length skill re-read on every step costing 16% to 18% more.
the Claude Code, Codex and Gemini CLI skill systems this paper tests.
where skills, memories and retrieval are packaged as library features.
Terminal-Bench 2.0, Terminal-Bench-Pro and SkillsBench.
the validated LLM-judge taxonomy pipeline, a reusable pattern, and its limits.
This page is one row of the Papers database; its properties (Paper, Takeaway, Topics, Year) live there.