Monitor Claude Code agents and permissions live

·

source at 626cc0b

·

MIT license

A live dashboard pane: model, effort and context, cost, every permission check, subagents as cards or swimlanes, a turn receipt and a session log.

19 installs

What this mod can do

  • Reviewed at commit 626cc0b
  • Sees each message added to the conversation and can change it
  • Sees each tool call before it runs and can block or change it
  • Can approve or deny each tool call before Claude Code asks you
  • Sees each subagent before it starts and can stop it or pick its model
  • Can hide subagent types from Claude
  • Also uses ui.fault, which this page doesn't describe yet
2 more things it can do
  • Adds the /flightdeck command
  • Runs on Claude Code hooks, such as session start
Good to know (3)
  • Needs Claude Code 2.1.289 or later
  • Watch-only: the README says it never denies, rewrites or delays a tool call
  • Outside fullscreen, the pane is a summary of up to 8 rows
Are mods safe?

Preview

Terminal

✕ FLIGHTDECK · OPUS 5.5 IDLE ■ main ■ agents ■ gate ╭─────────────────────────────────────────────────────────────╮ │ Opus 5.5 · main ○ idle │ │ effort ▮▮▯▯ medium mode auto 1 req │ │ ctx ▰▰▱▱▱▱▱▱▱▱ 22% 44k/200k │ │ $0.20 │ │ last req ttft 0.0s │ ╰─────────────────────────────────────────────────────────────╯ ─────────────────────────────────────────────────────────────── ╭─────────────────────────────────────────────────────────────╮ │ GATE · permissions 5 checks │ │ ■■■■✗ │ │ ■ 4 allowed ■ 0 classifier ✗ 1 denied │ │ f: file 2 s: shell 3 o: other 0 │ ╰─────────────────────────────────────────────────────────────╯ ─────────────────────────────────────────────────────────────── ╭─────────────────────────────────────────────────────────────╮ │ ✓ last turn 0s · 0 agents · 0 edits · 0 errors │ ╰─────────────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────╮ │ session log │ │ 19:14:06 main Bash → npm test ✗ │ │ 19:14:06 main Edit → src/sum.js │ │ 19:14:06 gate denied by rule · Bash → rm -rf build │ │ 19:14:06 main Bash → rm -rf build ✗ │ ╰─────────────────────────────────────────────────────────────╯

Claude Desktop

Flightdeck in Claude Desktop

What it does

In the author's words

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

What you see
A dashboard pane, docked or above the prompt
Works in
Terminal and Claude Desktop
Slash commands
/flightdeck
Uses your tokens
No
Changes files
Nothing
Network access
None
Reviewed commit
626cc0b
Preview recorded with
Claude Code 2.1.309

How it works

  1. /flightdeck opens the pane and /flightdeck close closes it
  2. Reads session events: requests, tool calls, permission checks and subagents
  3. Draws panels for the model, the permission gate, agents and a session log
  4. Docks beside the transcript in a fullscreen terminal, otherwise above the prompt

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/flightdeck.svg)](https://statuslin.es/mods/flightdeck?utm_source=readme-badge)

Or show the preview card:

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

More like this

Token Weather Usage in Claude Desktop

One line above the prompt: context tokens with their weather, a bar per recent prompt, your 5-hour and 7-day limits against the time elapsed, the prompt cache with its time left, the session cost with the last prompt's share in dollars and in points of the 5-hour limit, the subagents running, and a one-click pill for the GOs Claude proposes. Labels in English, French or Russian. After Token Weather (Anthropic, Apache-2.0) and the ideas of usage-meter (HolyGrail) and prompt-cache-control (Daniel San).

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.

╭─ 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.