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 28 stars 0 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 85/100

Stars 20%
49
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
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 `cl...

Details

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

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content โ€” not just same category