ROUTING

ROUTING is an agent for coding agents from l-agence/agence. It costs 0 tokens per session (2,253 once invoked), scanned A, original, no licence file.

An agent for deciding which model or provider should handle a request, using ordered routing rules and operating modes. A routing layer is the part that makes this choice; a code-mode sub-tier is a more specific choice for coding work.

In plain words
What is it for?
Use it to work with the agence model-routing reference, understand precedence between routing layers, select operational modes, and apply provider-tier hints.
Why use it?
It documents how routing decisions are ordered and how developers can express provider or tier preferences in code.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/l-agence/agence/routing
Clone the repo
git clone --depth 1 https://github.com/l-agence/agence

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ROUTING

README.md
[![agentmods](https://agentmods.dev/badge/agents/l-agence/agence/routing.svg)](https://agentmods.dev/agents/l-agence/agence/routing)
Your own site
<a href="https://agentmods.dev/agents/l-agence/agence/routing"><img src="https://agentmods.dev/badge/agents/l-agence/agence/routing.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,253 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.02253
Opus 5 $0.00000 $0.01126
Sonnet 5 $0.00000 $0.00451
Haiku 4.5 $0.00000 $0.00225

Measured 3d ago against content hash e7b9515bbd38, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ROUTING scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

codex/agents/ROUTING.md · 185 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 185 lines · 0 tokens per session scan A e7b9515bbd38

Subscribe to this mod's changes

ROUTING is an agent published in the GitHub repository l-agence/agence (4 stars, last pushed 3mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 2,253 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

nimbus-ci-doctor

Use when a Nimbus PR's CI is red and you need to root-cause the failures instead of push-and-see guessing. Pulls the failed CI job logs via gh, diagnoses against the known CI-only traps (frozen-lockfile drift, cross-platform URL/path flakes, mock.module leaks, gitleaks full-history, the pr-quality fail-fast SIGTERM)…

nimbus-agent/Nimbus · 123 tokens

nimbus-coverage-floor

Use when a PR is failing (or might fail) the Nimbus true-coverage ratchet — the per-file coverage floor enforced by audit:coverage-floor (≥85% line AND ≥80% branch; two separate constants, FLOORPCT / BRANCHFLOORPCT). Drives the file to green: runs the Docker-Linux-authoritative lcov build, reads the exact violations…

nimbus-agent/Nimbus · 0 tokens

nimbus-sonar-gate

Use when the SonarCloud quality gate is failing (or to audit it) on a Nimbus PR — it is the BLOCKING quality gate (CI gates on it). Queries the gate + issues + hotspots via the SonarCloud API, applies fix-not-exclude code fixes for real issues, and for genuine false-positives / safe security hotspots marks them with a…

nimbus-agent/Nimbus · 119 tokens

nimbus-preflight-guard

Use right before pushing a Nimbus branch to catch what CI would reject — so red never reaches CI and you avoid the push-and-see ping-pong. Runs the memory-safe static gates, scoped tests for changed files, the static structure audits, and (when coverage/connectors/migrations are touched) the Docker-Linux dry-run, then…

nimbus-agent/Nimbus · 108 tokens

agent-sdk-verifier-py

Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.

fazxes/Claude-code · 55 tokens

agent-sdk-verifier-ts

Use this agent to verify that a TypeScript Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a TypeScript Agent SDK app has been created or modified.

fazxes/Claude-code · 56 tokens