Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

How Uber Evaluates 1 Million Agent Skill Invocations Monthly

Uber shares its system for managing and evaluating over 5,000 AI agent skills across thousands of engineers, detailing a three-tier marketplace, the aifx CLI for cross-agent skill distribution, OpenTelemetry-based usage tracking, Skill Workshop for specification-driven development and evaluation, ablation testing showing skills reduce tool errors 6x and latency 31%, and cost optimizations like Code Mode cutting invocation costs by 46%.

When the Whole Company Uses Skills

A skill is a Markdown file that teaches an AI agent how to do a task well — opening a pull request, querying a metrics library, outlining a sales deck. Uber's software factory is built from these skills. In October 2025 the shared skill marketplace had one skill; a year later it exceeded 5,000. Thousands of employees have authored skills, and agents invoke them over 1 million times a month.

At this scale, questions of governance, distribution, quality, and efficiency become critical. This article shares Uber's lessons for rolling out agents company-wide, including how to get more colleagues using AI effectively and how agents can help improve themselves.

What's Inside a Skill

A skill encapsulates a workflow. On disk it's a directory containing SKILL.md (name, description, instructions) plus optional scripts and reference files. Agents read skills in three stages to keep context small:

At startup: read name and description (~100 tokens) to decide relevance.

On invocation: read the instruction body (capped at 500 lines).

When a step needs a script or reference: read those files on demand.

