status

status is a command for Claude Code from techysy/10router. It costs 83 tokens per session (579 once invoked), scanned A, original, MIT.

A read-only status command for a 10Router instance that reports provider cooldowns, account health, and usage totals. A provider is an external service that supplies requests, while a cooldown temporarily stops use of one that is unavailable or over its limit.

In plain words
What is it for?
Use it to inspect today's and lifetime usage, check provider-wide breakers, and review account health for a local or remote 10Router instance.
Why use it?
It gives a current view of whether connections are active or locked and whether providers are being held back. It does this without changing the instance.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to inspect today's and lifetime usage, check provider-wide breakers, and review account health for a local or remote 10Router instance.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/techysy/10router/status
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.

Clone the repo
git clone --depth 1 https://github.com/techysy/10router

Made for: Claude Code.

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 status

README.md
[![agentmods](https://agentmods.dev/badge/commands/techysy/10router/status/github.svg)](https://agentmods.dev/commands/techysy/10router/status)
Your own site
<a href="https://agentmods.dev/commands/techysy/10router/status"><img src="https://agentmods.dev/badge/commands/techysy/10router/status/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 status

Your own site · 80×15
<a href="https://agentmods.dev/commands/techysy/10router/status"><img src="https://agentmods.dev/badge/commands/techysy/10router/status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 579 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.00083 $0.00579
Opus 5.5 $0.00033 $0.00232
Sonnet 5.5 $0.00017 $0.00116
Haiku 4.5 $0.00008 $0.00058

Measured 29d ago against content hash f4a733562194, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

status 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 29d 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.

zcode-plugin/commands/status.md · 40 lines

What it actually says

Show the status of the 10Router instance the user watches, by running the plugin's status script.

Steps:

  1. Determine the 10Router endpoint: default http://127.0.0.1:20127; if the user gave an address in $ARGUMENTS (e.g. a NAS IP), pass it via --endpoint.

  2. Determine credentials. The dashboard endpoints this command reads (/api/settings, /api/providers, /api/usage/dashboard) accept only a JWT session cookie or the local CLI token — a virtual sk- key does not work here. Three paths, in order of preference:

    • Local instance (loopback endpoint): pass nothing — the script auto-derives the CLI token from the local data dir (machine-id + auth/cli-secret). Zero configuration.
    • Remote instance: pass --password <dashboard password>; the script exchanges it for a session cookie via POST /api/auth/login.
    • Explicit token: pass --cli-token <token> if the user already has one.
  3. Run:

node "$ZCODE_PLUGIN_ROOT/scripts/status.mjs"

For a remote instance:

node "$ZCODE_PLUGIN_ROOT/scripts/status.mjs" --endpoint http://<host>:<port> --password <password>
  1. Report the result. The script prints three sections:

    • 渠道熔断 — providers currently in a channel-wide cooldown, with remaining time and strike count. ✅ 无熔断 means all channels are serving.
    • 账号健康 — per provider: how many connections are enabled, and which have active per-model locks.
    • 用量 — today's requests/tokens/cost, plus lifetime totals, top model, cache hit rate, and streak.
  2. If the script exits non-zero, read the error: line: exit 1 means unreachable or partial read failure (the report still prints what it could read), exit 2 means a bad argument or missing/invalid credentials — in that case ask the user for the dashboard password.

  3. Use --json when the user wants machine-readable output or you need to parse specific fields.

  4. If the user writes in Chinese, respond in Chinese.

Arguments (all optional): $ARGUMENTS

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. 29d ago First seen · 40 lines · 83 tokens per session scan A f4a733562194

Subscribe to this mod's changes

status is a command published in the GitHub repository techysy/10router (74 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 579 once invoked, about $0.0003 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-09-18.