Self-evolving skill libraries silently degrade via "library drift" — unbounded skill accumulation without outcome-driven lifecycle management causes retrieval dilution and harmful injection. Three governance mechanisms (outcome-driven retirement, bounded active-cap, meta-skill authoring prior) lift held-out pass@1 by +0.328 on hard coding tasks; eight ablations show meta-skill is the single most valuable component and explicit deduplication is unnecessary.
Self-evolving skill libraries (Voyager, ExpeL, CASCADE, AutoSkill) let frozen LLM agents accumulate reusable procedural knowledge across tasks. The promise is compounding returns: each solved task deposits a skill that accelerates future ones. Reality is different — SkillsBench (Li et al., 2026) shows LLM-authored skills deliver +0.0pp gain over no-skill baselines while human-curated ones deliver +16.2pp. A survey of 20+ such systems reports that lifecycle management (versioning, conflict detection, deprecation) is "largely neglected." The libraries grow, but the agents do not improve.
The root cause is library drift: as skills accumulate without quality gates, the library (1) dilutes retrieval precision with marginal or redundant entries, (2) injects stale or harmful guidance into the solver, and (3) causes performance stagnation or active regression — all without any explicit error signal. The failure is silent, making it indistinguishable from inherent task difficulty variation in end-task metrics alone.
The paper provides three contributions organized around diagnosis and cure:
核心技术壁垒: The Hoeffding-calibrated evidence floor ($N_{\min} = 100$) that gates retirement decisions. A4 demonstrates that acting on insufficient evidence ($N_{\min} = 20$, Hoeffding $\epsilon \approx 0.44$) collapses the skill bank to 2 active entries and actively harms performance — worse than no governance at all. The insight is that the evidence floor, not the retirement mechanism per se, is the load-bearing design choice: premature eviction of useful skills on unlucky statistical draws is more damaging than retaining marginal ones.
On MBPP+ hard-100 (100 tasks the model cannot reliably solve, 100 rounds, 3 seeds, Claude Opus 4.7):

