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 31 stars 0 forks Updated 4 days ago Apache-2.0

Install

View on GitHub

Quality Score: 86/100

Stars 20%
50
Recency 20%
100
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
4 days 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