benabraham/claude-code-status-line — reverse-engineered prompt
Reverse engineered prompt
Build me a single Python script that works as a Claude Code status line command.
I want it to show the useful stuff at a glance while I’m using Claude Code, like which model I’m on, how much of the context window is used, token count, current folder, git branch and git changes, plus remaining 5 hour and weekly usage. It should look nice in dark and light terminals, with colored gauges and a fallback for terminals that don’t support full color.
Please make it easy to install by saving the script in the Claude config folder and pointing Claude Code settings at it. Let me customize it with environment variables, including the theme, which pieces show up, their order, progress bar width, whether to hide main or master branches, and different usage gauge styles.
Also include update checking for Claude Code, a self update command for the script, and a simple plugin or custom segment system. Keep it dependency light and robust, since this should run quickly every time the status line refreshes.
Want more depth? Deep Reverse