Skip to content

bench-routing — GitHub Copilot CLI

Decide whether a new or higher model should replace what a role currently runs on — a benchmark-informed routing recommendation. Use when the user asks "should we upgrade X to Y for this role" or wants a benchmark-backed routing check.

In practice

What it does

Answers "should this role move to a new or higher model" from a Copilot angle: ranks the published benchmark, then says plainly that Copilot has no measured per-role ledger of its own to check that recommendation against — so unlike its Claude sibling, this page can't tell you whether an upgrade actually pays off here, only what the benchmark implies.

When to reach for it

  • Deciding whether to move a role to a newer or higher-tier model based on published capability data.
  • You want the honest caveat about what this repo can and can't measure on this harness.
  • Sanity-checking a routing change before writing it into a kit's model pins.
  • Not for a measured verdict — that only exists on the Claude harness, where the kit ledger actually has per-task outcomes to check against.

Worked example

python3 bin/bench_routing.py roles --harness copilot
python3 bin/bench_routing.py rank --top 10

roles --harness copilot derives availability from this harness's own pricing data at run time — an entry matching no dispatchable model is counted, never silently dropped, and the text card shows an aggregate N/M benchmark entries dispatchable while --json lists the unavailable ones by display name. There is no compare verdict to lean on here: the ledger compare joins against is Claude-harness implementer evidence, and compare has no --harness flag at all — the benchmark's recommendation stands unchallenged from Copilot.

Failure modes & fallbacks

  • A recommendation gets presented as measured. It isn't — say plainly that the ledger comparison lives only on the Claude harness, and point the user there for it.
  • The Intelligence Index gets read as an agentic or coding score. It's a general-capability composite; say so before recommending a change for an agentic role.
  • The benchmark file looks old. It's a screenshot-transcribed snapshot with its own recorded date — flag a stale-looking one as re-verify-worthy.

Cost & safety

Every subcommand here is read-only — no dispatch, nothing spent. usd_per_task is a ranking ratio inside the benchmark's own workload, never a bill and never added to what usage reports as real spend. Tier words only on this page, never a specific model id — the roster behind a tier changes, the tier does not.

  • route — the per-task version of this same tiering judgment, for Copilot's own roster.
  • frontier-check — the deeper go/no-go once a benchmark points at the top tier.
  • Parity matrix — the Claude sibling, where the ledger comparison actually applies.

The skill card — what the model reads

This is the SKILL.md body the model reads, transformed for this page: the source's own leading title, if it had one, is removed; every remaining heading is demoted one level to nest under this section; and relative links are rewritten to site or GitHub URLs. ${CLAUDE_PLUGIN_ROOT} and {{POLYTROPOS_ROOT}} are install-time path variables, left intact exactly as the model sees them. The unmodified original is copilot/.github/skills/bench-routing/SKILL.md.

You decide whether a role should route to a new or higher model, grounded in published benchmark evidence and checked against what this harness can actually dispatch.

Run the engine

python3 {{POLYTROPOS_ROOT}}/bin/bench_routing.py rank --top 10             # ranked benchmark tables
python3 {{POLYTROPOS_ROOT}}/bin/bench_routing.py roles --harness copilot   # per-role picks this harness can dispatch
python3 {{POLYTROPOS_ROOT}}/bin/bench_routing.py demo                      # synthetic smoke, no real data touched

This is the real argparse surface — confirm against python3 bin/bench_routing.py --help before assuming any other flag exists; do not invent one. The dataset behind every command is {{POLYTROPOS_ROOT}}/data/benchmarks.aa.json, a screenshot-transcribed snapshot of the Artificial Analysis Intelligence Index. It carries its own cached_date and provenance note — read those off the file (or the command's own header) and flag the recommendation as re-verify-worthy if that date looks stale. Never edit that file from this skill.

What roles --harness copilot means

Availability is derived at run time from data/pricing.copilot.json. An entry that matches no model this harness can actually dispatch is never silently dropped: the text card counts it out of the N/M benchmark entries dispatchable total, and --json lists it by name under the unavailable key — a bare list of display names, not a per-entry label field; the text output only ever shows the aggregate count. Role floors (the minimum index a pick must clear) are this repo's own editorial judgement, not published data, and are overridable with repeatable --floor "role=N".

The compare honesty

This is the load-bearing section. compare joins the benchmark prior against this repo's measured kit ledger — but that ledger is CLAUDE-harness evidence, and it only covers the implementer role. From the Copilot side there is no measured per-role outcome data, so the benchmark's recommendation stands unchallenged here: say that plainly rather than borrowing Claude-side evidence to back a Copilot-side pick. compare has no --harness flag of its own — never imply one exists. Anyone who wants the measured check should be pointed at the Claude harness, where the ledger comparison actually applies.

Presentation rules

  • usd_per_task is a ranking ratio computed from the benchmark workload — never a bill, and never added to real spend figures (that's what the usage skill reports).
  • The Intelligence Index is a general-capability composite, not a coding or agentic board. Say so before recommending a routing change for an agentic role — strength here does not imply strength at tool use.
  • Speak in tier words only (e.g. "the frontier tier," "a mid tier"), never a specific model id. The roster behind a tier changes over time; the tier does not.

Same-named agent

For persona-isolated runs — a separate dispatch that should carry its own model pin instead of this session's model — use the bench-routing custom agent: pick it in the /agent picker, or run copilot --agent bench-routing -p "<task>". This skill and that agent are the same capability on two surfaces; the agent's frontmatter carries the model pin, this skill runs on whatever model the session already uses.

Installed?

If the literal {{POLYTROPOS_ROOT}} text is still visible above, the bundle is not installed — tell the user to run python3 bin/harness_select.py install --harness copilot (then /skills reload picks the skills up in-session).