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.
npx agentmods add commands/xiaoliu10/claude-code-router-next/statuslinegit clone --depth 1 https://github.com/xiaoliu10/claude-code-router-nextWrote 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.
[](https://agentmods.dev/commands/xiaoliu10/claude-code-router-next/statusline)<a href="https://agentmods.dev/commands/xiaoliu10/claude-code-router-next/statusline"><img src="https://agentmods.dev/badge/commands/xiaoliu10/claude-code-router-next/statusline.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.02491 |
| Opus 5 | $0.00000 | $0.01246 |
| Sonnet 5 | $0.00000 | $0.00498 |
| Haiku 4.5 | $0.00000 | $0.00249 |
Grade A, and why
statusline 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.
How it starts
The opening of the file, as written. The whole thing — 401 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ccr statusline
Display a customizable status bar showing real-time information about your Claude Code session, including workspace, Git branch, model, token usage, and more.
Overview
The ccr statusline command reads JSON data from stdin and renders a beautifully formatted status bar in your terminal. It's designed to integrate with Claude Code's hook system to display real-time session information.
Usage
Basic Usage
ccr statusline
The command expects JSON data via stdin, typically piped from a Claude Code hook:
echo '{"hook_event_name":"...","session_id":"...","..."}' | ccr statusline
Hook Integration
Configure in your Claude Code settings:
{
"hooks": {
"postResponse": {
"command": "ccr statusline",
"input": "json"
}
}
}
Available Themes
Default Theme
A clean, minimal theme with Nerd Font icons and colored text:
my-project main claude-3-5-sonnet-20241022 ↑ 12.3k ↓ 5.2k
Powerline Theme
A vim-powerline inspired style with colored backgrounds and arrow separators:
my-project main claude-3-5-sonnet-20241022 ↑ 12.3k ↓ 5.2k
Activate by setting currentStyle: "powerline" in your config.
Simple Theme
Fallback theme without icons for terminals that don't support Nerd Fonts:
my-project main claude-3-5-sonnet-20241022 ↑ 12.3k ↓ 5.2k
Automatically used when USE_SIMPLE_ICONS=true or on unsupported terminals.
Available Modules
Status line modules display different types of information:
| Module | Description | Variables |
|---|---|---|
| workDir | Current working directory name | {{workDirName}} |
| gitBranch | Current Git branch | {{gitBranch}} |
| model | Model being used | {{model}} |
| usage | Token usage (input/output) | {{inputTokens}}, {{outputTokens}} |
| context | Context window usage | {{contextPercent}}, {{contextWindowSize}} |
| speed | Token processing speed | {{tokenSpeed}}, {{isStreaming}} |
| cost | API cost | {{cost}} |
| duration | Session duration | {{duration}} |
| lines | Code changes | {{linesAdded}}, {{linesRemoved}} |
| script | Custom script output | Dynamic |
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.
- 5d ago First seen · 401 lines · 0 tokens per session scan A 9785c6871f37
statusline is a command published in the GitHub repository xiaoliu10/claude-code-router-next (11 stars, last pushed 10d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,491 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-30.
Other commands, from other repositories
notebook-status
Check the progress of a /agy:notebook sweep (for long document sets run with --background). Reports % complete, done/pending/failed counts, elapsed time and a rough ETA, and which documents are still pending — so you can resume. Read-only, no agy.
tldr-help
Quick reference card for tldr modes, slash commands, and triggers.
reference
Intelligent coordinator and core workflow commands — init, route, execute, verify, and lifecycle management.
maestro-companion
Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording. Full LLM capability, scoped to mechanically clear tasks.
start-0-3.en
Auto-run by AI: Run uv run python tools/setupprogress.py show to display the current setup progress.
start-0-3
AIが自動実行: uv run python tools/setupprogress.py show を実行して現在のセットアップ進捗を表示する。.