All projects

macOS menu-bar app

Mission Control

Shows what every running Claude Code agent is doing and alerts me when one is waiting for me, without ever touching a session.

Not developed further
Built with
  • Tauri 2
  • Vanilla JS
  • Rust
  • Shell

How it works

Mission Control only watches. A small hook writes down what every Claude Code session does, and the app reads that file.

Claude CodeMission ControlYouyesnoAn agentsession runsHook writes eachevent to alocal filenever blocksApp readsthe eventsWaitingfor me?Alert in themenu barI answer inthe sessionOverview: dailyreport, tokens,2D map
  1. Claude Code An agent session runs
  2. Claude Code Hook writes each event to a local file (never blocks)
  3. Mission Control App reads the events
  4. Mission Control Waiting for me?
  5. Mission Control Alert in the menu bar
  6. You I answer in the session
  7. You Or: Overview: daily report, tokens, 2D map

The problem

When several Claude Code agents run at once, I lose track: which one is working, which one is done, and which one is waiting for my answer?

What I built

  • A hook script that writes every event to a local file. It is registered for 10 Claude Code events, from SessionStart to TaskCompleted. Source: Event list in the Mission Control installer script, matched against my Claude Code settings
  • An alert in the menu bar when an agent is waiting for me, triggered by the Notification hook.
  • An overview with a daily report and token usage per model.
  • A 2D map of what is currently running.

Where Claude comes in

In two places. I built the whole app with Claude Code, with a pull-request workflow and tests in GitHub Actions. And the app itself is a companion for Claude Code: it runs on Claude Code’s own hooks.

The hook fields were checked against the installed Claude Code, not taken from memory.

Decisions

  1. Observer, not participant

    The hook always exits with 0, and the installer only adds entries, keeps a backup and can be rolled back. Mission Control can watch a session but never block it.

  2. A figure cut instead of invented

    I wanted to show how much of the weekly limit is used. Claude Code doesn’t expose that in a way I could read reliably, so the figure is gone. Better to leave a number out than to make one up.

  3. Tokens, not money

    The app counts tokens per model. Without a price table, it says “price unknown” instead of showing an estimated amount.

Where it stands

I built it and ran it on my Mac, as a macOS debug build, and I was the only user. I’m not developing it further. It stays here because it shows how I build: from an idea to a working app with Claude Code.

What I learned

A figure I can’t back up doesn’t belong in the app, however useful it would look. The same rule now applies to this website.

Next project

apply