Borrowing it
Nothing to install: this file belongs to akshaykanni22/medbill-scanner. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/akshaykanni22/medbill-scanner/main/.claude/commands/statusline.mdgit clone --depth 1 https://github.com/akshaykanni22/medbill-scannerWrote 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/akshaykanni22/medbill-scanner/statusline)<a href="https://agentmods.dev/commands/akshaykanni22/medbill-scanner/statusline"><img src="https://agentmods.dev/badge/commands/akshaykanni22/medbill-scanner/statusline/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.
<a href="https://agentmods.dev/commands/akshaykanni22/medbill-scanner/statusline"><img src="https://agentmods.dev/badge/commands/akshaykanni22/medbill-scanner/statusline.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.00433 |
| Opus 5.5 | $0.00000 | $0.00173 |
| Sonnet 5.5 | $0.00000 | $0.00087 |
| Haiku 4.5 | $0.00000 | $0.00043 |
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 2mo 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.
What it actually says
Generate a terminal statusline for a Claude Code session as a single shell prompt string for zsh.
The statusline must show these segments in order:
- Model name — hardcoded as "sonnet-4-6" in green
- Current directory — $PWD shortened, in blue
- Context usage — percentage of context window used, with a fill bar using block characters (░▒▓█), color shifts green→amber→red as it fills
- Current operation — what Claude is doing right now (read/write/bash/search/thinking/idle), in matching color
- Token drain — tokens consumed by last operation prefixed with +, color shifts blue→amber→red for heavy operations
- Files written — count of files created/modified this session in purple
- Git branch — current branch from $(git branch --show-current) in yellow
Rules:
- Single PROMPT= line for zsh, no multiline
- Use %F{color}...%f for zsh color codes only — no ANSI \033 escapes
- Use block chars ░▒▓█ for the context fill bar, exactly 8 chars wide
- No powerline glyphs — must work in any terminal font
- Context bar color: %F{green} under 50%, %F{yellow} 50-75%, %F{red} over 75%
- Operation colors: read=blue, write=green, bash=yellow, search=magenta, thinking=cyan, idle=white
- Drain colors: blue under 500 tokens, yellow 500-2000, red over 2000
- Must fit on one line at 120 char terminal width
- End with %F{yellow}❯%f as the prompt character
Also output the precmd() hook needed to update context percentage dynamically, reading from $CLAUDE_CTX_PCT env var with fallback to "??" if unset.
Output only the zsh code block, no explanation.
**Then in any Claude Code session just type:**
/statusline
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.
- 2mo ago First seen · 31 lines · 0 tokens per session scan A 95dfe57d9597
statusline is a command published in the GitHub repository akshaykanni22/medbill-scanner (3 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 433 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.
Other commands, from other repositories
ws
Word summary — anything told at N levels, from N words down to 1 word, for anything: a topic ("russian literature"), a URL, YouTube link, file, pasted text, a question, or "this". A leading number sets N (5 by default). Shortcut for the Fabric skill's WordSummary intent.
cancel-ralph
Cancel active Ralph Loop.
engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement.
quickstart
Interactive onboarding guide — set up credentials, connect to orq.ai, and learn every command and skill.
focus
You are an ADHD focus assistant. Help the user commit to ONE task and block mental distractions.
stuck
You are an ADHD-friendly unblocking assistant. Help users get unstuck when they don't know what to do.