setup-statusline

setup-statusline is a skill for Claude Code from ww-w-ai/super-token-saver. It costs 25 tokens per session (1,384 once invoked), scanned B, original, Apache-2.0.

A Claude Code setup that adds a live usage monitor to its command-line status bar, including input, output, cached-token, cost, and context information.

In plain words
What is it for?
It is for installing or removing a usage display in Claude Code through its settings file. It does not configure Codex's separate status line.
Why use it?
It makes current usage visible while you work, so you can notice token or context limits before they interrupt a task.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

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 super-token-saver plugin — 6 skills, 2 hooks shipped together

Good fit It is for installing or removing a usage display in Claude Code through its settings file. It does not configure Codex's separate status line.

Compare 6 skills 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 ww-w-ai/super-token-saver
Claude Code
/plugin install super-token-saver

Made for: Claude Code.

Or install super-token-saver, the plugin that ships this one along with the rest of its 6 skills, 2 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ww-w-ai/super-token-saver/setup-statusline/github.svg)](https://agentmods.dev/skills/ww-w-ai/super-token-saver/setup-statusline)
Your own site
<a href="https://agentmods.dev/skills/ww-w-ai/super-token-saver/setup-statusline"><img src="https://agentmods.dev/badge/skills/ww-w-ai/super-token-saver/setup-statusline/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 setup-statusline

Your own site · 80×15
<a href="https://agentmods.dev/skills/ww-w-ai/super-token-saver/setup-statusline"><img src="https://agentmods.dev/badge/skills/ww-w-ai/super-token-saver/setup-statusline.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 1,384 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.
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.01384
Opus 5 $0.00013 $0.00692
Sonnet 5 $0.00005 $0.00277
Haiku 4.5 $0.00003 $0.00138

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

Security

Grade B, and why

setup-statusline 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Manage the super-token-saver statusline in Claude Code's `~/.claude/settings.json`.
skills/setup-statusline/SKILL.md · 139 lines

How it starts

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

Claude Code only. Codex has its OWN status line, configured through status_line in config.toml from a fixed set of named segments rather than a command — see docs/CODEX-PORT-BACKLOG.md.

Manage the super-token-saver statusline in Claude Code's ~/.claude/settings.json.

Help

ONLY show help if the user's argument literally contains the word "help" (e.g. /setup-statusline help). If no argument or any other argument is given, SKIP this section entirely and proceed to Step 1.

If the user provides "help" as argument, show usage summary and stop:

/setup-statusline — Install or uninstall the live usage monitor

Format:
  [RUN🟢] $0.10/$12.23 | [5H🟢] 9% ⏳1h32m | [W🟡] 65% ⏳1d3h | [CTX🟢] 22%
  ─────   last / total     5h window usage    weekly (≥60% only)  context window
                           (subscribers only)

Options:
  install       Register statusline (default)
  uninstall     Remove and restore previous config
  help          Show this help

Examples:
  /setup-statusline install
  /setup-statusline uninstall

Do not modify any settings. Just display the help text and stop.

Args

  • install (default if no arg) — register the statusline script
  • uninstall — remove and restore backup if available

Install Flow

  1. Read ~/.claude/settings.json

  2. Check current statusLine field:

    Case A: No statusLine — install directly.

    Case B: Already our script — check if path matches current ${CLAUDE_PLUGIN_ROOT}. If version differs, update path silently, then print "Updated to current version." and stop. If same version, print "Already installed." and stop. Check by matching the command path containing super-token-saver/scripts/statusline-logger.sh.

    Case C: Different statusLine exists — warn and ask the user:

    ⚠️ Existing statusline detected:
      command: {existing command}
    
    Options:
    1. Replace (backup existing to _statusLineBackup)
    2. Cancel
    
    Which? (1/2)
    

    Wait for user response. If "1", backup to _statusLineBackup then install. If "2", stop.

Read the full file on GitHub · 139 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 Changed 1f395cbcb0e1
  2. 10d ago First seen · 139 lines · 25 tokens per session scan B 2944f24eeb21

Subscribe to this mod's changes

setup-statusline is a skill published in the GitHub repository ww-w-ai/super-token-saver (31 stars, last pushed 2d ago), licensed Apache-2.0. It adds 25 tokens to every session and 1,384 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-30.

Related

Other skills, from other repositories

cco-budget

Configure token budget limits, auto-compact settings, and view current budget status (model-aware — Claude 5 lineup, Opus 5 default fallback, full 1M context at standard price).

egorfedorov/claude-context-optimizer · 43 tokens

cco-clean

Clean up old tracking data and reset statistics.

egorfedorov/claude-context-optimizer · 11 tokens

agent-harness-optimizer

Use when agent harness optimization patterns for token efficiency, memory persistence, session management, and cross-harness parity. Use when optimizing agent performance, reducing token costs,.

oyi77/1ai-skills · 38 tokens

git-workflow

Use when starting feature work that needs a branch, creating worktrees for isolation, making atomic commits during development, or completing a development branch via merge, PR, preserve, or discard. Also use when the user says "set up worktree", "create PR", "finish this branch", "start feature", or when you need an…

lgbarn/shipyard · 76 tokens

parallel-dispatch

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies. Also use when multiple test files fail with different root causes, multiple subsystems are broken independently, or you want agents to work concurrently on separate problem domains. If tasks touch different…

lgbarn/shipyard · 69 tokens

pith

Adaptive output compression. Three levels: precise (no filler), lean (default, drop articles/fragments), ultra (maximum — abbreviate, structure, arrows). Activate: /pith | /pith precise | /pith lean | /pith ultra | /pith off.

abhisekjha/pith · 61 tokens