Important
Paste everything below the horizontal line into Claude Code and press Enter. Claude will install the script and wire it up.
Requirements: macOS, jq and curl. curl is always there; jq ships with macOS 15 (Sequoia) and later, so on a current system you install nothing. On older versions: brew install jq. Works in any terminal (Ghostty, iTerm, Terminal.app).
Note
Subscription vs API key. The 5h, 7d and Fable segments exist only for claude.ai subscription logins (Pro/Max/Team). With an API key (pay-as-you-go), Claude Code does not report plan limits and there is no OAuth token in the Keychain, so those three segments are silently skipped and the line shows only ctx, path, branch, model and effort. Nothing breaks.