config

config is a command for Claude Code from mil-orb/claude-gauge. It costs 9 tokens per session (588 once invoked), scanned B, original, MIT.

An interactive settings command for claude-gauge, a Claude Code status-line display that shows usage information.

In plain words
What is it for?
Use it to review current claude-gauge settings and configure its visual style and status-line segments.
Why use it?
It guides you through changing the display style, colors, bar size, and information shown without editing the configuration by hand.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Part of the claude-gauge plugin — 1 command, 1 hook 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/mil-orb/claude-gauge/config
Clone the repo
git clone --depth 1 https://github.com/mil-orb/claude-gauge

Made for: Claude Code.

Or install claude-gauge, the plugin that ships this one along with the rest of its 1 command, 1 hook.

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

agentmods badge for config

README.md
[![agentmods](https://agentmods.dev/badge/commands/mil-orb/claude-gauge/config.svg)](https://agentmods.dev/commands/mil-orb/claude-gauge/config)
Your own site
<a href="https://agentmods.dev/commands/mil-orb/claude-gauge/config"><img src="https://agentmods.dev/badge/commands/mil-orb/claude-gauge/config.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 588 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.1 $0.00009 $0.00588
Opus 5 $0.00005 $0.00294
Sonnet 5 $0.00002 $0.00118
Haiku 4.5 $0.00001 $0.00059

Measured 6d ago against content hash c452ec84e429, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade B, and why

config 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 6d 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.

- If you can't find the config, check `~/.claude/plugins/` and its subdirectories
commands/config.md · 42 lines

How it starts

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

claude-gauge Configuration

You are configuring the claude-gauge plugin. Read the current config, then walk the user through each setting interactively using AskUserQuestion.

Steps

  1. Read current config from the plugin directory:

    • Find the plugin root by checking ~/.claude/plugins/ for claude-gauge, or use the path from ~/.claude/settings.json statusLine command
    • Read config.json from that directory
    • Show the user their current settings in a brief summary
  2. Walk through each setting using AskUserQuestion, one at a time. Show the current value and let them pick a new one or keep the current. Group into two questions:

    Question 1 — Visual style (ask all three together):

    • display: bar (filling gauge, default), drain (emptying tank), dots (circle pips), blocks (braille), compact (text only). Default: bar
    • color: gradient (green→yellow→red), ocean (cyan→blue→purple), ember (yellow→orange→red), frost (white→blue), retro (CGA hard steps), spectrum (per-character gradient fill), mono (grayscale). Default: gradient
    • bar_size: small (10), medium (20), large (30), xlarge (40), or a custom number. Default: medium

    Question 2 — Info segments (ask toggles together):

    • show_cost: show running session cost in USD. Default: false
    • show_duration: show elapsed session time. Default: true
    • show_lines: show lines added/removed. Default: false

    Question 3 — Currency (only ask if show_cost is enabled):

    • currency_rate: exchange rate from USD (e.g. 0.79 for GBP). Null means show USD. Symbol is auto-detected from locale.
  3. Write the updated config.json to the plugin directory. Preserve the comment keys (lines starting with //) for documentation. Format it nicely.

  4. Confirm the changes and remind the user that settings take effect on the next status line refresh — no restart needed.

Important

  • The config file lives in the plugin installation directory, NOT the project source
  • Typical path: ~/.claude/plugins/claude-gauge/config.json or check ~/.claude/settings.json for the statusLine command path
  • If you can't find the config, check ~/.claude/plugins/ and its subdirectories
  • Do NOT modify any files other than config.json
  • Use the Edit tool to update config.json, not Write, to preserve structure

Read the full file on GitHub · 42 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. 6d ago First seen · 42 lines · 9 tokens per session scan B c452ec84e429

Subscribe to this mod's changes

config is a command published in the GitHub repository mil-orb/claude-gauge (5 stars, last pushed 5mo ago), licensed MIT. It adds 9 tokens to every session and 588 once invoked, about $0.0000 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.