Paper Figure 1: The Ratchet loop. Inference layer (top): Router → Solver → Grader → Capsule. Memory layer (middle): Skill Bank, Meta-Skill, Evidence Log. Reflection layer (bottom): Critic → Curator. Without retirement and the bounded cap, the Skill Bank accumulates unchecked and library drift emerges.
The architecture operates a five-phase loop per round: (1) Eval — route active skills on held-out tasks; (2) Train — same pipeline on the train split, generating failure substrate; (3) Critic — per-failure attribution verdict via separate LLM call (helped/hurt/neutral/inapplicable + pattern label + confidence); (4) Synthesizer — cluster failures by canonical pattern, author new skills from clusters with $\geq 3$ members; (5) Curator — compute contribution scores $\hat{c}(s)$, retire under-performers ($n(s) \geq 100$ and $\hat{c}(s) \leq -0.10$), enforce active-cap ($C = 50$).
The Router uses two-stage retrieval ($K = 10$ tf-idf + $K = 10$ embedding via Cohere embed-v4) followed by an LLM gate that selects one skill or none. The gate's ability to decline injection is itself a drift-prevention mechanism — A2 (retrieval-only, bypassing the gate) shows 98% engagement but degraded quality (+0.077 vs. Default's +0.328).
Three drift sub-modes emerge depending on governance strength: stagnation (skills never reach the solver — A1), bloat (unbounded growth degrades retrieval — prevented by the cap), and erosion (over-aggressive retirement destroys useful skills faster than they accumulate — A4).
| Symbol | Definition | Introduced |
|---|---|---|
| $\mathcal{S}_{t}$ | Active skill set at round $t$ | §3.1 |
| $p_{0}$ | No-skill pass rate (baseline) | §3.1 |
| $\hat{c}(s)$ | Empirical contribution score for skill $s$ | §4.1 |
| $n(s)$ | Number of trials where skill $s$ was injected | §4.1 |
| $N_{\min}$ | Evidence floor (minimum trials before retirement decision) | §5.1 |
| $\tau$ | Retirement threshold on contribution score | §5.1 |
| $C$ | Active-cap (max concurrent active skills) | §5.2 |
| $\epsilon$ | Hoeffding estimation tolerance at $N_{\min}$ trials | §5.2 |
| $\delta$ | Per-skill failure probability (union bound parameter) | §5.2 |
Eq. 1 — Drift condition:
$$\mathbb{E}[\text{pass@1}\mid\mathcal{S}_{t}] < \mathbb{E}[p_{0}]$$
The library's expected performance falls below what the agent achieves without any skills. This operationally defines when a skill library has become net-harmful.
Eq. 2 — Per-skill contribution score:
$$\hat{c}(s) = \frac{\text{successes}(s) - \text{failures}(s)}{\text{trials}(s)}$$
Normalised difference between success and failure counts when skill $s$ was injected, measuring net contribution. A declining mean $\hat{c}$ across the bank is an early-warning signal of drift.
Proposition 1 — Non-divergence bound:
$$\mathbb{E}[\text{pass@1}] \geq \mathbb{E}[p_{0}] - (\tau + \epsilon) - C\delta$$
Under bounded cap $C$ and retirement threshold $\tau$, the governed library cannot degrade arbitrarily below the no-skill floor. With Default values ($\tau = 0.10$, $N_{\min} = 100$, $C = 50$, $\delta = 10^{-3}$): $\epsilon \approx 0.20$, floor $= \mathbb{E}[p_{0}] - 0.35$. The bound is loose at this scale (the system gains +0.328 rather than losing 0.35) but rules out unbounded degradation — a guarantee that prior systems (Voyager, ExpeL, AutoManual) without bounded $C$ and $\tau$ cannot provide.
| # | Check | Result |
|---|---|---|
| 1 | Units/dimensions: $\hat{c}(s)$ is dimensionless (ratio of counts), bounded $[-1, 1]$; Prop 1 bound has consistent units (probability) | ✓ consistent |
| 2 | Limiting case — $C \to 0$: no skills active, $\mathbb{E}[\text{pass@1}] = \mathbb{E}[p_{0}]$; Prop 1 recovers this since $C\delta \to 0$ and no skill is injected | ✓ recovers baseline |
| 3 | Limiting case — $\tau \to \infty$: all skills immediately retired, equivalent to $C = 0$; system degenerates to no-skill baseline | ✓ consistent with A1 |
| 4 | Ablation correspondence: A4 ($N_{\min} = 20$, $\tau = 0$) violates Prop 1's implicit requirement of sufficient $N_{\min}$ — Hoeffding $\epsilon \approx 0.44$ at $N_{\min} = 20$ vs. $\epsilon \approx 0.20$ at $N_{\min} = 100$; premature retirement confirmed experimentally | ✓ theory predicts A4 fragility |
| 5 | Error bars: all gains reported as mean ± std over 3 seeds; Default ±0.018, A4 ±0.010 — gain signs consistent across all seeds (Table 3) | ✓ significant at $n = 3$ |
| 6 | Claim-evidence coverage: three claims (drift definition, diagnostics, fix) each have dedicated sections (§3, §4, §5) with experimental validation (§6 ablations A1–A8) | ✓ complete coverage |

Paper Table 1: MBPP+ hard-100, mean ± std over 3 seeds. Default achieves +0.328 gain; A1 (no injection) establishes the floor at +0.002; A4 (harsh retirement) falls below baseline at −0.019. A5/A6 (relaxed dedup) slightly exceed Default, demonstrating that meta-skill subsumes explicit filtering.
The Default condition more than doubles pass@1 on genuinely difficult tasks (0.258 → 0.584 late-window mean, peak 0.658). The 73% router engagement indicates the LLM gate is selective — declining injection on ~27% of tasks where no skill is relevant.

