If you work with coding agents, you probably have a few SKILL.md or CLAUDE.md files that keep growing. Every time an agent does something annoying, a new line goes in: use this command, never touch that folder, run the tests this way. Why? So many pundits, so many places, all providing “sage” advice (with no factual basis) on “How to get your model to listen to you.” It feels like progress. It is also a little like leaving notes on the fridge for a roommate who may or may not read them.

A preprint from earlier this month, Agent Skill Evolution: How Revisions Affect Coding Agents by Jiajie Wang and colleagues, tries to measure whether those edits actually change behavior. The short answer is yes, sometimes, and mostly when the rule is something the agent can act on.

What they tested

The authors collected thousands of real revisions to Agent Skills, the SKILL.md files that tell a coding agent how a project works. Most revisions change a rule or a procedure. To test whether those changes matter, they built 80 sandbox tasks, each tied to a rule added in a real revision, and each rule names something concrete: a command, a flag, a file or an identifier.

Then they ran four coding agents on those tasks, with the old SKILL.md and with the revised one, and counted how often each agent took the required action.

What changed

With the added rule, the rate at which agents took the required action rose by 0.23 on average, ranging from 0.16 to 0.36 depending on the agent. The paper says most of that gain comes from rules that name a specific command or path the old Skill left out.

That matches my intuition about how these files get used. “Be careful with migrations” gives an agent nothing to do. “Run make migrate-check before committing” gives it a step it can take, and one you can check afterward.

The context bill

Skills are not free. In the paper’s setup, loading a Skill’s body raised an episode’s token count by about 50 percent on average.

Real tools avoid paying that every time. Anthropic’s documentation for Claude describes two levels: the Skill’s name and description load at startup, and the full SKILL.md enters the context window only when a request matches the description. The authors tested that pattern too, listing only the name and description and leaving the body on disk for the agent to read when it decided it needed it. Under those conditions the agents kept about half of the action gain (51 percent).

So you are choosing between paying for context up front and getting the full effect, or loading on demand and getting roughly half of it. Neither is obviously right. It depends on how often the rule matters and how much each run costs you.

What the study doesn’t show

The findings apply to concrete, mechanically checkable rules, not style guidance like “write clean code.” The agents ran in a network-less sandbox, with a step limit, on one small published harness (mini-SWE-agent). Eighty tasks is a good start, but not conclusive evidence. Your production agent, with your repository and your model, may behave differently.

What I’d take from it

  • Write rules the agent can act on. Name the command, the flag, the file or the path.
  • Don’t expect restating an existing rule in stronger words to change much. The gain came from information the old Skill didn’t have.
  • Treat every line as context you pay for. If a rule matters on every task, it may belong in the always-loaded part. If it matters rarely, on-demand loading is probably the better trade.
  • Test it. The paper’s design is easy to copy on a small scale: pick a handful of Skills, give each one checkable rule, and run the same tasks with the Skill preloaded, loaded on demand and absent. Then count how often the agent runs the required command.

That last step is the one most of us skip, myself included. We edit the file, the next run happens to go well, and we call it fixed. A small, boring test would tell us whether the note on the fridge is doing anything at all.


Sources: Jiajie Wang, Yutong Zhao, Tianlin Li, Huashan Chen, Jinfu Chen, Kebin Peng and Sen He, “Agent Skill Evolution: How Revisions Affect Coding Agents” (arXiv:2610.04832, October 2026); Anthropic, “Agent Skills” (Claude Platform documentation); Anthropic, “Use Skills in Claude Code”; SWE-agent project, mini-SWE-agent README.

← Back to writing