skills/token-statusline/SKILL.md
This skill should be used when the user asks to "add token counter to status line", "show context usage in status bar", "visualize token usage", "set up token status line", "live token counter", "show context window percentage", or wants to see token burn in the terminal status bar.
npx skillsauth add kyuna0312/kyuna_token_saver Token Status LineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Add live context window usage and CLAUDE.md token cost to the Claude Code status bar — visible at all times without asking.
ctx [████████░░] 82% │ md:~650t
Rate limit usage appears only when near limits (≥70%) and on Claude.ai accounts.
Step 1: Copy plugin script to a stable path (recommended — plugin path may change):
# Copy to permanent location
cp "${CLAUDE_PLUGIN_ROOT}/skills/token-statusline/scripts/token-status.sh" ~/.claude/token-status.sh
chmod +x ~/.claude/token-status.sh
Step 2: Add to ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "bash ~/.claude/token-status.sh",
"refreshInterval": 30
}
}
Step 3: Restart Claude Code. Status line appears at bottom of terminal.
If settings.json already has a statusLine.command, choose:
command path to token-status.shreferences/statusline-setup.md Option B/C)Context window:
CLAUDE.md token cost:
"refreshInterval": 30
Status line reruns every 30 seconds. Set lower (10) for faster updates; higher (60) for less CPU. Without refreshInterval, updates only on session events.
Requires Claude Code v2.1.97 or later.
Test script output before wiring it up:
echo '{"context_window":{"used_percentage":72},"workspace":{"current_dir":"'"$PWD"'"}}' \
| bash ~/.claude/token-status.sh
Should print a colored bar with ctx [███████░░░] 72% and CLAUDE.md token count.
Emit structured output as LTX rows when reporting current status line state.
@v1:context_pct|bar|md_tokens|color
| Field | Description |
|-------|-------------|
| context_pct | Context window usage percentage (0–100) |
| bar | 10-char visual bar string (e.g. ████████░░) |
| md_tokens | Estimated tokens loaded from CLAUDE.md files |
| color | green, yellow, orange, red based on context % |
Example:
@v1:context_pct|bar|md_tokens|color
82|████████░░|650|orange
references/statusline-setup.md — Full JSON input schema, all setup options, troubleshootingscripts/token-status.sh — Standalone status line script (copy to ~/.claude/ for permanent use)tools
This skill should be used when the user asks to "show recent changes", "show forge changelog", "show changelog for <project>", "what did I add this week", "what files did I touch today", "what packages keep recurring", "what drifts from the template", "review template suggestions", "show pending forge suggestions", "sync forge templates", "apply template suggestion", or "compute back-mapping suggestions". Provides read, drift-discovery, and template back-mapping workflows that wrap the `forge-db` MCP tools (`get_changelog`, `compute_suggestions`, `apply_suggestion`).
development
This skill should be used when the user says "build a wiki", "maintain a wiki", "ingest docs into wiki", "query my wiki", "set up llm wiki", "wiki-based knowledge base", "stop re-reading docs every session", "persistent knowledge base", or "compress my docs into wiki pages".
testing
Use this skill when the user says "/task_brain", "break down this task", "plan this", "decompose this problem", or when a task has multiple moving parts, unclear dependencies, or high ambiguity.
tools
This skill should be used when the user says "optimize settings.json", "tune settings for low tokens", "settings.json for performance", "disable auto memory", "configure for token savings", "minimal context window settings", or "settings taking too many tokens".