← mermer.city
The Mermer Courier

Amsterdam·No. 2·Monday 2 November 2026

Kadans · 5 min read

Kadans, a speedometer for your Claude Code limits

Kadans is a free, open-source macOS menu bar app that shows where your Claude Code usage will land at the reset and brakes new agents before you run out.

Two Kadans panels in dark mode. On the left the brake is on at 73% and the limit runs out at 23:35; on the right a menu slows or pauses one agent.
The panel with the brake on, and the pace menu for one agent. The agents and projects in it are demo data.

Kadans is a macOS menu bar app that shows how fast you are using your Claude Code limit and where you will land when it resets. It lists every agent that is running, and you can slow, pause or stop any of them with a click. When your pace would use up the window early, it holds new sub-agents until the reset. It is free and open source under the MIT licence, and it runs on your Mac with no server behind it.

Kadans is Turkish for cadence, the steady rhythm a cyclist keeps.

Why a speedometer

On a Pro or Max plan, Claude Code gives you a 5-hour usage window, and some plans add a 7-day one. /usage tells you how much of it you have used. It does not tell you whether you will run out before the reset.

That second number is the one I kept missing. I usually have several agents working at once, and a few busy ones can empty a window long before it resets, and then everything waits.

So Kadans works like a speedometer. It samples your usage, works out your pace and projects where you will be at the reset.

The panel's own demo, recorded at 60 frames per second. The agents in it are made up.

What the panel shows

At the top is the gauge for your tightest window: how much you have used, when it resets and one line about your pace. "On pace, about 94% at the reset" means you are fine. "At this pace you'll run out at 23:35" means you are not. The menu bar icon shows the same reading, so most of the time you don't need to open anything.

Under the gauge is the agent list. Every Claude Code session and sub-agent gets a row with its state (working, needs you, slowed or idle), its progress, how full its context is and what its sub-agents have spent. You can drag rows into your own order and double-click a title to rename it. Smart titles name the other chats after what they are working on now.

If you also use the Codex CLI, its limits appear next to Claude's, read-only.

The brake

The brake is the part I use most. When your pace would use up a window early, Kadans holds new sub-agents and workflows and tells Claude why, with the time the limit would run out and when it resets. Work that is already running keeps going.

It does this with a Claude Code PreToolUse hook on the tools that start agents. The reason comes back to Claude as the hook's answer, so it can plan around it.

Last week, while I was building this site, the brake held two agents I was about to start. Neither was urgent, so they waited. When something can't wait, you mark its task urgent and it passes the brake, or you start the session with KADANS_ALLOW=1.

Pacing one agent

Each row has a pace menu. Slow down makes that agent wait 20 seconds before each tool call. Pause until reset holds it before its next tool, and pause for 30 minutes lets it carry on after half an hour. The same row can compact a chat, replace it with a fresh session or stop it. Anything that ends a chat asks first.

Auto-pace is a switch at the bottom of the panel. With it on, Kadans asks sessions to read less when usage runs hot, and slows them if the brake has held for ten minutes. Lean mode is on by default and adds short notes that save tokens, for example when an agent reads a file again that has not changed.

For the opposite case, when part of a window would go unused, there is a throttle. It can hand a task you approved to a session. It stays off until you turn it on.

On your phone

In Settings › Phone, turn it on and scan the QR code on the same Wi-Fi or over Tailscale. Add the page to your home screen and you have the same panel on your phone. A pairing code works once, within 10 minutes. On a shared Wi-Fi the link is not encrypted, so use Tailscale there.

Install

npx kadans@latest setup

You need macOS 13 or newer, Node.js 22 or newer and Claude Code on a Pro or Max plan, because Claude Code only shares usage data on those plans.

Setup shows what it will change in your Claude Code settings.json and asks before it writes anything. It makes a backup first, then builds the menu bar app on your Mac and opens it. Run the same command again to update. Every hook fails open: if Kadans hits an error, Claude Code carries on as if it were not there.

npx kadans uninstall --apply removes the hooks and puts your old status line back.

What leaves your Mac

There is no server and no account. Kadans reads what Claude Code passes to its status line, and it reads the session transcripts under ~/.claude/projects for token counts, models and titles. It never writes to them.

To count usage from claude.ai, the desktop and phone apps or another computer too, the app asks Anthropic for your own usage every 2 minutes. That is the same number /usage shows. It takes the access token from your Claude Code item in the macOS Keychain, never stores or refreshes it, and keeps only the percentages and reset times. kadans config set usageApi false turns this off.

Smart titles ask Haiku through claude -p on your own account a few times per window, and never while the brake is on. Everything Kadans keeps is in ~/.kadans.

Three days to 1.0

The first commit went in on 25 October. Version 1.0 and then 1.1 came out on 27 October, a day of 401 commits. The repository is at 567 commits across all branches now.

In mermer.city, Kadans is the slim tower on the avenue corner past the Courier. Its gauge is a station clock on the facade, the lime menu bar mark is the sign on the roof, and five blobs from the panel stand on the terrace: two working, one slowed, one idle and one done. It opened with version 1.0, so it has no scaffolding. The first post explains how the buildings grow.

The Kadans tower in mermer.city at golden hour, with a station-clock gauge on its face and five blobs on the roof terrace, next to the brick Courier building
Kadans on its corner of mermer.city, next to the Courier.
KadansPaces your AI usage window.Case study →

The code is on GitHub and the package is on npm. Kadans is an independent project and is not affiliated with Anthropic.