Loading...
Loading...
Install a rich Claude Code statusline into ~/.claude/hooks/ and ~/.claude/settings.json. Displays model, git context, token usage, effort level, 5h/7d usage limits, and active /loop count with next-fire time.
npx skill4agent add andreadellacorte/groove groove-admin-claude-statusline~/.claude/hooks/~/.claude/settings.json--uninstall--list~/.claude/settings.jsonstatusLine/loopclaude-sonnet-4-6 | myrepo@main (+3 -1) | 42k/200k (21%) | effort: high | 5h 12% @8:00pm | 7d 3% @mar 16, 9:00am | 2 loops | check deployment @4:10pm| Section | Description |
|---|---|
| Model | Display name of the active model |
| Repo@branch | CWD folder name, git branch, staged diff |
| Tokens | Used / total context, % used |
| Effort | Current effort level (low / med / high) |
| 5h / 7d | Rate-limit utilisation with reset time (cached 60s) |
| Loops | Count of active |
--list~/.claude/settings.jsonstatusLine~/.claude/hooks/--uninstallstatusLine~/.claude/settings.jsonCronCreate|CronDeleteSessionEnd~/.claude/hooks/~/.claude/hooks/chmod +x~/.claude/settings.json{}statusLine~/.claude/settings.json✓ statusline.sh → ~/.claude/hooks/statusline.sh
✓ cron-state.sh → ~/.claude/hooks/cron-state.sh
✓ cron-state-clear.sh → ~/.claude/hooks/cron-state-clear.sh
✓ ~/.claude/settings.json updated
Note: restart Claude Code for changes to take effect.scripts/| Script | Installed to | Purpose |
|---|---|---|
| | Main statusline renderer |
| | Tracks |
| | Clears loop state on session end |
scripts/~/.claude/hooks/~/.claude/settings.json{
"statusLine": {
"type": "command",
"command": "~/.claude/hooks/statusline.sh"
},
"hooks": {
"PostToolUse": [
{
"matcher": "CronCreate|CronDelete",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/cron-state.sh",
"async": true
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/cron-state-clear.sh",
"async": true
}
]
}
]
}
}~/.claude/hooks/.claude/~/.claude/settings.jsonjqcurlpython3git