Benchmark v2 Xval Engine

Less to read. More room to work.

Xval ranks skills on your Mac and shortens less relevant listings, while keeping enabled skills discoverable. It measured about 38% lower cost on a 30-task benchmark, using Claude Code’s list-price accounting. This is not proof of equal quality or a savings guarantee. Tool routing stays off on stable.

Free to joinNo card needed

We’ll email your Mac link when an invite opens. No automatic email or instant download. By joining, you agree to the Terms and Privacy Policy.

See the measured results

The Xval family

Local tools and small models on your Mac, each with a specific job.

Xval Route
Claude Code receives selected skill descriptions. New Codex tabs use a name-only index and on-demand local lookup; the model chooses when to look up a skill. Skill routing: about 38% lower CLI list cost on 30 synthetic tasks. Both modes passed 29/30 audited checks; this does not prove equal quality or guarantee savings. See the benchmark and limits.
Xval Ember In XAgents
Keeps selected Claude Code conversations warm while you’re away. Smart starts on unless you saved another choice, with per-tab Off and +1 hour controls. The return-prediction model is experimental and learns from local use; without model weights, Smart labels its recent-activity heuristic. Explore Ember and the measurements.

Benchmark v2 · 30 paired coding tasks · 60 valid runs

Lower measured cost. Quality still needs proof.

Across 30 small synthetic coding tasks, Xval skill routing cost less in every pair. Both modes passed the primary checks, but a separate audit found the same real bug in both. These results do not establish production-quality equivalence.

38.1%

Lower CLI list cost

$0.9605 stock versus $0.5947 with Xval, totaled across the valid pairs. This is list-price accounting, not a subscription charge or invoice.

24.8%

Fewer median input tokens

34,080 stock versus 25,623 with Xval, rounded. Input includes ordinary input plus cache creation and reads.

29/30

Audited passes in each mode

Primary checks passed 30/30 each. The conservative post-hoc audit found one shared failure. Equal observed scores do not prove equal quality.

Total CLI list cost · 30 valid runs per mode
Stock cost $0.9605. Xval skill routing cost $0.5947, 38.1% lower across 30 valid pairs. Tool routing was off.

Xval cost less in 30/30 pairs; paired Wilcoxon p = 1.9 × 10⁻⁹. This describes consistency within these pairs, not a universal savings guarantee.

Thirty runs per mode. Input and time are medians; cost and output are totals.
MeasureStockXval skill routing
Total CLI list cost$0.9605469$0.5947126
Median input tokens34,079.525,622.5
Total output tokens22,46722,260
Median CLI wall time10.2250 s9.5595 s
Primary checks30/3030/30
Contract-audited checks29/3029/30
Audited 95% Wilson interval83.33%–99.41%83.33%–99.41%

No proof of equivalence. Exact McNemar p = 1.0, with zero pairs where only one mode passed. This is absence of observed differential failures, not evidence of equivalence.

How we measured · 15 October 2026

Same tasks. Randomized, balanced pairs.

Tasks
30 original synthetic tasks across Python, TypeScript, Swift, shell, docs and web: 15 skill-relevant tasks and 15 controls. Each pair used matching prompts, files and skills in independent temporary repositories. One run per mode per task; task order was randomized and each mode ran first on 15 pairs.
Exact setup
claude-sonnet-5-5, Claude Code 2.1.300, medium effort. The shipped skill-routing launch path on product base c001e21, with tool routing OFF. Both modes had the same 30 fixture skills, 19 bundled skills and seven native tools. MCP was empty. Codex was not tested.
Accounting
Input comes from completed CLI result.usage, including cache creation and reads. Cost is total_cost_usd, the CLI’s list-price accounting, not a subscription charge or invoice. CLI wall time excludes fixture preparation and the checker; routing preparation was measured separately.
Fixture correction
One defective shell fixture pair was excluded and rerun once after repair, with both original costs retained. Stock’s test exposed the fixture bug; Xval’s missed it. Both original rows were excluded, including Xval’s passing row. The replacement kept its original mode order but ran after the initial batch. No valid task was retried.
Total spend
$1.63 across all 62 invocations ($1.6291474 exactly): $1.5552595 for 60 valid observations and $0.0738879 for the two excluded observations.
Evidence
Report and measurements at commit 618d834. The public extract retains per-run counts, exclusions and separate primary and audited outcomes; it omits local paths and private state.

Download Benchmark v2 results (JSON) · Read the technical report (PDF)

What the results cannot tell us

The failures belong in the result.

A real shared bug
Both Python deduplication outputs treated hashable and unhashable IDs separately, missing values that Python considers equal across those groups. Both kept two rows instead of the first. The frozen primary checks missed this; the post-hoc contract audit found it. The conservative score is 29/30 each, not a claim of perfect correctness.
Routing mistakes
Xval sometimes loaded irrelevant skills and wrote an unrequested README. On the deduplication task, it used 44,703 input tokens versus stock’s 33,910, and 16.093 seconds versus 11.126. Its cost was still slightly lower. Tokens, cost, time and correctness must be reported separately.
Finite checks
The graders are finite tests, not proofs. HTML checks cover structure and accessibility attributes, not visual quality or interaction. TypeScript runs with Node’s type stripping, without static type checking. Writing extra irrelevant files is observed but not part of the frozen pass/fail rubric.
Small, authored sample
This remains an authored, small, synthetic benchmark with one stochastic run per mode. It is not a random production sample, a blinded external evaluation, a large-repository benchmark, a two-percentage-point non-inferiority demonstration, or installed-app acceptance.
Cache and timing
Provider prompt caches were not reset. Randomization and order breakdowns mitigate but cannot eliminate cache/time effects. The very small cost p-value describes consistency within these pairs; it is not a universal savings guarantee.

