flight-recorder

by Prompt Advisers · ★ 0 · updated 3 days ago

PanesGuardsCommandsPromptvalidates

0

See inside a turn: a live Gantt timeline of model requests, tool calls and subagents, with tokens and cost per lane.

install flight-recorder

Install

git clone https://github.com/m2ai-portfolio/claude-mods
claude --plugin-dir ./claude-mods/flight-recorder

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
da46d9e the 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

★ 0PanesStatus lineGuards

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

★ 0BandsGuardsCommands

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.

★ 0GuardsCommandsPrompt