Paper Figure 2: Held-out pass@1 by round (3-seed mean ± 1 std). A1 (flat) and A4 (declining) exhibit library drift. Default, A5, A6, A8 all converge to similar final performance. A7 (doubled cap) shows comparable mean but substantially wider confidence band.
The learning curves reveal three regimes: (1) fast initial climb (rounds 0–30) as the first useful skills are synthesized; (2) plateau (rounds 30–60) as the bank approaches the cap and retirement begins competing with synthesis; (3) stable high performance (rounds 60–100) as the bank reaches equilibrium. A4 diverges downward after round 20, coinciding with bank collapse to 2 active skills.
Components that are necessary:
Harsh retirement is harmful:
Explicit deduplication is unnecessary:
Relaxed knobs:

Paper Table 3: Per-seed rolling-mean gain. Default is consistent across seeds (0.303–0.343). A4 is consistently negative (−0.005, −0.027, −0.025). A7's high variance is visible in the per-seed spread (0.172–0.440).
Default: ~14.5k LLM calls per 100 rounds (10k solver + 4.3k critic + 152 synthesis), 43% more than the no-skill baseline. Wall time: 6.5h (2.8× A1's 2.3h). Solver dominates cost at 63–99% of total calls across conditions.
| Step | Claim | Evidence | Link |
|---|---|---|---|
| 1 | LLM-authored skill libraries fail to improve agents | SkillsBench: +0.0pp (LLM) vs. +16.2pp (human); survey of 20+ systems reports lifecycle management "largely neglected" | §1 |
| 2 | The root cause is library drift: unbounded accumulation degrades performance below the no-skill baseline | Eq. 1 defines drift operationally; mechanism decomposed into 3 stages (accumulation → retrieval degradation → silent injection harm) | §3.1–3.2 |
| 3 | Drift is reproducibly triggered by ablation | A1 (no injection) establishes the no-skill floor at +0.002; A4 (harsh retirement) triggers active harm at $-0.019$ | §3.3 |
| 4 | Trace-level diagnostics detect drift before end-task metrics decline | Per-skill $\hat{c}$, attribution verdicts, and router engagement expose A4's bank collapse at round 30 — before pass@1 shows clear decline | §4 |
| 5 | Three governance mechanisms jointly fix drift | Retirement + cap + meta-skill → +0.328 gain; each mechanism targets one drift stage; Prop 1 guarantees finite worst-case degradation | §5 |
| 6 | Meta-skill is the single most valuable component; explicit dedup is subsumed | A3 (no meta-skill) loses 43% of gain; A5/A6 (no dedup) slightly exceed Default — meta-skill's stylistic consistency prevents enough duplication that explicit filters' false positives cost more than their catches | §6.3 |
| 7 | Governance is not uniformly beneficial — evidence floor is load-bearing | A4 with $N_{\min} = 20$ (Hoeffding $\epsilon \approx 0.44$) collapses bank to 2 skills and harms performance; the calibrated evidence floor ($N_{\min} = 100$, $\epsilon \approx 0.20$) is what makes retirement safe | §3.3, §6.3 |
[实现未公开]
The Hoeffding-calibrated evidence floor ($N_{\min} = 100$) that separates safe governance from harmful governance. The paper's most counterintuitive result is A4: reducing $N_{\min}$ from 100 to 20 and tightening $\tau$ to 0.0 — ostensibly more aggressive quality control — produces the worst outcome of all conditions. At $N_{\min} = 20$, the Hoeffding tolerance is $\epsilon \approx 0.44$, meaning skills with true contribution anywhere in $[-0.44, 0]$ face substantial probability of premature retirement on unlucky draws. The resulting bank collapse to 2 active skills leaves the router with near-nothing to select — yet the surviving skills are the ones that happened to get lucky early, not necessarily the best. Replicating this calibration requires understanding that the evidence floor and the retirement threshold interact through the Hoeffding bound, and that the floor must be set large enough to make the tolerance $\epsilon$ smaller than the threshold $\tau$.