To add a dynamic usage status bar to Claude Code CLI:
Create ~/.claude/statusline-command.sh
Make it executable:
chmod +x ~/.claude/statusline-command.sh In settings.json, add:
"statusLine": {
"type": "command",
"command": "sh /Users/yourname/.claude/statusline-command.sh"
}