Loading...
Loading...
Install a pre-configured Claude Code statusline with model, tokens, cost, lines changed, and context usage. A batteries-included alternative to /statusline with formatting and color thresholds already defined.
npx skill4agent add tommyxchow/ai statusline-installModel │ ↑Tokens ↓Tokens $Cost │ Duration +Lines -Lines │ Context%Opus │ ↑15k ↓4k $1.23 │ 5m (2m) +156 -23 │ 42%| Field | JSON Path |
|---|---|
| Model | |
| Total duration | |
| API duration | |
| Input tokens | |
| Output tokens | |
| Cost | |
| Lines added | |
| Lines removed | |
| Context % | |
XsXmXh Ym5m (2m)1h 15m (45m)0s (0s)850k15km1.2m$0.0012$0.12+added-removed${RESET}│| Range | Color | Meaning |
|---|---|---|
| 0-49% | Green | Plenty of room |
| 50-64% | Yellow | Getting used |
| 65-74% | Orange | Approaching auto-compact |
| 75%+ | Red | Near auto-compact trigger |
$'...'\033[38;2;R;G;BmDIM=$'\033[38;2;153;153;153m' # #999999
GREEN=$'\033[38;2;55;166;96m' # #37A660
YELLOW=$'\033[33m'
ORANGE=$'\033[38;5;208m'
RED=$'\033[38;2;187;106;122m' # #BB6A7A
RESET=$'\033[0m'${COLOR}text${RESET}00$0.00000s (0s)+0-00%--pwsh$Dim = "`e[38;2;153;153;153m" # #999999
$Green = "`e[38;2;55;166;96m" # #37A660
$Yellow = "`e[33m"
$Orange = "`e[38;5;208m"
$Red = "`e[38;2;187;106;122m" # #BB6A7A
$Reset = "`e[0m"~/.claude/~/.claude/settings.json