Measuring Agent Skills: Run It With, Run It Without, Print the Noise
A skill looks free when you install it. Its description joins every request, and its body stays in the session after the first use. It is easy to keep adding skills, because each one seems to help and nothing shows its bill. On November 23, Uber published the method it uses on its own skills. Replay a real prompt with the skill and without it, and let a blind judge pick the better answer. Print the noise, and get the cost by subtracting session totals.
One real prompt replayed twice, as Uber describes its ablation test. The three ratios between the two sessions are the ones Uber measured for a warehouse query skill. I chose the absolute tool calls, seconds, and dollar totals as an example. The cost step uses the same event list as Fig. 2.
What a skill costs before it helps
A skill is a folder with a SKILL.md file. The agent always holds its name and description, and it reads the body only when the skill runs. Uber's article puts the description at "about 100 tokens" and keeps the body "under 500 lines." Both are reported design targets, with no measurement behind them. Uber counts its catalog from the Git history of one repository: 1 skill in October 2025 and more than 5,000 a year later.
The body is the part that keeps charging. Once the model reads it, the text stays in the conversation, and every later turn sends it again. Uber states it directly. A skill's instructions and tool results enter the context, and "every later turn in the session pays for that context again."
OpenRouter measured that charge on one GitHub question. It summed input tokens across every request of a tool-calling loop. It ran each setup three times on October 20, 2026, and printed medians. On Claude Sonnet 5.5, the bare gh CLI used 1,421 input tokens. The same CLI plus a 1,492-character skill used 3,315. The GitHub MCP server with its 46 default tools used 59,417.
Read those three numbers against two baselines. Against the 46-tool server, the skill used about one eighteenth of the tokens. Against the bare CLI, it used 1,894 more tokens, which is 2.3 times as many. OpenRouter says every run in that table answered correctly. So on this task the skill added cost and no correctness, because the model already knew the tool. OpenRouter's own conclusion is that for a well-known CLI "a skill is optional."
The limits are on the page. It is one task on one server, with three runs and no spread printed. OpenRouter also sells a tool search feature that the same post promotes. I take the direction from it and not the ratios.
Build the eval set from real prompts
Before any comparison, you need prompts to replay. Uber gives its guidance for one skill's suite as a mix. About 5% are golden cases: the input is fixed, the output is known, and the tools are mocked. About 80% are real prompts graded on trajectory. About 15% are judged by the skill's author. Uber defines trajectory as "whether the agent used the right skills and tools in the right order."
That mix is guidance, and Uber prints no suite size for any skill. So I cannot tell you what 5% is 5% of. For an example suite of 40 prompts, the mix gives 2 golden cases, 32 real prompts, and 6 author-judged cases.
The weight on real prompts has a reason. A golden case tells you the skill still does what its author expected. A real prompt tells you what users ask for, which the author did not expect. Uber also turns failures into cases. A pull request from its maintenance agent that reviewers block becomes part of the eval set.
Akshay Katyal runs the Claude Code and Codex platform at Fin, the company formerly named Intercom. His six-month review of the company's skills shows the shape of one case. Each case has an expect block and an expectations list. The first compares the tools the agent called, and their arguments, with fixed values. The second gives a judge model criteria for the run. Both must pass. That pairs a code check on the trajectory with a judged check on the answer.
Uber runs each suite in three places, and one of them is a clean remote machine. That run found skills that needed file paths, cached documents, or OS tools that only the author's laptop had. My evals guide covers how to write tasks and how to calibrate a judge against a person. I do not repeat that here.
A suite that passes every run tells you less
Uber makes a claim that sounds wrong at first. It writes that "evals that pass 70%-90% of runs can be more useful than those that pass 100%." It gives this as experience and prints no data for it. The reason it offers is that a full pass rate can mean the eval misses meaningful changes in the answer.
The mechanism is room to move. A case that passes 3 of 3 runs without the skill cannot show a gain. A case that passes 0 of 3 without the skill cannot show a loss. Only the cases in between can move in both directions.
A new preprint put a number on that. Its authors audited SkillsBench, a public benchmark of skills, from the source code and the public logs. They analysed 7,554 public trials and grouped them into 1,421 paired cells of configuration and task. No cell had more than three runs in either condition. Their abstract says that "arithmetically, 58% of the cells could not have shown a decrease." I read only the abstract, so the floor explanation above is my reading of that sentence.
The same abstract holds a null result that belongs here. SkillsBench had reported that curated skills lower the pass rate on some tasks. The authors pooled the runs, corrected for multiple tests, and found no task whose drop was statistically significant. The authors conclude that raw counts of negative cells "cannot show that skills cause harm." With three runs per cell, the benchmark cannot show the opposite either.
The audit also found problems in the grading. On two tasks the result depended on the grader, and a third task had a gap in its definition. The average lift on those three tasks was 74.6 percentage points. Over the full set it was 18.7 points, against the 16.6 points that SkillsBench reported. One harness had also loaded 48 built-in skills during most runs. The abstract does not say which arms those runs were in. If the skill-free arm was among them, that baseline already held skills.
The ablation, one step at a time
Uber describes the test for a whole skill in two sentences and one figure caption. I put it into five steps, in my words and in the order you would run them. Step 5 comes from the caption, which defines the noise band as "how much two identical runs differ."
- Collect real prompts that used the skill. Do not write new ones for the test.
- Replay each prompt in an isolated environment with the skill installed.
- Replay the same prompt in the same environment with the skill removed.
- Give both answers to a judge that cannot tell which is which. Record its pick.
- Replay the first arm again, and judge the two identical arms against each other. The size of that difference is the noise band.
Uber also runs the test after it deletes words from a skill. Its stated reason: "As models get better, more words can reduce performance."
The one result Uber prints in text is for a warehouse query skill. It replayed real prompts in both arms. With the skill removed, tool calls rose 13%, tool errors rose sixfold, and the session ran 31% longer. The judge preferred the skill's answer in 87% of pairs. The baseline is clear: the same prompts with the skill removed.
Three things are missing, and they are the weakness of the article. Uber prints no count of comparisons, so 87% has no denominator. It names no judge model and no model under test. The noise bands and the 95% intervals for each skill exist only inside a chart image. The image's description says document download helped most and tool discovery helped least. The prose summary for all skills is "in a majority of the cases," which is not a number.
Each square is one prompt replayed with and without the skill, then judged blind. Set the number of pairs, the share the skill won, and the noise band. The figure computes a 95% Wilson interval and compares its low end with the band. You set every value here. The third preset takes Uber's 87% share, because Uber did not print its number of pairs.
Judged pairs
The interval is the Wilson score interval at 95%. The rule is mine. Keep the skill when the low end of the interval is above 50% plus the band. The band is the distance from 50% when two identical arms are judged against each other. Ties are left out of the count.
Together AI's report shows the same test from a team that printed its counts. It runs each task three ways: the bare agent, the agent with its docs MCP server, and the agent with its skill package. Each full run uses three models and two attempts, so each task gets six attempts per setup. An LLM judge reads the recorded session and returns pass, incomplete, or fail. On September 30, 215 runs were scored, and 192 of them passed.
Then Together merged its 14 product skills into one. The 14 skills had left 7 of 72 runs incomplete. Together called that a 90% pass rate, and 65 of 72 is 90.3%, so I use 65 passes. The first merged skill passed 54 of 72 runs and left 18 incomplete. Together's chart description puts the average cost per run at $0.898 against $0.431 before. The transcripts showed why. The new router file was about 14,000 characters, and runs loaded 57% more skill content than before.
After fixes that the transcripts pointed to, the merged skill reached 70 passes in 72 runs, and cost per run returned to $0.433. Together printed no repeat run and no noise band. So I computed the 95% Wilson intervals myself. For 65 of 72 the interval is 81.3% to 95.2%, and for 70 of 72 it is 90.4% to 99.2%. They overlap, so the final gain over the 14 skills is not settled by this one run. Together printed no spread for cost either, so the doubled cost of the first merge is also one measurement.
Together adds one more control that Uber does not mention. It tests with weaker models on purpose. On one task, a smaller model passed 4 of 15 attempts with skills enabled. A larger model from the same vendor passed 13 of 14 with the same setup. The larger model worked around a wrong link in the skill file, and the smaller one exposed it. Together says plainly that its June to autumn trend is no controlled comparison. The snapshots used different models and tasks, and Together also changed its CLI and SDKs between them.
Cost by subtraction
Quality is half of the test. The better answer has a price, and Uber measures it without reading any prompt text. Each agent keeps a running total of what the session has cost. Telemetry sends that total at intervals, as a series of snapshots. For one skill call, Uber picks two snapshots: the latest one before the call and the earliest one after it. The difference between their totals is the cost of the call. A daily sum per skill, divided by that day's call count, gives the cost per invocation.
Here is one call with example numbers. A session has cost $1.240 at the last snapshot before the agent invokes a warehouse query skill. The skill reads its file, runs one query, reads 50 rows, and writes a summary. Those four events cost $0.163 together. The next snapshot arrives after the skill returns and reads $1.442. The subtraction gives $0.202 for the call.
The $0.039 gap is two events that fell between the same snapshots: a user turn and a file read. Uber states this limit itself. The number "includes the model reading the skill, the turns that follow, and any other tool calls in that window." It does not print the snapshot interval, so I cannot size the error for its numbers.
One session as a tape of events with their costs. Snapshot rows report the running session total. Move the snapshot interval, or put one more tool call inside the skill's window. The figure subtracts the two snapshots around the call and compares the result with the skill's own events. All costs and times are example values.
The method is Uber's: last total before the call, first total after it, subtract. The event list is mine. A cost is booked at the time its event starts. Green rows are the skill's own events inside the window. Red rows are other events that the subtraction also counts.
Uber uses the number to compare a skill with its own earlier version, where much of the same error sits on both sides. It reports three results. A tracing skill moved its work to a subagent on a cheaper model, and its cost per invocation fell 46%. A search skill ran its script at load time, which removed one of its four turns, and its average cost dropped 32%. A deployment skill got the subagent change and "showed no drop in its first week."
That third result is the one I trust most, because a team that prints a null result is measuring. All three still fall short of a full report. Uber gives no dollar values, no call counts, and no spread for any of them. A 46% drop over ten calls and over ten thousand calls read the same in the text.
The strongest cost lever in Uber's list is moving fixed steps out of the model and into scripts. Two other teams measured that idea with printed run counts, and one of them printed where it loses.
Datadog compared its Core toolset with code execution in its own MCP server. Each of 25 observability tasks got three runs for every pairing of model and toolset. There were four models from two vendors. That is 300 runs per toolset by my arithmetic. Averaged across the models, input tokens per task fell from 159k to 43k. Correct final answers rose from 74% to 90%, and the average number of tool calls dropped from 4.1 to 2.5. Datadog printed no raw correct counts and no spread, and it measured its own product.
Pydantic graded 5,276 runs across eight models, with each task run in both modes. Deterministic graders scored every run, with no LLM judge. On the long tasks, 67 of 288 runs failed without code mode and 21 failed with it. On small jobs the result reversed. With 5 items to process, three of the five tasks cost 21% to 38% more in code mode. Across the 50 everyday tasks, code mode lowered cost by 16%. Success there moved 1.6 points, which Pydantic labels noise.
So the lever has a break-even point. Moving steps into code pays when the job is long or the results are large. On a short job it adds a script the model has to write and read. The same rule applies to a skill that wraps a script: measure it on the size of job your users bring.
| Source | What it compared | Runs | Noise it printed |
|---|---|---|---|
| Uber, skills | one skill present or removed, blind pairs | not printed | a band and 95% intervals, in a chart image only |
| OpenRouter | CLI, skill, and MCP server on one task | 3 per setup, medians | none |
| Together AI | bare agent, docs MCP, and skills on 12 tasks | 6 per task per setup, 215 scored | none |
| Datadog | Core toolset or code execution on 25 tasks | 3 per model per toolset, 4 models | none |
| Pydantic | code mode off or on, five small apps | 5,276 graded, 3 or 4 repeats | one result labeled as noise, no band |
| SkillsBench audit | skill or no skill in 1,421 cells | at most 3 per condition | the subject of the paper |
Run counts as each source printed them.
When a skill retires
Uber describes a skill's life as write, test, release, improve, and then retire when "a better model makes it unnecessary." It prints no count of retired skills. The ablation is its retirement test: when the answer without the skill stops losing, the skill is only cost.
Fin retires on a different signal, and it printed the count. An automated sweep reads usage telemetry and deletes every skill with no recorded use in the previous 60 days. Since June, that sweep has merged 129 pull requests, and they removed 176 distinct skills. An earlier manual pass deleted 93 unused skills in one pull request. The post does not say whether the 176 include those 93. His June post put the catalog at more than 600 skills across nearly 80 plugins. The November post gives no current total, so the share retired since June is unknown.
The two signals catch different failures. Usage finds the skill nobody calls. Ablation finds the skill that is called often and no longer helps. Fin covers part of the second case with a nightly judge over session transcripts. Every use of a skill gets one of five verdicts, from unused bundle to effective. A skill in heavy use with no gain is the costly kind, and only a with-and-without test finds it.
A recipe for one skill
This is the smallest version of the test that still prints its noise. It uses Claude Code in headless mode, and any agent CLI with a JSON output works the same way. Pick 30 real prompts from your own sessions that used the skill. Run three passes: with the skill, with the skill again, and without it. That is 90 runs.
The headless docs say that --output-format json returns the answer in a result field and the spend in total_cost_usd. The skills docs say that disable-model-invocation: true in a skill's frontmatter "removes the skill from Claude's context entirely." That one line is the removed arm.
# Passes with1 and with2: the skill as installed.
# Pass without: first add this line to the skill's frontmatter.
# disable-model-invocation: true
PASS=with1
mkdir -p "runs/$PASS"
for f in prompts/*.txt; do
claude -p "$(cat "$f")" --output-format json \
> "runs/$PASS/$(basename "$f" .txt).json"
done
Flags and field names from the Claude Code docs. The folder layout is mine. Set PASS to with1, with2, and without in turn. If the skill runs tools that need permission, add the same --allowedTools list to every pass.
Run each pass in a fresh checkout or a container, so one run cannot read files that another run wrote. My essay on grading on a clean image covers why the environment matters as much as the grader. Then judge each prompt's pair. Shuffle which answer is shown first, and strip any line that names the skill.
You will see one task and two answers, labeled 1 and 2.
You do not know how either answer was produced.
Pick the answer that completes the task more correctly.
Reply with only: 1, 2, or tie.
Judge with1 against with2 first. Those two passes are identical, so a fair judge splits them near 50%. In my example the split is 17 to 13. That is 56.7%, so the noise band is 6.7 points. Then judge with1 against without. Say the skill wins 22 of 30.
Fig. 1 holds this case as its first preset. The share is 73.3%, and the 95% Wilson interval runs from 55.6% to 85.8%. The band edge is 56.7%. The low end sits inside the band, so 22 of 30 does not yet show that the skill helps. I add 30 more prompts. At 44 of 60 the interval runs from 61.0% to 82.9%, and the low end clears the band.
Cost needs no snapshots here, because each run is its own session. Average the totals of each pass and subtract.
jq -s 'map(.total_cost_usd) | add / length' runs/with1/*.json
jq -s 'map(.total_cost_usd) | add / length' runs/without/*.json
The decision rule has four outcomes, and I write the chosen one in the skill's folder with the date and the model.
- The low end clears the band, and the skill costs less per run. Keep it.
- The low end clears the band, and the skill costs more. Keep it, and record what the better answer costs.
- The interval overlaps the band, and the skill costs more. Trim words and test again, or retire it.
- The high end is below 50% minus the band. The skill makes answers worse, so retire it now.
Where the test goes wrong
The judge is the first place. If an answer mentions the skill by name, the judge is no longer blind. Strip those lines, and check the judge against your own picks on ten pairs before you trust it.
The second is the baseline. The SkillsBench audit found a harness that loaded 48 built-in skills during most runs. List what the removed arm loads before the first run. On Claude Code, a personal skills folder and a plugin can both add skills that you forgot.
The third is the size of the sample. With 30 pairs, the 95% interval is about 30 points wide. That width cannot separate a 60% skill from a coin flip. Three runs per prompt, which several reports in the table use, tell you the direction at best.
The fourth is the model. A stronger model can work around a broken skill and hide the fault, as Together found. A new model can also make the skill unnecessary. Run the test again on each model change, and keep one weaker model in the set.
The last is the cost window. In production you have snapshots and no per-run totals. Fig. 2 shows the error from a long interval, so compare a skill only with itself across a change. Do not rank two skills by a number that includes their neighbors.
What Uber left out, and why I still use its method
Uber's article has gaps, and I listed them: no suite sizes, no pair counts, and interval data only in an image. It still prints a null result and states the limits of its own cost number. The recipe above fills those gaps for one skill on your own prompts. Run it before a skill moves into a shared catalog, and run it again when the model changes.
Keep reading