Menu-bar counters
At a glance, no labels: how many sessions are working, freshly finished, or in follow-up. Dims when nothing's urgent.
macOS menu-bar plugin Β· SwiftBar
The session that needs you is never the one in focus. Run five agents at once and never lose one β every session's status lives in your menu bar, glance-able, where you're already looking. Finished, working, stalled, ignored.
The smallest possible answer to βwhich agent needs me right now?β β and the best tool there is for running Claude Code in parallel.
macOS Β· Python 3.9 stdlib Β· zero external deps
β live recreation β watch a session finish, spawn subagents, hit context limit
Running a tool, or paused on a permission prompt.
Finished β and you haven't opened it yet.
You've opened it; still in active follow-up.
Quiet for a while β fades to grey, still reachable.
Everything answers one question β which agent needs me right now? β without pulling focus. And nearly everything here is highly customizable: ~29 config knobs, so it bends to your workflow, not the other way around.
At a glance, no labels: how many sessions are working, freshly finished, or in follow-up. Dims when nothing's urgent.
Every session active in the last 3h, sorted active β fresh β acked β stale. Click a row to jump to it in your editor.
File sessions into groups in the Claude Code sidebar and the menu mirrors them β either the group name prefixing each row, or one folded entry per group whose header counts the live states inside. Read-only: grouping stays in the IDE.
A permission prompt announces itself once. Miss that banner and the agent just stands there. Now the same notification repeats on a doubling schedule until you answer β 10, 30, 70 minutes β then fades out on its own.
Archive a session in the sidebar and its row leaves the menu too β unless you gave it a tag or a bookmark. Those are the bar's own markers, so setting one keeps a session in view no matter what the editor thinks.
A session started in a shell is marked β―, and its row raises the terminal tab that owns it β Terminal.app or iTerm2 by tty, then tmux, then screen, then claude --resume. No more resuming the same transcript twice.
Your 5-hour and weekly windows as two bars under Statistics β yellow past 60%, red past 85%. Read straight from Claude Code's own get_usage: no inference, no quota spent, nothing left running.
Chime + a spoken line via macOS say + a click-to-jump banner when a session finishes, stalls, or sits unread β and it keeps asking if you leave a prompt standing. It speaks what the session did and which one needs you β every phrase and the voice yours to set. See below.
Sessions spawning Task subagents grow a π€ΓN badge, and the parent row holds π‘ until the last one returns.
Past 80% context the row shows β {pct}% (red past 90%) β a glance flags who's near auto-compact.
Rows flag a shared-folder collision (β), an isolated worktree checkout (β¦), and a blocked one reads waiting {duration} β so you see where work lands, not just that it's running.
Pause notifications on a schedule; caffeinate -i wrapper (off / auto / always) keeps the Mac up while agents run.
Remind (re-speak its last summary), Mark as read, Forget, Delete, Reveal in Finder β plus git branch, model chip, context %, and last tool_use on hover.
Bulk acknowledge/forget, today's activity (turns, tokens, by model), a Banner-and-voice / Banner-only toggle, and a jump to your config.
Crowded bar on a notched MacBook? "compact": true drops the icon and swaps π‘π’π΅ for narrow ANSI bullets β2 β1 β3 β saves ~30px.
No daemon, no IPC. A Python script rebuilds the menu from disk every 5s. macOS stdlib only β nothing to keep running.
~29 config knobs: phrases, voice, sounds, quiet hours, thresholds, the menu-bar icon, fresh/ack windows, compact mode, editor. Defaults work β change only what you want.
most-mentioned feature
When a session finishes, stalls on a permission prompt, or sits
unread, your Mac says it out loud β not just a chime, but a
one-line summary of what it did and, for a blocked session, its
name, so with five agents running you know by ear which to open
without β-tabbing. The summary comes from the
*-- Name - Summary* line your replies end
with. And the thing people keep calling out:
every spoken phrase is yours to change.
notify_phrases line)notify_wait_phrases linenotify_idle_phrasesnotify_voice; multi-part lines land as separate beats with a short pause between themYour name, inside jokes, a movie line, your dog's name β whatever makes you look up. The same marker can also retitle the menu rows (opt-in).
{ "notify_phrases": ["It is done, my liege", "Touch grass, I got this"], "notify_wait_phrases": ["I need an adult", "Halt β human required"], "notify_idle_phrases": ["Still here β still unread"], "notify_voice": "Samantha", "notify_threshold_sec": 30 }
subagent rollup
Task won't lie to you.
When a session fans out into Task subagents, the row grows a
live π€ΓN badge β and the parent stays π‘ working for as long as
any subagent is in flight, so a 10-minute fan-out never drifts into a
misleading π’ finished.
Real SwiftBar, real sessions.
Homebrew. Idempotent β safe to re-run.
brew install --cask swiftbar brew install terminal-notifier brew install alexey-krylov/claude-agents-bar/claude-agents-bar
claude-agents-bar setup
Symlinks the plugin, registers the Claude Code hook, and merges hook entries into settings.json (with a timestamped backup).
claude-agents-bar doctor
Checks jq + python3 + SwiftBar.app, hook registration, sidecar freshness, and your editor app.
terminal-notifier is optional β the menu-bar UI works without it, but banners + chime won't fire. No Homebrew? There's a git-clone path in the repo.
A Python script polls every 5 seconds. It reads the JSONL transcripts Claude Code already writes (for titles and cwd) plus a small sidecar TSV that a Claude Code hook updates on every session event β UserPromptSubmit, PreToolUse, PermissionRequest, Stop, and friends. (Not SessionStart: the editor fires it on every tab switch, which would light up rows nobody is working in.)
No daemon, no IPC. The plugin is stateless and rebuilds the menu from disk on every tick. Without the hook it still runs, but every session reads as idle β the state TSV is what distinguishes working / waiting from idle.