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/omrikais/cctally/statuslinegit clone --depth 1 https://github.com/omrikais/cctallyWrote 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/omrikais/cctally/statusline)<a href="https://agentmods.dev/commands/omrikais/cctally/statusline"><img src="https://agentmods.dev/badge/commands/omrikais/cctally/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.05717 |
| Opus 5 | $0.00000 | $0.02858 |
| Sonnet 5 | $0.00000 | $0.01143 |
| Haiku 4.5 | $0.00000 | $0.00572 |
Grade B, and why
statusline scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
This is a **Claude Code `settings.json` key**, not the `cctally statusline --refresh-interval N` flag — those are unrelated. The CLI `--refresh-interval` flag is a **no-op** accepted only for `ccusage` drop-in compatibil How it starts
The opening of the file, as written. The whole thing — 400 lines — stays where its author put it; the contents beside it link to each section on GitHub.
statusline
One-line status string for Claude Code's statusLine hook.
Cost coverage: cctally-derived Claude session, day, and block costs are transcript-derived lower bounds, not exact
/usagebilling totals. The--cost-source ccsession value is supplied by Claude Code instead.
Canonical form:
cctally claude statusline(this flat form remains as an alias).
cctally statusline is a drop-in replacement for ccusage statusline —
the ccusage line shape is honored byte-for-byte for the segments cctally
emits, plus two intentional improvements over upstream:
- Context % is computed, not
N/A. ccusage defaults🧠 N/A; cctally tail-reads the most recent assistantmessage.usageblock in the transcript JSONL and divides into the model's context window. 5h X% · 7d Y%extension (default-on). Appended after the ccusage-shape segments when stdin carriesrate_limitsor cctally's snapshot DB has a recent row. Opt out with--no-cctally-extensions.
A third divergence is the stdin contract: ccusage exits 1 on missing
transcript_path (and other fields); cctally only exits 1 on malformed
JSON or non-object root. Every other field absence degrades gracefully
so the hook line never breaks the user's status bar.
Synopsis
cctally statusline [-h]
[-B {off,emoji,text,emoji-text}]
[--cost-source {auto,cctally,cc,both}]
[--cache | --no-cache]
[--refresh-interval N]
[--context-low-threshold N]
[--context-medium-threshold N]
[-z TZ]
[-O | --no-offline]
[--color | --no-color]
[--cctally-extensions | --no-cctally-extensions]
[--usage-only | --no-usage-only]
[--config PATH]
[--single-thread]
[-d]
Reads the Claude Code hook payload from stdin. Writes the rendered line to stdout. Exits 0 on success.
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.
- 3d ago First seen · 400 lines · 0 tokens per session scan B 175a04d5a29a
statusline is a command published in the GitHub repository omrikais/cctally (5 stars, last pushed 5d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 5,717 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.