This skill should be used when the user asks to "create a statusline", "customize the status line", "add a custom prompt", or mentions Claude Code statusline. Also suggest when the user wants to display git branch, context usage, model name, or session costs at the bottom of Claude Code.
Context window usage display with color thresholds
Reads stdin with cat
100%
100%
Uses jq for extraction
100%
100%
Uses current_usage for percentage
0%
100%
Sums three token fields
0%
100%
Handles null current_usage
0%
100%
Green threshold correct
75%
100%
Amber threshold correct
75%
100%
Red threshold correct
100%
100%
tput for colors
100%
100%
Single line output
100%
100%
test_output.txt present
100%
100%
Correct percentage in test output
0%
100%
Settings configuration and no-restart notification
settings_snippet.json created
100%
100%
Correct settings structure
30%
100%
Reads stdin with cat
100%
100%
Uses jq for extraction
100%
100%
Displays cost in USD
100%
100%
Displays lines added/removed
100%
100%
Single line output
100%
100%
tput for colors
100%
100%
No-restart message in notes
100%
100%
chmod instruction present
100%
100%
test_output.txt present
100%
100%
Correct values in test output
100%
100%
Git-aware statusline with path truncation
Reads stdin with cat
100%
100%
Uses jq for extraction
100%
100%
Uses workspace.current_dir
100%
100%
Path truncated to 3 folders
0%
100%
HOME replaced with tilde
50%
62%
git rev-parse for repo detection
0%
100%
git branch --show-current
0%
100%
cd to workspace.current_dir
75%
100%
Graceful non-git fallback
100%
100%
tput for colors
0%
100%
Single line output
100%
100%
test_output.txt present
100%
100%
Truncated path in test output
0%
100%
92f335c
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.