routing

routing is a skill for Claude Code from larcane97/clausona. It costs 159 tokens per session (5,768 once invoked), scanned A, original, MIT.

A routing skill for clausona, a tool that keeps several Claude Code and Codex accounts on one computer. It runs a coding agent using the account selected by quota-usage rules and manages those routes.

In plain words
What is it for?
Use it to run work on an account with available quota, distribute work across accounts, and create, change, or inspect routes.
Why use it?
It helps avoid accounts that are close to their usage limits and makes account selection predictable. It can also show how the selection was made.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex.

Part of the routing plugin — 1 skill shipped together

Good fit Use it to run work on an account with available quota, distribute work across accounts, and create, change, or inspect routes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/larcane97/clausona/routing
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.

Any agent
npx skills add larcane97/clausona --skill routing
Clone the repo
git clone --depth 1 https://github.com/larcane97/clausona

Made for: Claude Code.

Or install routing, the plugin that ships this one along with the rest of its 1 skill.

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/skills/larcane97/clausona/routing/github.svg)](https://agentmods.dev/skills/larcane97/clausona/routing)
Your own site
<a href="https://agentmods.dev/skills/larcane97/clausona/routing"><img src="https://agentmods.dev/badge/skills/larcane97/clausona/routing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for routing

Your own site · 80×15
<a href="https://agentmods.dev/skills/larcane97/clausona/routing"><img src="https://agentmods.dev/badge/skills/larcane97/clausona/routing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.1 $0.00159 $0.05768
Opus 5.5 $0.00064 $0.02307
Sonnet 5.5 $0.00032 $0.01154
Haiku 4.5 $0.00016 $0.00577

Measured 5d ago against content hash 4d1c0eaefd47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d 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.

plugins/routing/skills/routing/SKILL.md · 308 lines

How it starts

The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Routing runs across clausona accounts

clausona keeps several Claude Code and Codex accounts on one machine. A route is a named group of those accounts and a rule for picking one of them by how much of its plan quota is used. clausona run --route <name> starts the tool on the account the rule picks right now. (csn is an alias for clausona that only the user's interactive shell has. Run clausona.)

Run clausona route --help once before anything else. It lists every command, option and exit code of the installed version. Where it differs from this skill, it wins.

clausona route with no arguments opens the Routes screen, a TUI meant for a person at a terminal. Do not run it; use the subcommands below. (In a shell without a terminal it only prints the help.) A user who would rather look through routes on that screen can run it themselves.

What decides the pick

  • An account's usage is the higher of its 5H and 7D windows: 0% 5H with 99% 7D is 99%. That number, and nothing else, is ranked and shown.
  • When the tool's arguments name a model (claude --model opus, codex -m gpt-5.3-codex-spark, also after exec), the account's limit on that model joins the max: Claude's is weekly, and a Codex one can have a 5-hour and a weekly window, of which the higher counts (named in the note and usage.window as GPT-5.3-Codex-Spark 5H or … 7D). A model falls under a limit when the limit's name (Opus, GPT-5.3-Codex-Spark) is a word of the model's name, in any case: opus, claude-opus-4-5, opus[1m] fall under Opus; gpt-5.3-codex does not fall under GPT-5.3-Codex-Spark. A run that names no model counts no model's limit, even if the account's default model has one: pass --model when the work needs a model with its own limit. -c model=…, a Codex config profile and opusplan are not read.
  • clausona stops at the first stage that finds someone:
    1. pool: from members under maxUsage (default 80), chosen by the strategy.
    2. fallback: the first fallback member, in listed order, under maxUsage.
    3. overflow: every member is at maxUsage or over it, so the one with the most left (lowest usage) is taken, pool or fallback, at 90% or 99% alike.
    4. nobody: every member is at 100% or skipped. Nothing is launched, exit code 75. With --wait, it waits for the soonest reset instead and starts again at 1 (see Waiting).
  • Strategies: round-robin (default; the account picked longest ago, a never-picked one first), headroom (lowest usage), expiring (lowest usage among accounts whose weekly limit resets within 24 hours; with none, as headroom).
  • Signed-out, expired and unreadable accounts are skipped at every stage, and so is one whose stored sign-in is another account's.
  • An API profile in a route (named exactly; no pattern matches one) is ranked by its spend as a share of its limit: a clausona budget (clausona route budget), else the limit set on its provider key. One with no limit, whose provider reports no spend, or whose spend could not be read is skipped. It is billed per use.
  • Resumed runs (-c/--continue, -r/--resume, --from-pr, codex resume or fork) use only accounts that share sessions: the primary account and profiles with merged sessions. If none of them can take it, the account that holds the session has to be run by name.

Read the full file on GitHub · 308 lines

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. 5d ago Changed · +2 lines 4d1c0eaefd47
  2. 12d ago Changed · +119 lines · +64 tokens per session 34cc697b0bf7
  3. 13d ago First seen · 187 lines · 95 tokens per session scan A 642691c1a001

Subscribe to this mod's changes

routing is a skill published in the GitHub repository larcane97/clausona (57 stars, last pushed 5d ago), licensed MIT. It adds 159 tokens to every session and 5,768 once invoked, about $0.0006 per session on Opus 5.5. 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-10-13.

Related

Other skills, from other repositories

batch

Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use /batch followed by operation and file pattern. For many independent single-turn transforms (translate/rewrite/extract each file into a new file) that can wait…

QwenLM/qwen-code · 102 tokens

batch-api

Prepare a many-file, single-turn transform (translate, rewrite, extract) as a plan and submit it to the asynchronous, half-price DashScope Batch API; results are delivered as new files hours later. Invoke explicitly with /batch-api.

QwenLM/qwen-code · 51 tokens

loop

Create a loop that runs a prompt now and follows up either on a fixed schedule or through self-paced wakeups. Usage - /loop check the build, /loop 5m check the build, /loop check the PR every 30m. /loop list to show jobs, /loop clear to cancel all.

QwenLM/qwen-code · 66 tokens

openrig-herdr

Use when opening OpenRig fleet terminals as a herdr wall — turning a rig, pod, mission, slice, or saved view into live interactive agent tiles via rig terminal, watching another rig read-only, or driving herdr on an agent's request ("open all my rigs + a mission as views"). Covers the rig terminal open|views|status…

mvschwarz/openrig · 132 tokens

mission-slice-sop

Use when starting, building, handing off, restoring, or closing a mission or slice under the default lightweight SDLC.

mvschwarz/openrig · 30 tokens

community

Use when building or running a persistent two-way community space — Discord, Telegram, Circle: platform choice, structure, onboarding, native→bot→human moderation, rituals, growth loops, health metrics. NOT churn of paying product customers (that is retention), NOT broadcast email (that is newsletter), NOT one live…

ericrisco/rsc-harness · 77 tokens