Videos
Hey Claude fam! ๐
So I got tired of constantly wondering "wait, how much am I spending?" and "are my MCP servers actually connected?" while coding with Claude Code.
Built this statusline that shows everything at a glance:
Git status & commit count for the day
Real-time cost tracking (session, daily, monthly)
MCP server health monitoring
Current model info
Best part? It's got beautiful themes (loving the catppuccin theme personally) and tons of customization through TOML config.
Been using it for weeks now and honestly can't code without it anymore. Thought you all might find it useful too!
Features:
77 test suite (yeah, I went overboard lol)
3 built-in themes + custom theme support
Smart caching so it's actually fast
Works with ccusage for cost tracking
One-liner install script
Free and open source obviously. Let me know what you think!
Would love to see your custom themes and configs! Feel free to fork it and share your personalizations in the GitHub discussions - always curious how different devs customize their setups ๐จ
Installation:
curl -fsSL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/install.sh | bash
GitHub: https://github.com/rz1989s/claude-code-statusline
Hi everyone! I made a simple Claude code status line ruby script that shows what model youโre using, git status, project folder, total cost (calculated and configurable), and input/output tokens. Itโs nothing fancy, just a fun exercise to practice some Ruby scripting and figured Iโd share.
Gist is here: https://gist.github.com/justindell/bdb5c5ecf2549d116813f0817673b5fb
In the latest version 1.0.72, Claude Code has added a /statusline command that you can use to display information.
If you want to display the current directory's git branch, enter in the command line:
/statusline show the current git branch
If you want to simultaneously display the current directory, git branch, and the model in use, enter in the command line:
/statusline Show the current directory, git branch, and model in use.
After entering this, you can see that Claude will analyze this instruction, then modify the ~/.claude/settings.json file to add the corresponding command.
I have obtained the prompt for the statusline command, see the bottom of the page.