When Agent Skills Go Stale: Runtime Behavior and Selective Maintenance in Evolving Environments: what it means for business leaders

A skill an agent saved yesterday can make it less accurate or slower once the environment changes, and a cheap replay-and-repair routine recovered much of the lost value in the paper's tests without being told what changed.

1. What the method is

Agent skills are saved instructions, code and resources that let an agent reuse what it learned on earlier tasks rather than working it out again. This paper, from AWS Agentic AI and USC, does two things. First, it measures what happens to a skill's value when the environment under it changes: a package update, a revised form, a renamed API endpoint. Value is measured two ways against the same agent with no skill: task performance gained and execution work saved. Second, it introduces selective maintenance, a procedure that records checks from the skill's content and its successful runs, replays them before reuse without any model calls, verifies whether a changed observation actually conflicts with the skill, repairs only the affected part, and validates the result, rebuilding from scratch only when repair fails. It is given no description of what changed.

2. Why the method was developed

Skills pay off only while what they stored remains true. A skill that cached a field name, a file path or an endpoint keeps most of its usefulness after an update but carries one wrong commitment, and the agent either follows it and fails or notices and spends extra turns working around it. That second case is invisible if we only track task success: the task passes, the saving is gone, and the skill is never corrected, so every later run pays again. The authors argue the obvious triggers are both wrong. Reacting to any environment change is too broad, because most changes do not touch what the skill stored. Waiting for failures misses the cost increase, and in production we often have no ground-truth outcome to wait for. Earlier work benchmarked skills, or changing tools, or library housekeeping, but did not track one skill's value across a change.

3. Who should care

Anyone running agents with persistent skills, playbooks or cached procedures: platform engineering teams that own agent harnesses, operations teams automating form-filling or back-office workflows against third-party APIs, and whoever holds the inference budget. For engineering, the finding is a design choice: skills that store resolved values save more work up front and lose more when things change, while skills that store how to look values up degrade more gently. For finance and product owners, a skill library is not a one-time asset; it needs a maintenance line, and success-rate dashboards alone will not show when it has stopped paying. For teams choosing models, the counterintuitive point is that a stale skill can drag a stronger model below its own unaided baseline while still helping a weaker one, so upgrading the model does not remove the need to maintain skills.

4. How the method works

When a skill is created, rule-based extraction pulls the paths, commands and identifiers out of its instructions and code, and operations from successful runs are replayed to record what the environment returned. Each record holds an executable check, its original output and a pointer to the part of the skill that depends on it; checks whose output varies between runs are dropped. Before reuse, the checks run again with no model calls and the outputs are compared. Differences go to verification: simple cases are settled from the record, and where interpretation is needed Opus 4.7 judges three times and two must agree there is a conflict. A model then edits only the flagged content. Candidates run on separate validation tasks and are accepted only if they meet performance and cost thresholds; if a repair cannot be localized or keeps failing, the skill is rebuilt without the stale version, and if nothing passes, the old skill stays.

5. How it was evaluated

Four settings, each with a before and after version and a fixed task objective: TerminalBench-2 with 38 audited changes to packages, configuration, schemas and files across 30 tasks; five IRS tax forms filled for ten applicants each, with later official revisions that rename, renumber, add or remove fields; 51 AppWorld tasks with three API endpoints renamed; and 41 ScienceWorld conductivity variations with the target object moved. Two models, Claude Opus 4.7 and Claude Haiku 4.5, ran each with and without the skill in both versions. Skills were authored by Opus 4.7 in two styles from the same material: procedural, which keeps the lookup steps, and cache-heavy, which stores resolved values. Cost is agent turns, or environment steps in ScienceWorld. Maintenance was compared against reusing the stale skill unchanged, with validation tasks kept separate from the reported ones, and was tested for one maintenance event per skill. The text we worked from is cut off partway through the appendix.

6. How it performed

With cache-heavy skills, Opus on the revised tax forms fell from 0.856 field accuracy unaided to 0.731 with the skill, and on ScienceWorld it scored 0.870 against 1.000 while taking 26.8 steps instead of 19.3. Maintenance, reported for Haiku, raised tax-form accuracy from 0.305 to 0.975 and TerminalBench-2 pass rate from 0.561 to 0.649, and cut ScienceWorld steps by up to 37%; mean cost fell in all eight settings, though one procedural AppWorld skill lost accuracy. Replay took a median 0.2 to 4.3 seconds, and on the tax forms a maintenance event cost 91K to 151K model tokens, repaid after roughly 21 to 42 later uses. The authors' limits: one model family, one change at a time, a single maintenance event, some needless repairs, missed changes to file contents the checks never recorded, and an adapter for each new kind of environment. Our call: pilot it on our most reused agent skills. (Source: arXiv 2611.22525, 2026)

← Back to dossier index