status

A command that reports the current craft-statusline settings and displays a sample of how the status line will look.

In plain words
What is it for?
Use it to inspect model, Git branch, context, rate-limit, cost, alert, and color settings and preview their rendering.
Why use it?
It lets you see which fields are enabled, including defaults and alert thresholds, before changing the configuration.

Command

Part of the craft-statusline plugin — 5 commands shipped together

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/derjochenmeyer/claude-code-craft-statusline/status
Clone the repo
git clone --depth 1 https://github.com/derjochenmeyer/claude-code-craft-statusline

Or install craft-statusline, the plugin that ships this one along with the rest of its 5 commands.

Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 636 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00012 $0.00636
Opus 5 $0.00006 $0.00318
Sonnet 5 $0.00002 $0.00127
Haiku 4.5 $0.00001 $0.00064

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

Security

Grade B, and why

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

User-config values live in `~/.claude/settings.json` under `pluginConfigs."craft-statusline".options.*`. Defaults from `plugin.json` apply when an option is unset.
commands/status.md · 54 lines

How it starts

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

craft-statusline:status

Report the active craft-statusline configuration, then render a live preview.

Steps

1. Read the active configuration

User-config values live in ~/.claude/settings.json under pluginConfigs."craft-statusline".options.*. Defaults from plugin.json apply when an option is unset.

jq -r '.pluginConfigs["craft-statusline"].options // {}' ~/.claude/settings.json 2>/dev/null

2. Render a tabular summary

For each known option, show whether it is [x] (enabled) or [ ] (disabled) — falling back to the default when unset:

Field Default Notes
show_model true Model + effort badge
show_branch true Git branch with state-aware palette
show_context true Context usage with traffic light
show_context_alert true ⚠ symbol on yellow/red
show_rate_limits true 5h / 7d windows
show_cost false API cost (only meaningful on pay-per-token plans)
show_color true ANSI color globally

Plus thresholds: context_alert_at (red percent), context_degrade_at_tokens (yellow tokens).

3. Live preview

Run the renderer with a sample payload so the user sees the actual ANSI output. Note that ANSI escapes may not render in this output panel — they will look right in the actual status line at the bottom of Claude Code.

echo '{"model":{"display_name":"Sonnet 4.6"},"context_window":{"used_percentage":42,"current_usage":{"input_tokens":1,"cache_creation_input_tokens":1000,"cache_read_input_tokens":150000}},"rate_limits":{"five_hour":{"used_percentage":15},"seven_day":{"used_percentage":30}},"cost":{"total_cost_usd":0.43}}' \
  | bash "${CLAUDE_PLUGIN_ROOT:-$HOME/.claude/plugins/marketplaces/craft-statusline-marketplace}/scripts/craft-statusline.sh"

The ${CLAUDE_PLUGIN_ROOT:-...} fallback mirrors the pattern in commands/install.md. Statusline lives outside the plugin system, so the variable is not populated in the statusline subprocess (expected behaviour per anthropics/claude-code#52079, closed as "expected existing behavior"). The fallback path resolves to the version-stable marketplace clone.

Read the full file on GitHub · 54 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. 3d ago First seen · 54 lines · 12 tokens per session scan B 3410834b2e9a

Subscribe to this mod's changes

status is a command published in the GitHub repository derjochenmeyer/claude-code-craft-statusline (2 stars, last pushed 4mo ago), licensed MIT. It adds 12 tokens to every session and 636 once invoked, about $0.0001 per session on Opus 5. 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.