A future quality claim needs a larger externally sourced task set, stronger independent graders, repeated seeds/models, realistic repository/tool conditions and the normal app launch path. Tool routing remains off on stable.

Earlier, smaller study · eight invoice tasks

Earlier study · 8 synthetic tasks · 24 real runs

A small sample. A useful result.

Claude Sonnet 5.5 completed all eight tasks in each mode. Skill-only routing had the lowest measured cost. These results do not establish equal quality or predict savings on your work.

24.8%

Less input

Skill routing versus stock, summed across eight tasks. Input includes cache reads and writes.

41.1%

Lower CLI list cost

Skill routing versus stock. The CLI’s reported dollar estimate is not a subscription charge or billing invoice.

8/8

Successful tasks in each mode

Stock, skill-only and combined routing each passed all eight fixture checks. A small, homogeneous sample.

Total CLI list cost · stock = 100
Stock: 100. Skill routing: 58.9, or 41.1% lower. Skills plus tool routing: 77.7, or 22.3% lower than stock and 31.9% higher than skill-only.

One run per task per mode, eight tasks. Descriptive totals; no confidence interval or general savings claim.

Totals across eight runs per mode; task time is the median.
ModeSuccessInput tokensOutput tokensAPI callsCLI list costTask time
Stock8/8593,4782,83332$0.387721113.825 s
Skill routing8/8446,1712,75432$0.228504913.920 s
Skills + tool routing8/8583,1383,47941$0.301351915.445 s

Tool routing stays off. Combined routing cost 22.3% less than stock, but 31.9% more than skill-only and used 41 API calls instead of 32. Stock and skill-only already use Claude Code’s native deferred tool search. The extra gateway often added a discovery call.

Combined routing used 1.7% less input than stock, but 30.7% more than skill-only. Median launch preparation was 1.85 ms for stock, 162.0 ms for skill-only and 995.9 ms for combined routing. This is not a whole-launch latency guarantee.

How the earlier study was measured · 15 October 2026

Real model runs. A controlled, synthetic fixture.

CLI and model
Claude Code 2.1.300, requesting sonnet. Every completed run reported claude-sonnet-5-5. These are Claude Code results; Codex was not tested in this comparison.
Tasks and checks
Eight invoice tasks: sum, count, largest, mean, names, paid, unpaid and threshold. The fixture had 49 skills and 44 MCP tools. Mode order rotated per task. Each result had to match expected JSON, preserve the original invoices, leave a forbidden-action sentinel absent and exit successfully.
What list cost means
Tokens come from the completed CLI result.usage; dollars come from total_cost_usd on its list basis. This prices the run’s usage, including cache behavior. It does not measure your subscription bill or money saved.
What was excluded
Of 28 CLI invocations, two failed authentication and two used an invalid fixture. The table contains only the 24 valid runs. A separate readiness attempt stopped before invoking the CLI.
What this cannot prove
Eight successes per mode cannot establish a population success difference within two percentage points. One task family, no repeated runs within a mode, and cold/warm prompt caches limit the comparison. This was a diagnostic fixture run, not an exact-final-head release receipt or an installed-app test.
Execution boundary
The candidate launcher and gateway used fixture-only upstreams and scoped permissions. The normal stable permission path, interactive dialogs and native recovery after a gateway fails remain unverified. No deny/ask tool was requested by the model.

Download the count-only results (JSON) · Read the technical report (PDF)

How it works

Keep the skills. Trim the listing.

  1. Rank locally

    A small on-device model ranks installed skills for the task. The routing decision stays on your Mac.

  2. Shorten less relevant listings

    Selected skills keep fuller descriptions; the rest remain accessible through a compact index. An agent can load a skill when it needs it.

  3. Start a new agent

    Routing settings apply to new launches. Existing agents keep the setup they started with. Tool routing is a separate control and remains unavailable on stable.

Your choice · routing controls

Easy to try. Easy to turn off.

Settings → Xval Engine

  1. The main Route new agents through Xval Engine switch starts off. When you turn it on, Skill routing starts on unless you previously disabled it. Tool routing remains off and unavailable on stable. Changes apply to new agents.
  2. Leave Tool routing off. It is unavailable on stable until the real CLI safety and quality checks pass.
  3. Start a new agent to use the new setup.
  4. To disable routing, select Turn off Xval or switch off the main control. Running agents keep their current setup; start a new one for the change to take effect.

Xval Route is off by default. Ember has its own Smart setting and per-tab controls. More about Xval settings.

Privacy

Local ranking. Your usual provider.

Xval ranks on your Mac. Your agent still sends requests to its model provider.

  • The usage report stores counts, not prompts, messages or tool arguments.
  • Measured input includes cache reads and writes. Estimated listing reduction is shown separately and is not a measured cost saving.
  • Usage coverage is limited to routed Claude launches with the reporting hook. Codex and older unhooked sessions are not covered by these measurements.

Technical report

Version 3.1 · Benchmark v2

Xval: Cache-Safe, On-Device Routing of Skills and Tools for Coding Agents

The XAgents team

The 30-task Benchmark v2, its shared failure and routing mistakes, the earlier eight-task comparison, and historical studies of skill discovery and prompt caching. Historical benchmarks use different CLI versions and fixtures; they are not current release guarantees.

Read the paper (PDF)

Your skills. A smaller listing.

The main Xval Route switch starts off. When you turn it on, skill routing starts on unless you previously disabled it. Tool routing remains off and unavailable on stable. Changes apply to new agents.The XAgents team

Join the waitlist

Just your email. We’ll write when your invite is ready.

Free to joinNo card needed

We’ll email your Mac link when an invite opens. No automatic email or instant download. By joining, you agree to the Terms and Privacy Policy.

Prefer email? Write to info@xagents.in.