Skip to content

[Resource]: claude-statusline #1373

Description

@shashikirandevadiga

Display Name

claude-statusline

Category

Status Lines

Sub-Category

None

Primary Link

https://github.com/shashikirandevadiga/claude-statusline

Author Name

shashikirandevadiga

Author Link

https://github.com/shashikirandevadiga

License

MIT

Other License

No response

Description

A Bash shell statusline for Claude Code that adds a color-coded context window bar, paid-plan overage spend tracking ($5.71/$20.00), 5-hour reset countdown, cache hit ratio, YOLO mode warning, 2x multiplier indicator, and narrow terminal support. Built on top of kamranahmedse/claude-statusline. Install with a single curl command; configure thresholds via settings.json.

Validate Claims

Install: curl -fsSL https://raw.githubusercontent.com/shashikirandevadiga/claude-statusline/main/bin/statusline.sh -o ~/.claude/statusline.sh && chmod +x ~/.claude/statusline.sh

Add to ~/.claude/settings.json: "statusLine": { "type": "command", "command": "bash "$HOME/.claude/statusline.sh"" }

Restart Claude Code — statusline renders immediately showing context bar, spend tracking, and reset countdown.

Specific Task(s)

Open a Claude Code session and observe the statusline at the bottom of the terminal.

Specific Prompt(s)

No Claude prompt needed — the statusline renders automatically on session start. Verify: (1) color-coded context bar, (2) spend as $X.XX/$Y.YY, (3) reset countdown like "in 2h 14m", (4) red YOLO warning if started with --dangerously-skip-permissions.

Additional Comments

Dependencies: jq, curl, git (standard on macOS). No network requests except to the Anthropic API. No auto-update functionality. The script is well-commented Bash — every section is labeled. Built on top of kamranahmedse/claude-statusline (MIT), which is not currently in this list.

Uninstall: rm ~/.claude/statusline.sh and remove the statusLine block from ~/.claude/settings.json.

Recommendation Checklist

  • I have checked that this resource hasn't already been submitted
  • It has been over one week since the first public commit to the repo I am recommending
  • All provided links are working and publicly accessible
  • I do NOT have any other open issues in this repository
  • I am primarily composed of human-y stuff and not electrical circuits

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions