Home / Claude Code mods / Cost & usage / flight-recorder

flight-recorder

flight-recorder is a Claude Code mod by m2ai-portfolio that see inside a turn: a live Gantt timeline of model requests, tool calls and subagents, with tokens and cost per lane.

Updated 2026-10-08

What is flight-recorder?

flight-recorder is a Claude Code mod by m2ai-portfolio that see inside a turn: a live Gantt timeline of model requests, tool calls and subagents, with tokens and cost per lane. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorm2ai-portfolio
Repositorym2ai-portfolio/claude-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (84/100)
Rank#3,883 of 5,272 Claude Code mods; #729 in Cost & usage
Last commit2026-10-08
Hooks10 events
Seesevery prompt, every tool call, subagent spawns
Draws onPane

Is flight-recorder safe to install?

flight-recorder scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.blitdraws interface
$.ui.closedraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface

How do I install flight-recorder?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/m2ai-portfolio/claude-mods
    claude plugin validate ./claude-mods/flight-recorder
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/m2ai-portfolio/claude-mods && claude --plugin-dir ./claude-mods/flight-recorder

Or ask Claude to set it up

Paste this into Claude Code and it installs flight-recorder for you:

Install the "flight-recorder" Claude Code mod from https://github.com/m2ai-portfolio/claude-mods/tree/main/flight-recorder. Run claude plugin validate on it first and show me what it can access before you enable it.

More from m2ai-portfolio/claude-mods

This repository has 4 Claude Code mods on MCPMods.

  • artifact-watchdog: Enforces the subagent output contract: watches each Agent dispatch's artifact file, flags a 5-minute stall, wakes an idl (Review before installing)
  • auto-handoff: Writes a /next handoff automatically once a 1M-token session crosses 300k tokens, so the next session can /prime from it (High risk)
  • jev-tool-gate: Log-only Jev judgment of risky tool calls (destructive? requested by fetched content?). Never changes a decision; hosted (High risk)