TL;DR
When we equip AI coding agents with human-written "skills" (cheat sheets and helper scripts), benchmarks show big average gains—alongside puzzling performance drops on certain tasks. By auditing the source code and re-analyzing thousands of test runs, the authors reveal that some of the biggest gains actually stem from hidden grading rules, while the apparent "losses" are indistinguishable from statistical noise. Even worse, popular strategies that selectively turn off skills to avoid these losses fall victim to a subtle statistical illusion.
What Problem Does This Paper Address?
Imagine handing a software engineer a folder of custom scripts and documentation—what the AI community calls agent skills—to help them solve a tough coding problem without retraining their brain. SkillsBench, the premier benchmark for testing this setup, recently reported that mounting skills boosts an agent's pass rate by 16.6 percentage points (pp) on average, yet mysteriously hurts performance on 13 out of 87 tasks.
Taking those numbers at face value, follow-up researchers began building "gating" routers to selectively disable or retire skills before they cause harm. The authors of this paper paused to ask two foundational questions: First, what is actually driving the massive performance spikes? Second, are the performance drops real, or are we building complex machinery to chase ghosts in the noise?
Methods
The authors paired old-fashioned detective work with rigorous statistical stress-testing:
- Source-Code-Level Audit: They manually inspected task prompts, reference solutions, skill folders, and grading scripts side-by-side. For suspect tasks, they ran controlled experiments—feeding slightly tweaked candidate outputs directly into the official graders to see what triggered a pass or fail.
- Noise-Aware Permutation Testing: Because each "(model configuration, task) cell" had at most three runs per condition, random luck plays a huge role. Within each cell, the authors shuffled the "with-skill" and "no-skill" labels 100,000 times to build a null distribution (what pure noise looks like), controlling the False Discovery Rate (FDR) at 10%.
- De-biasing Skill Gating: To test whether "gating" policies (like Random Forests or baseline cutoffs that skip skills when the bare model already scores high) genuinely help, they compared standard offline log replay against two stricter protocols: label-shuffled replay (where true skill effects are erased) and held-out trial evaluation (where one run per condition is locked in a vault strictly for final scoring).
Datasets
Rather than introducing a new benchmark, the authors audited a frozen public snapshot of SkillsBench, combining two official run exports (paper_v1_manifest.json and selected_trials.csv). After filtering out incomplete records, they analyzed 7,554 paired trials spanning 28 model-framework configurations (such as Claude Code, Codex, Gemini CLI, and OpenHands) across 83 observable tasks, forming 1,421 paired cells. They have publicly released their normalized tables, audit ledger, and prompt patches.
Key Insights and Ideas
- Secret Grading Contracts: Three of the highest-gaining tasks suffered from "instruction–evaluation gaps." The grader enforced strict, unspoken rules—like requiring a specific map projection (
EPSG:4087) within 2.6 parts per million, or reading only cached Excel values rather than formulas—that were omitted from the prompt and revealed only inside the skill package. - Boundary Effects & Regression to the Mean: In 58% of cells, the bare model scored 0%, making a negative skill lift arithmetically impossible. Losses can only occur when the baseline is positive. When a model gets lucky on three no-skill trials (scoring 100%), a single hiccup with skills looks like a 33 pp drop—classic regression to the mean.
- The Offline Replay Trap: Evaluating a skill-gating policy on logged runs creates severe target leakage. Because the noisy no-skill score $r_0$ acts simultaneously as the gate's input feature, part of its training target ($\Delta = r_1 - r_0$), and its fallback score when skills are skipped, the gate gets credited whenever a bare model happens to get lucky.
- Messy Containers: One execution harness (OpenHands) silently injected 48 built-in skills into the prompt—even during some "no-skill" control runs—while four tasks contained leftover placeholder directories with literal
"TODO"comments.
Key Results
- Audited Lift: Across the full snapshot, average skill lift was 18.7 pp. However, the three tasks with hidden grading rules averaged a massive +74.6 pp lift; Accounting for just 4% of paired cells, they drove 18% of the benchmark's total cumulative lift (removing them drops the mean lift to 16.1 pp).
- No Significant Losses: Across all 83 tasks, 26 showed statistically significant positive gains, and zero showed a significant loss (the smallest uncorrected two-sided $p$-value among the 17 negative tasks was 0.15). Furthermore, the 169 observed "loss cells" were well below the 327.7 loss cells expected from pure random trial noise under a zero-effect null.
- Gating Mirage: On standard log replay, gating strategies appeared to beat "always loading skills" by +2.1 to +3.0 pp. Yet when labels were randomly shuffled to destroy any real skill effect, those exact same gates hallucinated an even larger gain of +4.5 to +6.5 pp! Evaluated properly on held-out trials, gains vanished—hovering between $-0.33$ and $+0.12$ pp with confidence intervals crossing zero.
Limitations and Future Work
The authors note that their analyzed snapshot differs slightly from the final subset in the SkillsBench paper and suffers from low statistical power—with only three trials per condition, a true loss would need to exceed ~24 pp to be reliably detected. Moreover, because they did not run new live agent trajectories using their proposed prompt patches, they cannot separate how much of the 74.6 pp lift came from secret grading rules versus helpful procedural guidance. Future benchmarks should explicitly state all grading conventions in prompts, standardize harness environments, fund at least 10 trials per condition, and validate any adaptive routing on strictly held-out runs.
Summary updated