statusline-customize

statusline-customize is a command for Claude Code from MadAppGang/magus. It costs 17 tokens per session (1,231 once invoked), scanned A, original, MIT.

An interactive command for configuring the sections, theme, bar widths, and icons in the Claude Code status line. It preserves other settings already in the configuration file.

In plain words
What is it for?
Use it to toggle status sections, change themes, resize context or plan bars, and enable or disable Nerd Font icons.
Why use it?
It lets you adjust the status line to show the information and visual style you prefer without replacing unrelated configuration.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the setup plugin — 2 skills, 4 commands shipped together

Good fit Use it to toggle status sections, change themes, resize context or plan bars, and enable or disable Nerd Font icons.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add MadAppGang/magus
Claude Code
/plugin install setup

Made for: Claude Code.

Or install setup, the plugin that ships this one along with the rest of its 2 skills, 4 commands.

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 statusline-customize

README.md
[![agentmods](https://agentmods.dev/badge/commands/madappgang/magus/statusline-customize/github.svg)](https://agentmods.dev/commands/madappgang/magus/statusline-customize)
Your own site
<a href="https://agentmods.dev/commands/madappgang/magus/statusline-customize"><img src="https://agentmods.dev/badge/commands/madappgang/magus/statusline-customize/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.

agentmods 80×15 button for statusline-customize

Your own site · 80×15
<a href="https://agentmods.dev/commands/madappgang/magus/statusline-customize"><img src="https://agentmods.dev/badge/commands/madappgang/magus/statusline-customize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,231 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00017 $0.01231
Opus 5.5 $0.00007 $0.00492
Sonnet 5.5 $0.00003 $0.00246
Haiku 4.5 $0.00002 $0.00123

Measured 22d ago against content hash 2c24d87d034a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

statusline-customize 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 22d 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.

plugins/setup/commands/statusline-customize.md · 141 lines

How it starts

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

Read ${CLAUDE_PLUGIN_ROOT}/skills/statusline-customization/SKILL.md before the first step; it holds the reference this command follows.

Preserve any keys the file already has that are not listed here — merge, never
replace the file wholesale.
Bar Widths:
  context_bar_width: 12
  plan_bar_width:    10

Theme: default
Nerd Font icons: off
```
Based on choice:

**Toggle sections:** Use AskUserQuestion with multiSelect:true over the section keys the
config carries (see the schema in step 1; split across questions if there are more keys than
one question takes options).
Sections the user selects get TOGGLED (on→off, off→on). Show updated state.

**Change theme:** Use AskUserQuestion with the 4 theme options:
- "default" — warm/cool ANSI palette (cyan, green, yellow, orange, red)
- "monochrome" — white/gray only
- "minimal" — muted dim ANSI colors
- "neon" — bright 256-color palette

**Change bar widths:** Use AskUserQuestion:
- "Context bar width" — then ask for number (8-20, default 12)
- "Plan bar width" — then ask for number (6-16, default 10)

**Nerd Font icons:** print the sample line below — it carries the real glyph,
so the user is judging what they will actually get, not a description of it:

```
With icons:     󰍛 1.1G
Without icons:  RAM 1.1G
```

Then use AskUserQuestion:
- question: "In the line above, do you see a RAM-stick icon before `1.1G`?"
- options: "Yes, I see an icon" → `icons.nerd_font: true`;
  "No — a box, or blank space" → `icons.nerd_font: false`

Offer "blank space" explicitly: a missing Nerd Font glyph frequently renders as
nothing at all rather than as tofu, and Nerd Font coverage is partial — a user
whose font resolves other glyphs may still get a gap for this one.

**Reset to defaults:** Restore the default config from step 1.

Read the full file on GitHub · 141 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. 22d ago Changed · +2 lines 2c24d87d034a
  2. 1mo ago First seen · 139 lines · 17 tokens per session scan A 44fdde890a22

Subscribe to this mod's changes

statusline-customize is a command published in the GitHub repository MadAppGang/magus (13 stars, last pushed today), licensed MIT. It adds 17 tokens to every session and 1,231 once invoked, about $0.0001 per session on Opus 5.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-09-04.