Dev.to AI 🤖 Ai 👁 0 📖 9 min read

Uber Runs 5,000 Agent Skills. Here Is What Its Data Says About Writing Yours

Most advice about agent skills is opinion. Uber just published numbers. On November 23, three Uber engineers, including Distinguished Engineer Uday Kiran Medisetty, wrote up how the company runs its internal skills mark

Most advice about agent skills is opinion. Uber just published numbers.

On November 23, three Uber engineers, including Distinguished Engineer Uday Kiran Medisetty, wrote up how the company runs its internal skills marketplace. The headline figures: one skill in October 2025, more than 5,000 a year later, and over a million skill invocations in a single month across Claude Code, Codex, OpenCode and Uber's own agent. An Uber guest on The Pragmatic Engineer podcast put the recent rate at roughly 30,000 skill executions per day, which lines up with the monthly figure.

You probably do not have 5,000 skills. You might have five. The useful part of Uber's post is not the scale. It is that at that scale they could finally measure which skill-writing habits help and which ones only feel like they help. Most of what they found applies to a single SKILL.md in a side project.

A quick refresher on what a skill is

A skill is a folder with a SKILL.md file inside. The file starts with a name and a description, followed by instructions. The folder can also hold scripts and reference documents. The open Agent Skills specification defines the format, and it is built around loading things in layers:

  • The name and description (about 100 tokens) are always in the agent's context, so it can decide whether the skill is relevant.
  • The body is loaded only when the skill is activated. The spec recommends keeping it under 500 lines.
  • Scripts and references are read only when a step asks for them.

That layering is why a company can ship thousands of skills without drowning every session in instructions. It is also why the description line matters more than people think. It is the only part the agent sees before choosing.

Lesson 1: A skill can make things worse, so test it against nothing

The most interesting thing Uber did was run ablations. They took real prompts and replayed them twice in a clean environment: once with a skill, once without. A blind judge then picked the better answer. They also tried stripping out parts of a skill to see if fewer words did better.

For most skills, the skill won and the session cost less. One example they quantified was a skill for running data warehouse queries. Without it, sessions made 13% more tool calls, hit six times as many tool errors and took 31% longer. The answer produced with the skill won 87% of the blind comparisons.

But the post is also blunt that more words are not free. As models improve, extra instructions can hurt. Some skills need to shrink, and some should retire because the model no longer needs them.

The practical takeaway for a small team: before you add another paragraph to a skill, run the same three or four real prompts with and without it. If you cannot tell the difference, the skill is costing context and giving nothing back. Uber found the biggest wins came from skills that hand the agent something it cannot work out alone, such as internal documents or a way to reach a data store. Skills that restate what the model already knows are the first candidates for deletion.

Lesson 2: Every skill has a running cost

A skill's instructions, plus every tool call it triggers and every result those calls return, land in the agent's context. Every later turn in that session pays for that context again.

Uber measures this directly. Agents report a running session cost in periodic snapshots, so they take the last total before a skill call and the first total after it and subtract. Averaged per day, that gives a cost per invocation for each skill.

Then they pulled four levers to bring the number down:

  • Put fixed steps in scripts. If a step never changes, the model does not need to reason about it. A script does it and returns only what matters.
  • Hand heavy work to a subagent on a cheaper model. The big tool output stays in the worker's context and only a short summary comes back. A tracing skill dropped 46% in cost per invocation this way. A deployment skill showed no drop in its first week, which is a good reminder to measure each change instead of assuming.
  • Run the script at load time when its output is small and always needed. One search skill went from four turns to three and its mean cost fell 32%.
  • Move polling out of the main session. In Uber's 20 most expensive sessions, notification turns made up about a third of the spend. They moved pull request monitoring to a background agent on a cheaper model.

You do not need OpenTelemetry to apply this. Look at a long session that used your skill and ask where the tokens went. If the answer is "re-reading a 4,000-line JSON response five turns later," that step belongs in a script or a subagent.

Lesson 3: Too many tools in context is a tax you pay before typing

Uber's post has one number every MCP user should see. With more than 100 tools installed the default way, the tool definitions alone took 50,000 to 70,000 tokens of context before the user typed anything.

Their fix was inspired by Cloudflare's Code Mode, which argued in 2025 that LLMs are better at writing code that calls an API than at making tool calls one by one. Uber turned common flows (run a query, send a Slack message, search code, read email) into utility scripts that go through an internal tool gateway. The agent no longer preloads every definition and only reads the part of the result it needs. Uber reports better success rates, latency and cost on its most-used flows. They also now block skills and plugins from shipping .mcp.json files that install their own tool servers.

