setup-statusline

Solid

Live token counter in your CLI. Shows real-time input/output/cache token counts in the Claude Code status bar

AI & Automation 34 stars 0 forks Updated 2 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 84/100

Stars 20%
51
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

Manage the claude-code-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 `...

Details

Author
ww-w-ai
Repository
ww-w-ai/claude-code-token-saver
Created
5 months ago
Last Updated
2 weeks ago
Language
JavaScript
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

claude-statusline-beauty

Install, update and troubleshoot the statusline-beauty status line for Claude Code — a multi-line status bar showing model, session and month-to-date cost, git state, and context / 5h / weekly / CPU / RAM usage bars. Trigger on /claude-statusline-beauty, or whenever the user asks to install, update, configure, disable, or fix their Claude Code status line, or asks why the status line is blank, slow, or showing broken characters.

1 Updated 4 weeks ago
veerapan-boo
AI & Automation Listed

statusline

Installs and configures the Claude Code statusline that ships with this plugin, including which segments appear, in which order, how wide the bars are, and at which percentage they turn yellow or red. Use this skill whenever the user wants to set up, change, reorder, trim or remove their statusline, for example "set up my statusline", "install the statusline", "show the cost in my statusline", "hide the rate limits", "my statusline is too long", "reorder the statusline", "remove the statusline", or the German equivalents "statusline einrichten", "statusline anpassen", "statusline kürzen", "was steht in meiner statusline", "statusline entfernen". Also use it when the statusline is misbehaving, for example a missing context bar, a missing cost, a wrong percentage, or a statusline that does not appear at all.

1 Updated 1 weeks ago
josefheld
Data & Documents Listed

install

Install the usage status line into settings.json. Pass "--dry-run" to preview without changing anything.

0 Updated 3 weeks ago
realkewal