flight-recorder
by Prompt Advisers · ★ 0 · updated 3 days ago
See inside a turn: a live Gantt timeline of model requests, tool calls and subagents, with tokens and cost per lane.
Install
git clone https://github.com/m2ai-portfolio/claude-modsclaude --plugin-dir ./claude-mods/flight-recorderThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runui.closeprompt.submitturn.startturn.steptool.callagent.spawnturn.completeui.render- API calls
$.clock.every$.clock.now$.command.register$.state.get$.state.set$.store.get$.store.set$.ui.blit$.ui.close$.ui.open$.ui.panes$.ui.resolve- Draws
Pane- Can see
every promptevery tool callsubagent spawns- Reach
- level 1 of 3 other: $.state.getother: $.state.setpersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/m2ai-portfolio/claude-mods
- Path in repo
flight-recorder- Source commit
da46d9ethe exact code the scan read- Author
- Prompt Advisers @m2ai-portfolio
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from m2ai-portfolio/claude-mods
artifact-watchdog
m2ai-portfolio/claude-mods
Enforces the subagent output contract: watches each Agent dispatch's artifact file, flags a 5-minute stall, wakes an idle Claude once per stall, offers a Stop button
auto-handoff
m2ai-portfolio/claude-mods
Writes a /next handoff automatically once a 1M-token session crosses 300k tokens, so the next session can /prime from it
jev-tool-gate
m2ai-portfolio/claude-mods
Log-only Jev judgment of risky tool calls (destructive? requested by fetched content?). Never changes a decision; hosted calls off by default.