For a small setup, the lesson is simpler: count your installed tools. If a session starts with tens of thousands of tokens of tool schemas you rarely use, disable most of them, or wrap the few you use often in a script the skill can call.

Lesson 4: Lint your skills like code

Uber turned what it learned about good and bad skills into a linter with pass or fail checks. Three of the checks they shared are easy to copy:

  1. Steps are numbered, each step has a single goal, and there is some way to check that it worked.
  2. Each step gives a concrete command and checks the result before moving on.
  3. The skill has an error recovery section that maps specific failures to specific fixes. "Try again" is not a fix.

Here is what that looks like in a small skill:

---
name: release-notes
description: "Drafts release notes from merged PRs since the last tag. Use when the user asks for release notes or a changelog."
---

## Steps
1. Find the last tag: `git describe --tags --abbrev=0`. Stop if it prints nothing.
2. List merged PRs since that tag: `gh pr list --state merged --search "merged:>=<tag date>"`.
   Check that the list is not empty before going on.
3. Group PRs by label and write the notes to `RELEASE_NOTES.md`.

## Error recovery
| Failure | Fix |
|---|---|
| `fatal: No names found` | Repo has no tags. Ask the user for a start date. |
| `gh: not logged in` | Tell the user to run `gh auth login`. Do not retry. |
| PR list is empty | Confirm the tag date. Do not invent entries. |

The error table is the part most people skip, and it is the part that saves the most turns when something goes wrong.

Lesson 5: Your eval should not pass every time

Uber's suggested mix for an eval suite is about 5% golden cases (fixed input, expected output, mocked tools), 80% real prompts graded on trajectory, and 15% cases judged by the skill's author. "Trajectory" here means whether the agent used the right skills and tools in the right order, separate from whether the final answer looked right.

Two details stand out. First, they run evals in clean remote environments, not on the author's laptop. That alone exposed skills that quietly depended on a local file path, a cached document or a specific OS tool. Second, they say an eval that passes 70% to 90% of the time can be more useful than one that passes 100%. LLM output varies, and so do LLM judges. A perfect pass rate may mean the eval is not sensitive enough to notice a real change.

For a small team, a reasonable start is a handful of real prompts you have already used, run in a fresh container, with you reading the transcript to see which tools were called and in what order.

Lesson 6: Let the agent report what is broken

This is the idea most worth stealing. Uber gives every agent an always-on skill called log-papercut. When an agent runs into friction (a flag that the help text lists but the tool rejects, a command that exits 0 on failure, a query that returns nothing when it should match), it files a structured report: what it tried, what it expected, what happened and what would fix it. Reports land on one dashboard, grouped by skill.

Agents filed thousands of papercuts in three months and hundreds were fixed. The examples Uber listed are the kind of bugs humans rarely report because they look like the agent being flaky:

  • A pull request skill wrote the commit message to a shared temp file, so two parallel sessions overwrote each other's pull requests.
  • A deployment skill told the agent to pass seconds where the API expected milliseconds.
  • A config lookup skill silently returned a different property when the requested key did not exist.
  • A pull request skill waited for CI on a repo with no CI and repeated the same 404 until it timed out.

None of these needs a platform team to copy. A skill that appends a short structured note to a file or an issue tracker whenever the agent gets stuck is a few lines of Markdown. The hard part is reading the reports.

Uber pairs this with human signals. In Fawkes, its automated code maintenance system, pull requests that get heavy review comments or are rejected feed back into the skills that produced them, and the blocked pull requests become eval cases.

What Uber says is still unsolved

The post ends honestly. The hard problem left is evaluating workflows that run rarely, matter a lot and are hard to judge. Their next steps include A/B testing skill changes, compiling different versions of a skill per model family (because phrasing that works for one model may not work for another), indexing session traces, recommending skills to users, and a task router that sends each request to the right agent and skills.

The per-model point is worth noting if you switch between agents. A skill tuned on one model may not be the best version for another, and Uber is treating that as a build step rather than a one-off rewrite.

A short checklist

If you maintain even a few skills, these are the changes with the best evidence behind them:

  • Run real prompts with and without each skill. Delete or trim the ones that do not win.
  • Keep the description sharp. It is the only thing the agent sees before choosing.
  • Move fixed steps into scripts and large outputs into subagents.
  • Count the tool definitions loaded at session start.
  • Number the steps, verify each one and add an error recovery table.
  • Test in a clean environment, not your own machine.
  • Give the agent a way to report friction, and read what it reports.

Uber's numbers come from its own internal setup, so treat the exact percentages as one company's results rather than benchmarks. The direction is still clear: a skill is code that runs on a model, and it deserves the same testing, profiling and bug tracking as any other code.

Which of your skills would survive a with-and-without test?

Sources

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.