The open format is documented in the Agent Skills specification (https://github.com/uber/agent-skills-spec).

Distributing Skills

Uber chose a Git repository as the single submission point, leveraging existing version control: every skill has an owner, changes are reviewed, history is traceable.

Three Tiers for 5,000+ Skills

To balance velocity and trust, skills are organized in three layers. The wider the audience, the stricter the quality bar. Each promotion runs an evaluation suite.

Domain skills : any team can create a namespace, designate reviewers. One colleague review + CI pass = publish, no platform-team approval needed.

Core skills : widely adopted skills graduate here. Recommended for use, maintained by a dedicated team, every change reviewed by platform team.

Always-on skills : ~100 general-purpose skills enabled by default for everyone. New hires get PR creation, code review, tool access, data analysis, chat handling immediately.

Install Once, Use Across Agents

Uber supports multiple agents (Claude Code, OpenCode, Codex, internal agents) so engineers can pick the right tool. The aifx CLI abstracts away differences in skill definition and installation. It started as a launcher, then added skill management, MCP calls, observability, and complex configuration.

Humans and agents run aifx plugin add data-analyst to install a bundle of skills (a plugin) or aifx skill add analyze for a single skill. aifx merges six configuration layers (company defaults → team/project → repo → workspace → user → local overrides) and writes the result into each agent's native config. Role-based configs (engineer, data scientist, etc.) are also managed by aifx.

Finding the Right Skill

With thousands of skills, discovery is essential. The find-skills skill uses evaluation results and invocation counts to categorize, rank, and assign a quality score to each skill. It can download and run a skill at the point of need. An internal context graph lets anyone ask: "What skills are people doing similar work using that I haven't tried?"

Tracking Skill Usage

OpenTelemetry hooks in the agent emit events on session start and tool calls, capturing skill name, version, and whether the agent or user selected the skill. No prompt text or file contents are sent. From these events Uber computes 12 metrics per skill (users, retention, cost, latency, errors) visible in the Skill Workshop authoring tool.

Skill Quality Is a Continuous Process

Evaluating a skill differs from evaluating the agent itself: the same workflow must adapt to many scenarios and run across multiple agent environments. Some domains require domain experts to judge correctness. Skill Workshop is both a plugin and a web app that lets authors and users improve skills through experiments, systematic evaluation, and real-world feedback.

Skill Workshop

A skill has a lifecycle: author → test → publish → iterate → retire when the model can do the task natively. Skill Workshop provides workflows for each phase; each skill gets a page showing usage, cost, and quality.

Authors start by writing a spec ( spec.md) defining goals, deliverables, required tool operations, forbidden operations, and supported agents/models. Skill Workshop generates SKILL.md and test prompts from the spec; when models or agents change, the skill can be regenerated from the same spec.

Static Checks for Common Pitfalls

Uber codified authoring best practices and research into static lint rules with explicit pass/fail conditions. Three especially effective rules:

Steps must be numbered, each step does one thing, and there must be a way to verify completion (even if approximate).

Every step provides a concrete command; check the result before proceeding.

Maintain an error-handling table listing expected failures and specific recoveries — "retry" alone is insufficient.

How Evaluation Works

Waiting for user feedback is too slow. Uber built evaluation harnesses with human-annotated prompts and test environments. A recommended test-set composition:

5% baseline cases: fixed input/expected output, mocked tools.

80% real requests: scored by execution trajectory — did the agent pick the right skill/tools and use them in the correct order?

15% author-judged cases.

Evaluations run in three clean environments: the Minion backend agent platform, the AES hosted agent sandbox, and remote devpods. This surfaces hidden dependencies (hardcoded paths, cached docs, assumed OS tools) that pass on a developer's laptop but fail elsewhere.

LLM non-determinism means pass rates of 70-90% over 10 runs can be more informative than 100% (which may indicate a test that cannot discriminate). Defining "pass" requires clarity on what matters: exact wording? semantic equivalence? The agent may fixate on irrelevant details or miss hallucinations because formatting looks clean.

Using an LLM as judge works best with a set of human-annotated examples. Authors must create and collect these examples, scoring them iteratively — hence the separate baseline, real-request, and author-judged buckets.

Trajectory evaluation separately assesses what the agent attempted and why (MCP tool calls, flow adherence, table queries, doc reads, context-graph lookups, error-handling consultation) while final output is scored independently. Skill changes are judged on both result and trajectory scores.

Subtraction Testing: Remove the Skill, Rerun

In isolated eval environments Uber fixes inputs and deletes phrases or entire skills from the workflow. To measure a skill's overall impact, the same real requests run twice — once with the skill enabled, once disabled — and blind reviewers pick the better answer.

Several high-volume skills were tested this way. Beyond full on/off, they also ablated individual instruction sentences. Stronger models can be hurt by extra verbiage, so every sentence is worth a deletion experiment.

In most comparisons, enabling the skill increased task success and reduced cost. Skills help most where agents struggle to discover internal knowledge (where to read docs, how to query the warehouse).

Skill Efficiency

With a skill, the cost of a task becomes measurable, so skills are used in more sessions. Without guidance, agents try many paths, query wrong tables, misuse tools, and produce wrong answers. Skills increase correctness and reduce wasted steps.

An ablation on a data-warehouse query skill showed: disabling it increased tool calls by 13%, tool errors 6x, latency 31%, and reviewers preferred the skill-enabled answer in 87% of cases.

Skills themselves have cost: their instructions, tool calls, and results enter the agent context and are paid for again in every subsequent turn. Uber measures per-invocation cost and optimizes it.

Measuring Per-Invocation Cost

Agents continuously accumulate session cost; telemetry periodically reports the running total. When a skill is invoked, Uber takes the last reported value before invocation and the first after; the difference is attributed to that invocation. Daily sum divided by daily invocations yields average cost per call. This includes model tokens for reading the skill instructions and the subsequent interaction/tool overhead within the time window.

Reducing Skill Cost

A dedicated team optimizes the highest-usage skills, treating them like UI or other software with quality and efficiency KPIs. Techniques used:

Codify fixed steps : deterministic sequences become scripts so the model doesn't read tool definitions and full responses. This is Code Mode (see below).

Delegate to a sub-agent with a cheaper model : the skill spawns a child agent; the caller chooses the model. Simple queries use small models; synthesis uses the strongest. Bulky tool output stays in the sub-agent's context; the parent receives a length-limited summary, avoiding repeated payment for that output. A tracing skill's per-invocation cost dropped 46%; a deploy skill's first-week cost didn't drop, so each change is monitored individually.

Run scripts at load time : if a script's output is short and always needed, execute it during skill load and embed the result in the prompt, saving a round-trip. A search skill went from 4 to 3 turns, average cost down 32%.

Move polling out of the main session : the top 20 costliest sessions spent ~1/3 of tokens on notification polling. In September, PR-monitoring polling moved to a background agent using a cheaper model.

Code Mode: Fixed Workflows as Code

For deterministic tasks, code is cheaper, testable, and more reliable. Uber found many tokens spent on repeated tool calls: run query, read result, send Slack, search remote code, send email. The agent only wants the final result, but every step — loading tool definitions, invoking, reading full responses — goes through the LLM, consuming context, time, and money.

Default MCP installation amplifies this: every request sends all tool definitions to the model. With 100+ tools, that's 50-70k tokens before the user types anything.

Inspired by Cloudflare's Code Mode, Uber moved these flows into utility scripts that call tools via a gateway. Current config skips pre-loading tool definitions and returns only the parts the agent needs. After converting several high-use flows to Code Mode, success rates rose while latency and cost fell.

Code Mode skills are packaged for reuse; other skills reference them by name. Uber also bans .mcp.json files (used to install tool servers) inside skills and plugins.

Let Agents Report Issues So Skills Get Fixed

Skills break for many reasons: model upgrades change instruction interpretation, tool parameters shift, agent frameworks alter execution semantics.

The agent often knows it's struggling: it battled a weird error for 100 turns, saw a documented parameter rejected, got exit code 0 on failure, or received empty results from a query that should return data. Sometimes it eventually works around the issue, wasting tokens and context.

Uber added an always-available skill letting agents log friction and failures. Every session's stumbling blocks now have a chance to be fixed.

Discovering Problems

Each report is called a papercut — a small but painful cut. Agents submit via the default-enabled log-papercut skill; no user prompt required. This also helps the current session: the agent learns that tools/docs can be buggy, recognizes repeated blocks, and can check how others bypassed them.

A report captures: what was tried, expected outcome, actual outcome, suggested fix. All reports aggregate to a single dashboard, grouped by skill.

From Report to Fix

On receipt, similar reports are clustered, prioritized, root-caused, fixed, evaluated, and approved. Post-deployment production data is monitored for regressions before closing.

In three months agents filed thousands of papercuts; hundreds are fixed. Repaired workflows run smoother and consume far fewer tokens. Examples:

A PR-creation skill wrote the commit message to a shared temp file; concurrent sessions overwrote each other's PRs.

A deploy skill sent Unix seconds; the API expected milliseconds.

A config-lookup skill silently returned a different property's value when the requested key was missing.

A PR skill waited for CI in repos with no CI configured, hitting 404 repeatedly until timeout.

Human Feedback

Beyond agent-reported issues, Uber uses human review signals. In the Fawkes automated maintenance factory, some skills open PRs. Reviewer comments, requested changes, or rejected PRs feed back into the originating skill. Stalled PRs enter the evaluation set. This pattern is replicated across other business lines and agent platforms.

Conclusion

Skills turn written instructions into executed actions with concrete results. As usage grows and models improve, investment shifts from authoring to measuring and improving quality. One unsolved class: rarely-run but critical workflows where correctness is hard to judge. Uber is exploring trajectory analysis, structured human annotation, and task-to-skill routing.

Key Takeaways (Original TL;DR)

One format, one repo for all agents. Same skill runs in Claude Code, OpenAI Codex, OpenCode, SpaceXSI Cursor, and all hosted agents. Auth, distribution, MCP connections handled by aifx.

Skills for every role. Engineers use them for root-cause analysis, experiment interpretation. Other teams query metrics, draft docs for review, help account managers answer merchant questions.

Write the spec first. In spec.md define deliverables, supported agents/models. Skill Workshop generates SKILL.md and test prompts; skills adapt when models/agents change.

Sometimes deleting sentences improves results. Run the same real requests with and without the skill, blind-eval the answers. As models advance, some skills need rewriting, some can retire.

Improve skills from execution traces. Authors replay their own sessions, find the failing step, turn each failure into a test case.

Agents can report problems themselves. On bad parameters, wrong docs, silent errors, agents submit structured papercut reports to owners.

What's Next

A/B test skills. Large-scale validation of specific content changes; gradual rollout for critical skills.

Compile skills per model family. Prompting guides diverge across models; optimal phrasing and SKILL.md length change with model family.

Collect and process execution trajectories. Index sessions by evaluation: user intent, actual events, blockers, outcome. Enable retrospective analysis of what works and what to propagate.

Recommend skills. Proactively suggest skills relevant to the user's current work.

Build a task router. Single entry point for any request; selects agent, skills, and required context.

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

AI agentsOpenTelemetryA/B testingskill evaluationagent skillsLLM toolingCode ModeUber engineering

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion