flight-recorder
Reviewed
at commit 36f76db
See inside a turn: a live Gantt timeline of model requests, tool calls and subagents, with tokens and cost per lane.
0 upvotes
Log in to upvote or save- Made by
- Prompt Advisers
- Pinned commit
-
36f76db2eaace816c651a0c1ad3e6cb46f770432 - What we checked
-
Draws a live timeline in a side pane of every model request, tool call and subagent in recent turns, with tokens and estimated cost per lane. It only observes: it never changes a tool call, runs no programs, reads no files and makes no network calls. It stores only how many turns the pane shows.
Review details
Static review of the source at the pinned commit; not run. Registers session.start, command.run (/timeline with clear, turns <n>, close), ui.close, prompt.submit, turn.start, turn.step (generator that wraps next and records timing and usage), tool.call (records tool name and start/end, passes the result through unchanged and only reads deny/isError to colour the bar), agent.spawn, turn.complete and ui.render for its own pane. Session state (not persistent) holds up to 10 turns of timings, tool names, token counts, the first 160 characters of each prompt for the pane header, and a price table for the cost estimate. $.store keeps only the number of turns shown. A 100 ms $.clock.every timer repaints the pane with $.ui.blit while a turn runs and stops when idle or the pane is closed. No fetch, $.net, $.process, $.fs or $.env use; the only import is the claude-code state helper. Failures in the recording code are caught so they do not affect the turn.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/flight-recorder/)