configure

A command for changing which ccvitals modules appear in the Claude status line. The status line is the small information display showing details such as the current folder, model, context, usage, or Git changes.

In plain words
What is it for?
Use it to review the current configuration and choose modules for Git status, usage, context, cost, duration, speed, editor mode, token savings, code-graph data, and other session details.
Why use it?
It helps tailor the display to the information you actually want to see. Optional modules can be enabled only when their required command-line tools are available.

Command

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.

agentmods
npx agentmods add commands/educlopez/ccvitals/configure
Clone the repo
git clone --depth 1 https://github.com/educlopez/ccvitals
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00008 $0.03583
Opus 5 $0.00004 $0.01792
Sonnet 5 $0.00002 $0.00717
Haiku 4.5 $0.00001 $0.00358

Measured 2d ago against content hash 9565dc6cdfa4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

configure 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 2d 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.

commands/configure.md · 347 lines

How it starts

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

Reconfigure ccvitals module selection and optional two-line layout.

Steps

1. Determine the Claude config directory

echo "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"

Save the output as CONFIG_DIR.

2. Read the current config (if any)

cat "$CONFIG_DIR/.statusline-config.json" 2>/dev/null || echo "{}"

Show the user their current module list so they know what's active.

3. Ask which modules to enable

Use AskUserQuestion to ask:

Which modules do you want to enable? Current: [show current modules]

Core modules (default on):

  • directory — current project folder name
  • model — active model name
  • context — context window bar + percentage
  • usage — 5h quota bar, reset timer, plan badge
  • git — branch name, changed files, lines diff

Optional modules (opt-in):

  • rtk — RTK token-savings % (needs rtk CLI)
  • codegraph — CodeGraph index size (needs codegraph CLI)
  • lines — cumulative lines added/removed this session
  • mode — reasoning effort level + fast-mode flag
  • cost — session cost in USD (e.g. $0.42)
  • duration — session wall-clock time (e.g. 1h23m)
  • speed — token throughput in tok/s
  • vim — vim mode indicator (N/I/V/VL)
  • agent — active agent name
  • pr — linked PR number and review state
  • weekly — 7-day quota bar with reset countdown
  • pace — burn-rate vs quota window (e.g. pace +12%)
  • cache — prompt-cache freshness countdown (e.g. cache 4m12s)
  • tools — tools currently in flight (e.g. ⚒ Bash +2); reads transcript (tail-bounded)
  • agents — active sub-agents (e.g. ◉ code-reviewer); reads transcript (tail-bounded)
  • todos — latest TodoWrite progress (e.g. ☑ 3/7); reads transcript (tail-bounded)
  • daily — cross-session daily spend (e.g. Σ $4.20); optional daily_budget for coloring
  • compactions — compact_boundary count (e.g. ↯ 2); reads full transcript via grep
  • tokens — cumulative session input/output tokens (e.g. ⇅ 1.2M/45k); incremental cache

List all modules you want enabled, separated by spaces. Example: directory model context usage git lines mode

Read the full file on GitHub · 347 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. 2d ago First seen · 347 lines · 8 tokens per session scan A 9565dc6cdfa4

Subscribe to this mod's changes

configure is a command published in the GitHub repository educlopez/ccvitals (9 stars, last pushed 2mo ago), licensed MIT. It adds 8 tokens to every session and 3,583 once invoked, about $0.0000 per session on Opus 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-08-31.