Agent HUD

WeChat group

WeChat group

Scan with WeChat to join the group.

Guides

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

PlaceShowsComes from
Status line in the terminalThat session's agent only, while its window is in viewBuilt into Claude Code and Codex
Mac menu barThe highest usage among your agents as a number, every limit in the menuAgent HUD
Screen edge or notchA colour per agent at rest, the full panel on hover, alerts when a limit runs low or resetsAgent 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 Mac menu bar

A status line belongs to one session. It is out of sight when the terminal is behind another window, and Claude Code's and Codex's lines never sit together. Agent HUD puts one item in the menu bar for all of them.

The item is a small icon filled with one colour per agent, green, yellow from 70% used and red from 90%, with a number beside it: the highest usage among your agents. If you prefer the share left, it shows the lowest remaining instead.

Click it and the menu lists each agent with its account and every limit on its own line, with the share used and the time to its reset, such as 62% · 2h 05m. A reset more than a day away shows as a weekday and time. Agents billed by balance, such as DeepSeek, show the balance.

The same menu has Statistics…, Refresh data and Settings…. The icon is on by default; Show menu bar icon in Settings → General turns it off.

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.

Simple mode: each agent's logo in a ring of its most used quota
Simple mode: each agent's logo in a ring of its most used quota

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.