Claude Code and Codex usage in the Mac menu bar and the status line
There are three places to keep your Claude Code and Codex usage in view without asking for it. The status line sits inside each terminal session and is built in. The Mac menu bar and the screen edge show every agent at once, and that is what Agent HUD adds.
Updated 2026-11-21
Three places, side by side
| Place | Shows | Comes from |
|---|---|---|
| Status line in the terminal | That session's agent only, while its window is in view | Built into Claude Code and Codex |
| Mac menu bar | The highest usage among your agents as a number, every limit in the menu | Agent HUD |
| Screen edge or notch | A colour per agent at rest, the full panel on hover, alerts when a limit runs low or resets | Agent HUD |
Claude Code: usage in the status line
The quickest way is to ask for it. In Claude Code, type /statusline show my 5-hour and weekly usage percentages, and it writes the script and the setting for you.
To set it by hand, add this to ~/.claude/settings.json. Claude Code passes the session's data to the command, including the share of the 5-hour and 7-day limits used:
{
"statusLine": {
"type": "command",
"command": "jq -r '\"5h \\(.rate_limits.five_hour.used_percentage // \"-\")% · week \\(.rate_limits.seven_day.used_percentage // \"-\")%\"'"
}
}It prints a line such as 5h 42% · week 71%, and needs jq installed. The figures are the share used, and a limit Claude Code has not reported yet shows as a dash.
Claude Code: customize your status lineHow to check Claude Code usage and remaining limits
Codex: usage in the status line
In the Codex CLI, /statusline chooses the items shown in the footer, rate limits and context among them. The choice is saved in config.toml, so it stays for later sessions.
OpenAI: Codex CLI commandsHow to check Codex usage limits and reset times
The screen edge
The menu bar gives one number. The HUD at the edge of the screen gives each agent its own ring and percentage, opens the full panel on a hover, and is where replies, permission requests and quota alerts appear. On a MacBook it can sit at the notch instead.

Claude Code and Codex in the MacBook notch: limits, replies and requestsNotch and Simple: Agent HUD on every screen
Questions
Is there a Mac menu bar app that shows Claude Code and Codex usage?
Yes. Agent HUD adds a menu bar item with the highest usage among your agents as a number, and a menu that lists every Claude Code and Codex limit with the share used and the time to its reset.
How do I show my usage limit in the Claude Code status line?
Type /statusline show my 5-hour and weekly usage percentages in Claude Code, or set a statusLine command in ~/.claude/settings.json that reads rate_limits.five_hour.used_percentage and rate_limits.seven_day.used_percentage.
Can the Codex status line show rate limits?
Yes. In the Codex CLI, /statusline picks the footer items, and rate limits are one of them. The choice is saved in config.toml.
What is the number in Agent HUD's menu bar item?
The highest usage among your agents' limits, as a percentage. With the display set to remaining, it is the lowest share left.
Can I hide the menu bar icon?
Yes. Turn off Show menu bar icon in Settings → General. The HUD at the screen edge stays.
