bitrouter
Use when installing, configuring, running, or troubleshooting BitRouter from its CLI — a self-hosted LLM proxy on 127.0.0.1:4356 routing OpenAI- or…
Use when evaluating BitRouter route decisions or Eval Exchange subjects with task-native verifiers, human reviewers, private enterprise evaluators, agentic judges, or genuinely uncategorized evaluator sources.
$ npx -y skills add bitrouter/bitrouter --skill evaluating-bitrouter-routes --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/evaluating-bitrouter-routesContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when evaluating BitRouter route decisions or Eval Exchange subjects with task-native verifiers, human reviewers, private enterprise evaluators, agentic judges, or genuinely uncategorized evaluator sources.
name: evaluating-bitrouter-routes description: Use when evaluating BitRouter route decisions or Eval Exchange subjects with task-native verifiers, human reviewers, private enterprise evaluators, agentic judges, or genuinely uncategorized evaluator sources.
Evaluate outcomes outside BitRouter's serving path. Produce an immutable result and stop after BitRouter reports its admission status. Do not run the optimizer or use low-level policy publication from the evaluator workflow.
Read [the Eval Exchange reference](references/eval-exchange.md) before forming a subject or result. It is the exact current wire and authority contract.
Choose scope from the observable outcome boundary:
| Evidence boundary | Scope | |---|---| | One request-local outcome | `request` | | Bounded multi-request workflow or conversation | `episode` | | Externally defined task identity plus terminal task or verifier outcome | `task` |
Choose `evaluator.kind` from the actual source:
| Evaluation source | Kind | |---|---| | Task-native verifier | `task_native` | | Human reviewer | `human` | | Private enterprise evaluator | `enterprise` | | Agentic judge | `agentic` | | Genuinely uncategorized evaluator | `generic` |
1. Copy every decision's `decision_id`, `policy`, `route_projection`, `request_key`, `selected_tier`, `baseline_tier`, `policy_digest`, and optional `experiment` object from router-authored evidence. Preserve the experiment object verbatim; never invent or edit its id, arm, assignment unit, assignment-id digest, or challenger propensity. 2. Redact evidence before it leaves its private source. Retain raw messages, tool arguments, code, and evaluator output with the evaluator; place safe, content-addressed evidence items in the subject. 3. List only dimensions the evaluator was asked to judge. Leave unsupported dimensions absent. Use `inconclusive` when evidence cannot support a verdict. 4. Set `confidence_ppm` to the evaluator's confidence that its verdict is correct. Use `null` when the evaluator or rubric does not supply confidence. For a task or episode cost result, submit the complete unit cost as `cost.usd_micros` with unit `micro_usd`; never substitute one request's price for the complete task or episode. 5. Write a draft subject with an empty `evidence_digest`, then seal it:
bro eval subject seal subject-draft.json --output subject.json
6. For a multi-decision subject, derive `decision_credit` from the fixed evaluator credit policy:
The result remains a record but produces no per-route evidence. For a one-decision subject, empty credit means implicit full credit. When an inconclusive evaluator intentionally withholds attribution, emit that decision with `weight_ppm: 0` instead. Keep hypothetical or illustrative weights outside submit-ready JSON.
1. Insert the sealed subject and submit a result that repeats its exact `eval_id` and `evidence_digest`.
bro eval subject put subject.json --config bitrouter.yaml bro eval result submit result.json --config bitrouter.yaml
2. Treat an `admitted` response as eligible evidence. Preserve `held_out`, `rejected`, and `disputed` responses as non-training records. 3. Hand off the sealed subject, result, submission response, and private evidence references, then stop. A later `bro optimize run` invocation is a separate autonomous authorization; do not review, publish, or run it as part of evaluation.
causal policy (for example, a matched control plus one changed route family) or withhold credit.
Optimizer membership never comes from the evaluator-owned `cohort` string.
packet assigns positive quality credit. Attribute cost or latency separately.
confidence, and idempotency key stable for an equivalent retry.
scope, keep `subject_id` stable for the canonical task inside its explicit run/source/policy namespace so repeated attempts cannot inflate the generic compiler's independent-task count.
An open-source, context-aware model router that learns and adapts to your agent workflows. You're tokenmaxxing in production. Every step of every loop bills at frontier prices — file reads, tool calls, sub-agent hops, retries. Most don't need it.
Repo: bitrouter/bitrouter
Use when installing, configuring, running, or troubleshooting BitRouter from its CLI — a self-hosted LLM proxy on 127.0.0.1:4356 routing OpenAI- or…
Use when a user wants to run, compare, resume, audit, share, or submit a Harbor benchmark through BitRouter, including choosing a Harbor dataset and agent,…