charlesjones-dev/claude-code-plugins-dev/statusline-wizard
Claude Code and agent skill by charlesjones-dev/claude-code-plugins-dev
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Set up Claude Code's status line with a context progress bar, rate limits, a spend budget and the other segments you pick.
Install
npx vskill@latest install charlesjones-dev/claude-code-plugins-dev/statusline-wizardSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Status Line Wizard
Set up a custom status line for Claude Code with visual progress bars and configurable display options.
Instructions
CRITICAL: This command MUST NOT accept any arguments. If the user provided any text after this command, COMPLETELY IGNORE it.
Follow the Setup Workflow defined in this skill (see the "Status Line Setup Skill" section below) to:
- Detect the operating system (Mac/Linux/Windows)
- Check for existing statusLine configuration and offer to back up if present
- Run the configuration wizard using AskUserQuestion to gather preferences
- Create the appropriate script file (
.shfor Mac/Linux,.ps1for Windows) - Update
~/.claude/settings.jsonwith the statusLine configuration - Make the script executable on Mac/Linux using
chmod +x
Wizard Questions
Use AskUserQuestion with these grouped questions:
Question 1 - Context Display (multiSelect: true):
- Token count (50k/100k) - default selected
- Progress bar - default selected
- Model name - default selected
- Effort level (low/medium/high/xhigh/max/ultracode) - default selected
Question 2 - Project Display (multiSelect: true):
- Current directory - default selected
- Git branch - default selected
- Sandbox indicator - NOT selected by default. Description: "Shows 'Sandbox' in orange after the effort level while Claude Code's Bash sandbox is on for this session, whether /sandbox, a settings file or claude --settings turned it on. Hidden when it's off."
On Windows, leave out the Sandbox indicator option. The sandbox doesn't run on native Windows, so the PowerShell script has no sandbox segment.
Question 3 - Session Display (multiSelect: true):
- Session duration - default selected
- Current time - default selected
- Claude Code version - default selected
- Session cost - NOT selected by default
Question 4 - Usage Limits (multiSelect: true):
- Rate limit usage (5h/7d) - default selected. Description: "Only shown on plans with rolling rate-limit windows (Pro, Max and Ultra). Each window shows only when your plan has it, so an account without a 5-hour limit shows 7d alone. Enterprise and API seats billed against a monthly spend cap have no rate limits, so the segment stays hidden. Pick Monthly spend budget instead."
- Monthly spend budget (mo:$47.20/$2000 2.4%) - NOT selected by default. Description: "Month-to-date spend across all Claude Code sessions on this machine, as estimated locally by Claude Code. Counts only sessions rendered after setup."
AskUserQuestion allows at most 4 options per question, so rate limits and spend budget live in their own question rather than in Session Display.
Questions 5 and 6 - Spend cap and reset (only ask if "Monthly spend budget" was selected; send both in one AskUserQuestion call, single select each):
Question 5 - Monthly spend cap (USD):
- "No cap - show bare total" (Recommended if the user has no known cap) →
SPEND_LIMIT_USD=0 - "$500" →
SPEND_LIMIT_USD=500 - "$1000" →
SPEND_LIMIT_USD=1000 - "$2000" →
SPEND_LIMIT_USD=2000
The user can pick "Other" and type any amount; write the numeric value (digits and optional decimal point only, no currency symbol or thousands separators) into SPEND_LIMIT_USD. The cap is the seat's monthly spend limit shown on the Anthropic console usage page (e.g., "$0.96 of $2,000.00 spent").
Question 6 - When does the spend cap reset?
- "1st of the month at 00:00 UTC" (Recommended - what the Anthropic console uses) →
SPEND_RESET_DAY=1,SPEND_RESET_TIME=00:00 - "1st of the month at midnight in my local time zone" →
SPEND_RESET_DAY=1andSPEND_RESET_TIMEset to local midnight converted to UTC using the machine's current offset (e.g., EDT is UTC-4, so04:00). Warn that daylight-saving changes shift this by an hour twice a year. If the local offset is ahead of UTC (e.g., UTC+2), local midnight on the 1st falls on the last day of the previous month in UTC, whichSPEND_RESET_DAY(1-28) cannot express - explain this and use the UTC option instead. - "A different day or time" → the user picks "Other" and types what the console shows, e.g. "Resets Wed, Sep 30, 8:00 PM EDT"
For "Other", convert the user's day and time to UTC before writing the variables. Example: "Sep 30, 8:00 PM EDT" is Oct 1 00:00 UTC, so write SPEND_RESET_DAY=1 and SPEND_RESET_TIME=00:00. SPEND_RESET_DAY must be 1-28 (days 29-31 do not exist in every month) and SPEND_RESET_TIME must be HH:MM in 24-hour UTC. The script falls back to the 1st at 00:00 UTC if either value is invalid. Tell the user the UTC values you wrote so they can confirm.
Success Message
After successful setup, display:
If the user enabled the monthly spend budget, append:
Status Line Setup Skill
This skill provides guidance for configuring Claude Code's status line with customizable display options, progress bars, and cross-platform support.
When to Use This Skill
Invoke this skill when:
- Setting up a custom status line for Claude Code
- Configuring which elements to show/hide in the status line
- Adding a visual progress bar for context usage
- Setting up cross-platform status line scripts (bash/PowerShell)
Setup Workflow
Phase 1: Check Existing Configuration
- Detect the operating system using Bash:
uname -s(returns "Darwin" for macOS, "Linux" for Linux)
- If command fails or returns "MINGW"/"MSYS"/"CYGWIN", assume Windows
- Read the user's settings file:
- Mac/Linux:
~/.claude/settings.json - Windows:
C:/Users/USERNAME/.claude/settings.json(get USERNAME from environment)
- Check if
statusLinesection already exists - If exists, ask user using AskUserQuestion:
- Replace: Back up existing file and create new configuration
- Cancel: Stop the setup process
Phase 2: Configuration Wizard
Use the AskUserQuestion tool to gather user preferences. Group questions logically:
Question 1: Context Information
- Show model name (default: yes)
- Show token count e.g. "50k/100k" (default: yes)
- Show progress bar (default: yes)
- Show effort level e.g. "high" (default: yes)
Question 2: Project Information
- Show current directory (default: yes)
- Show git branch (default: yes)
- Show sandbox indicator (default: no; Mac/Linux only, hidden while the sandbox is off)
Question 3: Session Information
- Show session cost (default: no)
- Show session duration (default: yes)
- Show current time (default: yes)
- Show Claude Code version (default: yes)
Question 4: Usage Limits
- Show rate limit usage - 5h and 7d windows (default: yes; each window is hidden automatically when the account doesn't have it, such as the 5h window on an Ultra account without a 5-hour limit)
- Show monthly spend budget - month-to-date spend across all sessions on this machine (default: no)
Questions 5-6: Monthly spend cap and reset (only when monthly spend budget was selected)
- Ask for the monthly cap in USD and write it to
SPEND_LIMIT_USD;0means no cap (bare total) - Ask when the cap resets and write the day of month (1-28, UTC) to
SPEND_RESET_DAYand the time (HH:MM, 24h, UTC) toSPEND_RESET_TIME; convert whatever the user pastes from the console into UTC first
Phase 3: Create Script File
Based on OS, create the appropriate script file:
Mac/Linux: ~/.claude/statusline.sh Windows: C:/Users/USERNAME/.claude/statusline.ps1
If script file already exists, back it up first with .backup extension.
Phase 4: Update Settings
Update the settings.json file with the statusLine configuration:
Mac/Linux:
Windows:
Phase 5: Make Executable (Mac/Linux only)
Run chmod +x ~/.claude/statusline.sh to make the script executable.
Script Templates
Bash Script Template (Mac/Linux)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ai-statusline/skills/statusline-wizard/SKILL.md
Popularity
- Repository stars
- 34
- Repository forks
- 3
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/charlesjones-dev/claude-code-plugins-dev/statusline-wizard)