statusline-customization

statusline-customization is a skill for Claude Code from MadAppGang/magus. It costs 25 tokens per session (6,759 once invoked), scanned B, original, MIT.

A configuration and troubleshooting guide for a terminal status line. It covers which information appears, visual themes, bar widths, wrapping, and the configuration file.

In plain words
What is it for?
Use it to configure or diagnose the status line's sections, appearance, layout, and usage bars.
Why use it?
It helps adjust the status line without guessing its settings or file format. It also explains options such as model, Git branch, cost, duration, and context usage.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

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

Good fit Use it to configure or diagnose the status line's sections, appearance, layout, and usage bars.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/madappgang/magus/statusline-customization
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.

Any agent
npx skills add MadAppGang/magus --skill statusline-customization
Clone the repo
git clone --depth 1 https://github.com/MadAppGang/magus

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-customization

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/madappgang/magus/statusline-customization"><img src="https://agentmods.dev/badge/skills/madappgang/magus/statusline-customization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,759 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 381
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Data Exfiltration · line 358
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 380
    Code scans file system directories looking for sensitive files. This could be reconnaissance for credential theft.
    Fix: Remove unnecessary filesystem scanning. If file access is needed, use explicit, scoped paths. Avoid reading ~/.ssh, ~/.aws, or credential directories.
How audits are shown
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.00025 $0.06759
Opus 5.5 $0.00010 $0.02704
Sonnet 5.5 $0.00005 $0.01352
Haiku 4.5 $0.00003 $0.00676

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

Security

Grade B, and why

statusline-customization 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 12d 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.

3. Settings layers, last wins: user (`~/.claude/settings.json`, or
plugins/setup/skills/statusline-customization/SKILL.md · 505 lines

How it starts

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

Statusline Customization Reference

Config File

Location: ~/.claude/statusline-config.json

Schema

{
  "sections": {
    "model": true,         // Model name (Opus/Sonnet/Haiku)
    "branch": true,        // Git branch name
    "worktree": true,      // Worktree indicator (wt:name)
    "cost": true,          // Session cost ($X.XX)
    "duration": true,      // Session duration (Xm Xs)
    "context_bar": true,   // Context window usage bar
    "plan_limits": true,   // Plan limit bars with reset countdowns (master switch)
    "claudish_plan": true  // Provider plan bars when the session is routed via claudish
  },
  "icons": {
    "nerd_font": false     // Opt in to Nerd Font glyphs (RAM → 󰍛). Default OFF
  },
  "context_bar_width": 12, // Width of context bar in chars (8-20)
  "context_autocompact": true, // Measure ctx against the auto-compact window; false = model window
  "plan_bar_width": 10,    // Width of plan limit bar in chars (6-16)
  "theme": "default",      // Color theme name
  "appearance": "auto",    // "auto" | "light" | "dark" — see Appearance below
  "wrap": "auto",          // "auto" wraps to the terminal width, "off" forces one line
  "max_lines": 0,          // Cap on wrapped rows; 0 means no cap
  "layout": "auto"         // "auto" | "aligned" | "compact" — see Wrapping below
}

All fields are optional. Missing fields use defaults shown above. sections and icons are independent groups — setting one never affects the other.

theme and appearance are orthogonal: theme picks the palette's character (default / minimal / neon / monochrome), appearance picks whether that palette is drawn for a light or a dark terminal.

Appearance

The statusline resolves light vs dark at render time, because the same colours cannot work on both. First hit wins:

  1. appearance in this config, when set to light or dark (the script's own flag)
  2. $STATUSLINE_APPEARANCE — per-pane override without touching the config (its own variable)
  3. Claude Code's own theme setting (settings.json, under $CLAUDE_CONFIG_DIR or ~/.claude): light, dark and their variants by name, custom:<name> by the base in themes/<name>.json. auto is no opinion. Read with shell builtins on every render, so a theme switch shows at the next refresh. The setting is shared by every session: sessions on different themes all follow the last /theme pick.
  4. Inside tmux, the theme of the client showing this pane (tmux list-clients)
  5. $TERM_THEME
  6. OSC 11 probe — no step: the statusline child has no tty (stdin, stdout and stderr are pipes), so there is nowhere to send a background-colour query
  7. COLORFGBG — inside tmux, the session-scope copy read via tmux show-environment; outside tmux, the $COLORFGBG environment variable
  8. dark

Read the full file on GitHub · 505 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago Changed · +4 lines c1b547d1e246
  2. 21d ago Changed · +5 lines 4aaad61fda3b
  3. 1mo ago Changed · +68 lines scan A → B f49147b241a7
  4. 2mo ago Changed · +3 lines 4ede5d84c8a7
  5. 2mo ago Changed 8a38d58084f0
  6. 2mo ago Changed 4eb6ba8fbb1b
  7. 2mo ago Changed · +24 lines d00e27c20a57
  8. 2mo ago First seen · 401 lines · 25 tokens per session scan A 6e975e7d8d77

Subscribe to this mod's changes

statusline-customization is a skill published in the GitHub repository MadAppGang/magus (16 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 6,759 once invoked, about $0.0001 per session on Opus 5.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-09-04.

Related

statusline-customization compared with skills from other repositories

statusline-customization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
statusline-customizationMadAppGang/magusSkill16todayMITB25Claude Code
orbit-notionnexu-io/open-designSkill110ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill118ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k13d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41k2d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex