Mission Control

Watch Claude Code's subagents and tool calls

·

source at 5cef0d3

·

MIT license

/mission opens a live map of the main agent, its subagents and every tool call, plus a code map of the files they touch.

3 installs

What this mod can do

  • Reviewed at commit 5cef0d3
  • Runs programs
  • Writes files
  • Sends its own requests to Claude, which uses your tokens
  • Reads environment variables
  • Sees each tool call before it runs and can block or change it
  • Sees each subagent before it starts and can stop it or pick its model
3 more things it can do
  • Reads files
  • Adds the /mission command
  • Runs on a timer
Good to know (1)
  • Failed tool calls show in red in the tree, with a count of repeats
Are mods safe?

Preview

Terminal

⎿ mission-control: Mission Control: 0 agents · 5 tool calls · 1 files. w: who · c: code · q: close ╭────────────────────────────────────────────────────────────────────────────────────────────────✕─╮ │ [ Who ] [ Code ] [ Close ] │ │ 0 agents (0 running) · 5 tool calls · 2 failed │ │ ◆ main · hello 0.2s │ │ ├─ $ bash: Run the tests 0.8s │ │ ├─ ◉ read: src/sum.js │ │ ├─ ✎ edit: src/sum.js │ │ └─ $ bash: Run the tests → Remove the build output ×2 0.3s │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ◈ mission: 5 tools · 2 failed · 1 files changed · /mission [-]

Claude Desktop

Mission Control in Claude Desktop

What it does

In the author's words

/mission opens a live map of the main agent, its subagents and every tool call, plus a code map of the files they touch.

What you see
A summary line above the prompt and a pane
Works in
Terminal and Claude Desktop
Slash commands
/mission
Uses your tokens
Yes
Changes files
Yes
Network access
Only through programs it runs
Reviewed commit
5cef0d3
Preview recorded with
Claude Code 2.1.309

How it works

  1. Watches each tool call and subagent as the session runs
  2. Keeps a one-line count above the prompt: tools, failures and files changed
  3. /mission opens a pane with a Who tree of agents and their tool calls
  4. c switches to the code map of touched files, q closes it

Badge for your README

Own this listing? Add it to your README. The badge shows the install count as it grows.

Reviewed on statuslin.es
[![Reviewed on statuslin.es](https://statuslin.es/badge/mods/mission-control.svg)](https://statuslin.es/mods/mission-control?utm_source=readme-badge)

Or show the preview card:

Preview on statuslin.es
[![Preview on statuslin.es](https://statuslin.es/og/mods/mission-control.png)](https://statuslin.es/mods/mission-control?utm_source=readme-badge)

More like this

Deck in Claude Desktop

A cockpit for Claude Code: plan bars and subagent strips, context, usage limits with reset countdowns and burn rates, spend, the model route and a pet. Six bar styles, three collapsed looks. CLI and Desktop.

Context Bar in Claude Desktop

Your context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. /context-bar shows or hides it.

Flightdeck in Claude Desktop

Flightdeck: a live agent dashboard for Claude Code. Main model vitals, an on-call architect, every permission check, subagent cards and swimlanes, a turn receipt and a session log, all from real session events

[✓] Tables, diagrams and charts drawn in the terminal [✓] Copy tables as Markdown, art or HTML (macOS/Linux), and tables, diagrams and charts as a PNG image (macOS/Windows) [ ] Pick a taskStyle in /config: checks, ticks, box or progress [ ] Set listMarker to dash so a list you select with the mouse pastes as markdown [ ⧉ source ] [ ⧉ art ] [ ⧉ source ] [ ⧉ art ] ┌───────┐ ┌───────┐ ┌──────┐ ┌────────┐ Color options per group │ Reply ├──►│ Parse ├──►│ Draw ├──►│ Screen │ └───────┘ └───────┘ └──────┘ └────────┘ 8┤···7·························· 7┤·▄▄▄▄················6········ 6┤·████··············▄▄▄▄······· 5┤·████··············████······· 4┤·████····3·········████······· 3┤·████··▄▄▄▄····2···████····2·· 2┤·████··████··▄▄▄▄··████··▄▄▄▄· 1┤·████··████··████··████··████· 0┼─▀▀▀▀──▀▀▀▀──▀▀▀▀──▀▀▀▀──▀▀▀▀─ text head num code diag ╭──────────────────────────────────────────────────────────────────────────────────────╮ [ ⧉ copy ] │ Caution │ │ Claude Code refuses trees over 20000 nodes. A code block past about 500 highlighted │ │ lines falls back to plain text. │ ╰──────────────────────────────────────────────────────────────────────────────────────╯

Colorful, themeable rendering for Claude Code replies: tables, headings, code, numbers, paths and links.

╭─ CONTEXT ────────────────────────────────────────────╮ │ ████▊░░░░░░░░░░░░░░░░░ 22% of 200K · GOOD │ ├─ STATS ──────────────────────────────────────────────┤ │ ↓ 44.0K ↑ 1.4K │ $0.41 │ ⏱ 10m 12s │ +128/-34 │ ├─ REPO ───────────────────────────────────────────────┤ │ ◆ Opus 4.8 · main · 16:21 │ ╰──────────────────────────────────────────────────────╯

A boxed multi-line panel with auto-sizing borders: a context section with a gradient bar and status word, a stats section (tokens, cost, duration, lines changed), and a repo section (model, git branch with file counts, clock, vim mode), in a terracotta Claude-brand palette.

Opus 4.8 [high] ~/app main 16:20:55 | ⛁ ██░░░░░░░░ 22% | 5h ●◔○○○ 26% ↻2h7m | 7d ◔○○○○○○ 7% ↻2d1h │ $0.41 ⏱ 10m

Two-line status with a block context bar and quarter-step dot meters (◔◑◕●) for the 5-hour and weekly limits (fill shows usage, color shows whether you are ahead of or behind pace), plus model, effort, git and cost. Needs no jq.

Opus 4.8 high ✦ │ ctx 22% │ app (main) │ PR #1287 ● │ $0.41 · 10m +128 -34 Session ● ● ● ● ● ● ● ● ○ ○ ○ 74% left Resets in 2h 6m Weekly ● ● ● ● ● ● ● ● ● ● ○ 93% left Resets in 2d 0h Fable ● ● ● ● ● ● ● ● ● ○ ○ 85% left Resets in 2d 0h ◐ Read:index.ts ✓ Read×1 ✓ Bash×1 ✓ Edit×1 ✓ Grep×1 ◐ code-reviewer Review the change for regressions

A header with model, context and burn rate per hour, then live tool and agent activity parsed from the session transcript.

Model: Opus 4.8 | Thinking: high | Context: [▰▰▱▱▱▱▱▱▱▱] 45k/200k (22%) | cwd: ~/app | ⎇ main | (+0,-0) Cost: $0.41 | Block: 2hr 6m | Weekly: 7.0% | Session: 10m | In: 916.7 t/s | Out: 29.2 t/s | Cached: 2k | Session: [▰▱▱▱▱] 26.0% Mem: 0.8G/1.0G | (*゚∀゚*) | Session ID: b8e1c0d2-4a6f-4e2a-9c1b-3f5d7a9e2c10

Three lines in One Dark: model, thinking effort and a context bar up top; cost, quota, session clock and token throughput in the middle; weather, free memory and a rotating kaomoji below.