Agents
Plan limits and caffeine
The status-bar gauges for your Claude and Codex plan limits, and the switch that keeps your Mac awake while agents work.
Two chips at the left of the status bar are there for the agents in your terminal. The plan gauges show how much of your Claude and Codex limits you have used, so a long task does not stop halfway. Caffeine keeps the Mac from sleeping while the work runs.


Plan limit gauges
Each provider gets its icon and one chip per window:
| Chip | Window |
|---|---|
5h 32% |
the five-hour session limit |
7d 61% |
the weekly limit |
A short bar beside the number fills as you use the window. At 90% the chip turns red. A window the provider does not report is not drawn: a plan with only a weekly limit shows only 7d.
Hover the gauges, or press ⌘⇧L to show it for five seconds, for the usage card. For each provider it names your plan, such as Max 20x or Team, and then each limit:
- how much of it is used, such as Session 32% used or Weekly 61% used, including per-model weekly limits when your plan has them;
- when it resets, such as Resets in 2h 14m;
- a bar with a tick where you would be if you used the limit evenly up to its reset. The tick turns red when you are ahead of that pace;
- a line such as Runs out in 2d 6h (for the session limit, Projected empty in 40m) only when, at the rate so far, the limit will run out before it resets.
For Codex the card also shows how many free limit resets you have left and when the first of them expires. The card ends with when the numbers were last fetched, such as Updated 3m ago.


Right-click for two items:
- Refresh Now — fetch the numbers again.
- Usage Settings… — open Settings at the AI Usage page.
A left click does nothing.
Where the numbers come from
- Claude — the claude.ai session key you paste in Settings → AI Usage → Session key: the value of the
sessionKeycookie of claude.ai, from your browser while you are signed in. mxds keeps it in the macOS Keychain. It does not read Claude Code's own sign-in. Without a key, or when Claude refuses it, the Claude gauge is not shown. - Codex — the ChatGPT account you signed in to Codex with.
The numbers are fetched every five minutes by default. When you are not signed in to a provider, or its sign-in has expired or been refused, its chip is not shown at all. When a provider cannot be reached — no network, a rate limit, a server error — its chip shows error; hover it for the reason.
Settings
Settings → AI Usage:
| Setting | Default |
|---|---|
| Show Claude usage in status bar | on |
| Session key (Claude) | empty |
| Show Codex usage in status bar | on |
| Refresh interval, in seconds (30 to 3600) | 300 |
| Show 5-hour window | on |
| Show 7-day window | on |
| Show progress bar | on |
| Compact mode — bars only, no numbers | off |
| Notify at 95% | off |
With Notify at 95% on, mxds sends a macOS notification when a window crosses 95%, for example Claude usage at 96% — 5-hour window at 96%, resets in 1h 20m. It notifies once per crossing, and again only after the window has dropped below 95%.
Caffeine
The coffee cup chip keeps your Mac awake. Click it to choose a mode:
| Mode | What it does | Chip shows |
|---|---|---|
| On | keeps the Mac awake until you turn it off | On |
| For − 60 min + | keeps it awake for a set time, then back to normal sleep | the time left, such as 58m |
| Agent | keeps it awake while an agent in the terminal is working | Agent |
| Off | normal sleep | Off |
The timed mode goes from 15 minutes to 4 hours in 15-minute steps. Pressing − or + while it runs restarts the countdown from the new value.
In Agent mode the Mac stays awake only while at least one agent is working; when the last one goes idle, normal sleep applies again. The header of the popover says Active while the Mac is being held awake and Idle while it is not.
While the Mac is held awake, the screen stays on too.
Caffeine stops when you quit mxds, and also if mxds crashes, so the Mac is never left awake by accident. Agent mode is remembered between launches; On and the timed mode are not.