🧭 Mapping my agent fleet with Claudetographer

Claudetographer reads what Claude Code already writes under ~/.claude and turns it into a live map of sessions, subagents, agent teams and workflows. It shows what each agent is doing, what it costs and how long it has left, locally and read-only by default.

By Dennis Bruijn · · 14 min read · #projects #agent-tools #claude-code #typescript #react #nodejs

One Claude Code session is easy to follow. Then it hands work to a subagent, that one forks, a workflow starts a few dozen agents in waves, and an agent team shares a task list in the next terminal over. Every one of them writes a tidy transcript to disk, and none of them tells you where the fleet is right now. So I built a cartographer for it. The name is a pun, and the icon is a compass on a red tile.

Watch the Claudetographer explainer: a survey camera pushing onto the live Overview

The explainer runs 28.5 seconds and was made with Montage. It rebuilds the app's views from the app's own components and color tokens, using the demo data, rather than recording the running app.

The Claudetographer Overview in pure-black Ember with KPI cards, live throughput stacked by agent kind and the Running Now list

Every screenshot in this post is real output: headless Chrome against the demo fleet (npm run demo). The projects, sessions and pull requests are all made up.

A live map of the whole fleet

The Overview puts what is happening now above the fold: live sessions, running workflows, active agents, tokens per minute and burn rate. Below that sit a per-minute throughput chart and a Running Now list, with the running workflow and its phase on top. Scroll further for noteworthy events, workflow health, cost and token trends, how the workload splits between agent kinds, recent runs and pull requests.

Main threads, subagents, forks, agent teams and workflow agents all land in that one view.

The KPI cards, Live Throughput and Running Now updating while per-minute stacks march left and the migrate-auth wave advances

The Overview while agents work. A Montage recreation using the demo data.

Only the new bytes

The trick that keeps it live is boring, which is what you want from a trick like this. Transcripts only ever grow, so the server never re-reads one. fs.watch reports that a file changed, the collector reads from the last byte offset it saw to the end of the file, and folds those new lines into sessions, agents, runs, usage buckets and PR links. Snapshots are rebuilt at most every 750 ms, shared by every open tab and pushed over Server-Sent Events.

Here is a toy version you can poke at. Hit Burst and watch twelve writes collapse into a couple of pushes:

<style>
  body { margin: 0; padding: 14px; background: #000; color: #e5e5e5; font: 12px/1.5 ui-monospace, Menlo, monospace; }
  .bar { margin-bottom: 10px; }
  button { font: 600 12px system-ui; background: #ff6b57; color: #000; border: 0; border-radius: 6px; padding: 6px 10px; margin-right: 6px; cursor: pointer; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
  .col { background: #0a0a0a; border: 1px solid #262626; border-radius: 10px; padding: 10px; min-height: 150px; }
  h4 { margin: 0 0 6px; font: 600 10px system-ui; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8a; }
  pre { margin: 0; white-space: pre-wrap; word-break: break-all; }
  .new { color: #ff6b57; }
  .dim { color: #6b6b6b; }
</style>
<div class="bar"><button id="one">Agent writes a line</button><button id="burst">Burst of 12</button></div>
<div class="grid">
  <div class="col"><h4>transcript.jsonl</h4><pre id="file" class="dim">(empty)</pre></div>
  <div class="col"><h4>collector</h4><pre id="log" class="dim">waiting for fs.watch…</pre></div>
  <div class="col"><h4>browser, over SSE</h4><pre id="ui" class="dim">no snapshot yet</pre></div>
</div>
<script>
  // A toy, not Claudetographer's code: the reader keeps a byte offset and reads only
  // what was appended; snapshots go out at most once per 750 ms.
  const tools = ["Read", "Edit", "Bash", "Grep", "Agent"];
  let file = "", offset = 0, events = 0, pushes = 0, last = -1e9, timer = null;
  const $ = (id) => document.getElementById(id);
  const esc = (s) => s.replace(/[&<>]/g, (c) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;" })[c]);

  function write() {
    file += JSON.stringify({ type: "tool_use", name: tools[(Math.random() * 5) | 0] }) + "\n";
    onFileChanged();
  }
  function onFileChanged() {
    const fresh = file.slice(offset);
    offset = file.length;
    events += fresh.trim().split("\n").length;
    const old = file.slice(0, file.length - fresh.length).split("\n").slice(-5).join("\n");
    $("file").className = "";
    $("file").innerHTML = '<span class="dim">' + esc(old) + "</span>" + '<span class="new">' + esc(fresh) + "</span>";
    $("log").className = "";
    $("log").textContent = "read " + fresh.length + " new bytes\noffset is now " + offset + "\nevents folded: " + events;
    if (!timer) timer = setTimeout(push, Math.max(0, 750 - (performance.now() - last)));
  }
  function push() {
    timer = null; last = performance.now(); pushes++;
    $("ui").className = "";
    $("ui").textContent = "snapshot #" + pushes + "\n" + events + " events so far\n" + pushes + " pushes for " + events + " writes";
  }
  $("one").onclick = write;
  $("burst").onclick = () => { for (let i = 0; i < 12; i++) setTimeout(write, i * 40); };
</script>

Every session, and what fills it

The Sessions page lists every session in range: its mode (ultracode or standard), project, status (busy, idle, waiting on you, ended), where it runs, its model and a token mix bar across the main thread, subagents, forks and workflow agents. Click one and the whole dashboard zooms in on it. The icon next to a live session jumps to its VS Code window or terminal tab (Terminal, iTerm2 and Ghostty 1.4 or later). The page also shows git worktrees with files two live sessions both edited, fork lineage, a box to message a session through claude --bg --resume, and cost by model and effort level.

The Sessions table with mode, project, status, token mix, delegated agents, pull requests, tokens and cost per session

Each live session's context is split into conversation, system and tools, memory, skills and MCP, with warnings at 75% and 90% of the way to auto-compaction. Next to it, the model mix shows what the same tokens would have cost a model family down.

Each live session's context split into conversation, system and tools, memory, skills and MCP, measured against where auto-compaction starts

Cost by model against the same tokens a model family down, and cost by effort level

Pages you arrange

Customise (top right) turns every page except Settings into a grid of widgets and blocks you can move, resize, add and remove. Drag a block by its bar, resize it by its corner, or use its ⇅ menu from the keyboard. There are 7 presets (Overview, Live, Many sessions, Usage and cost, Agents and teams, Workflows and PRs, Widgets only) and separate layouts for wide, narrow and phone widths. Each layout stays in your browser.

The Overview in edit mode, with a toolbar of presets, Widgets & blocks, Reset and Done above framed blocks

On a narrow screen the layout folds into tabs, each with its own saved layout.

The Overview on a phone, with KPI cards stacked above the throughput chart

How much longer, and can I afford it?

That's the question the session forecast answers for whichever session you're focused on. It shows time left with a finish time, projected tokens, cost and plan quota, the plan's steps read from the session's plan file, and every run of the session on one timeline with dashed projections. It learns from finished agents in the same phase and from estimates in the plan, and it tells you how confident it is.

The session forecast with time left, projected tokens, cost and quota, plan waves and the run timeline with projections

The sidebar keeps the 5-hour and weekly usage of your Claude plan in view, with when each one resets, so you don't have to keep /usage open. Warnings fire at 30, 50, 80, 90 and 100% of a quota window. Drag the sliders to see where each one trips, together with the two context warnings from the Sessions page:

<style>
  body { margin: 0; padding: 16px; background: #000; color: #e5e5e5; font: 13px/1.4 system-ui, sans-serif; }
  .meter { background: #0a0a0a; border: 1px solid #262626; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
  .head { display: flex; justify-content: space-between; margin-bottom: 8px; }
  .head b { font-weight: 600; }
  .head span { font: 600 13px ui-monospace, Menlo, monospace; color: #ff6b57; }
  input { width: 100%; accent-color: #ff6b57; }
  .ticks { position: relative; height: 22px; margin-top: 4px; }
  .tick { position: absolute; transform: translateX(-50%); font: 600 10px ui-monospace, Menlo, monospace; padding: 2px 5px; border-radius: 999px; border: 1px solid #333; color: #6b6b6b; transition: all .2s; }
  .tick.on { color: #000; background: #f5b83d; border-color: #f5b83d; }
  .tick.on.crit { background: #ff4d4d; border-color: #ff4d4d; }
  .msg { margin-top: 6px; color: #9a9a9a; min-height: 1.4em; }
</style>
<div class="meter" id="quota"></div>
<div class="meter" id="context"></div>
<script>
  // Thresholds from the README; colors and wording are this toy's own.
  function meter(el, label, steps, crit, note) {
    el.innerHTML = '<div class="head"><b>' + label + '</b><span>0%</span></div><input type="range" min="0" max="100" value="0"><div class="ticks"></div><div class="msg"></div>';
    const ticks = el.querySelector(".ticks");
    steps.forEach((s) => {
      const t = document.createElement("span");
      t.className = "tick"; t.style.left = Math.min(s, 97) + "%"; t.textContent = s + "%";
      ticks.appendChild(t);
    });
    const input = el.querySelector("input");
    input.oninput = () => {
      const v = +input.value;
      el.querySelector(".head span").textContent = v + "%";
      let hit = 0;
      [...ticks.children].forEach((t, i) => {
        const on = v >= steps[i];
        t.classList.toggle("on", on);
        t.classList.toggle("crit", on && steps[i] >= crit);
        if (on) hit = steps[i];
      });
      el.querySelector(".msg").textContent = hit ? note(hit) : "All quiet.";
    };
    input.oninput();
  }
  meter(document.getElementById("quota"), "Plan quota, 5-hour window", [30, 50, 80, 90, 100], 90,
    (h) => (h === 100 ? "Window used up. Note when it resets." : "Warning: " + h + "% of the window is gone."));
  meter(document.getElementById("context"), "Context, on the way to auto-compaction", [75, 90], 90,
    (h) => "Warning: " + h + "% of the way to auto-compaction.");
</script>

Cost starts as an estimate from the transcripts, at API list prices. If you want the real figures, an opt-in OpenTelemetry receiver (OTLP/HTTP JSON) swaps the estimates for Claude Code's own token and cost numbers and tags them exact. Switch the receiver on under Settings › App, then start Claude Code with:

CLAUDE_CODE_ENABLE_TELEMETRY=1 \
OTEL_METRICS_EXPORTER=otlp \
OTEL_LOGS_EXPORTER=otlp \
OTEL_EXPORTER_OTLP_PROTOCOL=http/json \
OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4317 \
claude

Pause, stop, relaunch, and who opened that PR

Workflows get the most attention, because they're where things go sideways fastest. Claudetographer applies the rules from the Claude Code workflow docs: size guidelines, the Large-workflow warning (also when ultracode hides it), stall restarts, resume replay and the concurrency cap.

Pick a run and you see its phases and every agent in them, each with its live tool, a quiet timer and a retry count. Three meters hold the run against its limits: agents against the Large-workflow threshold, context tokens against 1.5M, and peak concurrency against the cap. A stopped or abandoned run gets a resume forecast: how many agents a relaunch would reuse and how many it would rerun.

The run list beside a running 29-agent workflow, with phases and per-agent chips, meters against its limits, its pull request and its agents

An agent that writes nothing for 5 minutes while it isn't waiting on a tool call gets flagged as a Possible stall. Claude Code restarts stalled agents on its own, and the chip then shows the retry.

The migrate-auth run card: the migrate billing agent goes quiet, is flagged with no output for 5m 02s of a 5m window, then restarts as retry 1 and turns live

A stalled agent restarting on its own. A Montage recreation using the demo data.

The hook that holds the brakes

Watching is nice. Being able to step in is better. Turn on workflow controls installs an optional PreToolUse hook, and from then on a running run gets Run · Pause · Stop and an ended run gets Relaunch…, which can change the concurrency cap and the size guideline before it starts again in a background session. You can aim the controls at one run, one session or everything. Try the rules:

<style>
  body { margin: 0; padding: 16px; background: #000; color: #e5e5e5; font: 13px/1.45 system-ui, sans-serif; }
  .card { background: #0a0a0a; border: 1px solid #262626; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
  .label { font: 600 10px system-ui; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 8px; }
  .seg { display: flex; flex-wrap: wrap; gap: 6px; }
  .seg button, .calls button { font: 600 12px system-ui; background: #141414; color: #d4d4d4; border: 1px solid #2e2e2e; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
  .seg button.on { background: #ff6b57; color: #000; border-color: #ff6b57; }
  .calls { display: flex; flex-wrap: wrap; gap: 6px; }
  .calls button { font-family: ui-monospace, Menlo, monospace; }
  label { display: flex; gap: 8px; align-items: center; margin-top: 10px; color: #bdbdbd; }
  #out { font: 13px/1.5 ui-monospace, Menlo, monospace; min-height: 3em; }
  .ok { color: #4ade80; } .hold { color: #f5b83d; } .no { color: #ff4d4d; }
</style>
<div class="card">
  <div class="label">Control for this run</div>
  <div class="seg" id="modes"></div>
  <label><input type="checkbox" id="up" checked> Dashboard is running</label>
</div>
<div class="card">
  <div class="label">The agent's next tool call</div>
  <div class="calls" id="calls"></div>
</div>
<div class="card"><div class="label">PreToolUse says</div><div id="out">Pick a tool call.</div></div>
<script>
  // The rules as the README states them, written as a toy decision function.
  const modes = ["Run", "Pause", "Stop", "No new agents"];
  const calls = ["Read", "Edit", "Bash", "Agent", "Task", "Workflow"];
  const launches = new Set(["Agent", "Task", "Workflow"]);
  let mode = "Run";
  function decide(call) {
    if (!document.getElementById("up").checked) return ["ok", "allow: the dashboard isn't running, so the hook lets every call through"];
    if (mode === "Pause") return ["hold", "hold: the call is held back, for up to an hour"];
    if (mode === "Stop") return ["no", "refuse: and Claude is told to wrap up"];
    if (mode === "No new agents" && launches.has(call)) return ["no", "refuse: no new " + call + " launches for this run"];
    return ["ok", "allow"];
  }
  const m = document.getElementById("modes");
  modes.forEach((name) => {
    const b = document.createElement("button");
    b.textContent = name; b.className = name === mode ? "on" : "";
    b.onclick = () => { mode = name; [...m.children].forEach((c) => c.classList.toggle("on", c === b)); };
    m.appendChild(b);
  });
  const c = document.getElementById("calls");
  calls.forEach((name) => {
    const b = document.createElement("button");
    b.textContent = name;
    b.onclick = () => {
      const [cls, text] = decide(name);
      document.getElementById("out").innerHTML = name + ' → <span class="' + cls + '">' + text + "</span>";
    };
    c.appendChild(b);
  });
</script>

That last rule is the one I care about most: if Claudetographer isn't running, the hook gets out of the way entirely. A dashboard should never be the reason your agents stop.

Knowing when you're needed

Transcripts can't show a session that's stuck on a permission prompt or waiting for your next message. Install hooks adds five Claude Code hooks to ~/.claude/settings.json, and each one is a single fire-and-forget call set to "async": true:

curl … http://127.0.0.1:<port>/api/hook || true

So it never holds up a turn and does nothing when the dashboard isn't running. Remove hooks takes out exactly what was added.

EventWhat the dashboard does
NotificationFlags the session as waiting for approval or input, raises an alert, can send a desktop notification and counts the prompt in the permission audit
UserPromptSubmitClears the flag and marks the session busy
StopMarks the session idle the moment Claude finishes its turn
SubagentStopMarks the subagent done without waiting for its transcript
SessionEndEnds the session and records why (exit, /clear, logout)

The Alerts page collects it all: waiting sessions, quota warnings, large runs, stalls, failed runs, possible loops and the permission audit.

The Alerts page listing workflow health alerts by severity

Every PR, credited to its run

The Pull requests page shows every PR your sessions opened or touched, grouped by session, with state, review and checks from your own gh login. A PR linked by a workflow agent is credited to that run. Otherwise it's matched to whichever run was going when the session linked it, and labeled "during run", because I'd rather be honest than confidently wrong.

Pull requests grouped by session, with state, review and checks

The rest of the map

A few more corners worth knowing about:

  • Agents & Teams. Workload by session and agent kind, subagent types, and the skills and agent definitions that never triggered.
  • Agent teams. Each team's shared task list, with who is blocked on whom.
  • MCP health. Per project, each MCP server's state, tool count, context cost, calls and failures.
  • Config doctor. It checks managed, user and project settings for files that don't parse, permission rules that never apply because a deny or ask elsewhere wins, values a higher layer overrides, hooks, status lines and MCP servers that run files that don't exist, and enabled plugins that aren't installed. Each finding comes with a fix.
  • Settings editor. It re-reads a file before each save, changes only that one key and keeps the previous version as <file>.claudetographer.bak.
  • Hook activity. Every hook run the transcripts record, yours and your plugins' included.
  • ⌘K search. Pages, settings, projects, sessions, runs, PRs, theme and palette.
  • Rename and recolor. Give a session your own name and one of eight colors. Labels stay in your browser and never reach Claude Code.

Agents and Teams: a workload sunburst by session and agent kind above an agent timeline

An agent team's members and shared task list, with blocked tasks pointing at the task they wait on

MCP health per project, with each server's state, tool count, context cost, calls, and failed and slow calls

The config doctor reporting a PostToolUse hook whose script is missing, with the fix

Hook activity: runs, average duration, blocks and failures per hook, then the latest runs

The ⌘K command palette searching for auth across pages, sessions, runs and pull requests

Ten palettes and a lot of black

You knew there'd be a theming section. One palette choice re-themes the whole app: charts, logo, favicon, buttons, active navigation, the alerts badge, icons, toggles and focus rings. Each palette has four series colors (one per agent kind) and an accent for the chrome, with separate sets for light and dark mode.

A cursor clicking swatches while the interface re-themes from Ember to Mono blue to Neon and back

Switching palettes re-themes everything without a reload. A Montage recreation using the demo data.

Dark mode is pure black: a #000 page, #0a0a0a panels and neutral grays with no blue cast, so the palette carries all the color on screen. Light mode isn't the dark one flipped. Every palette has its own light colors, and every built-in set was checked against the real chart surfaces (#ffffff and #0a0a0a) for lightness, chroma, contrast and color-blind separation. Status colors (good, warning, critical) are never reused as series colors, so a red bar never looks like an error.

All ten palettes side by side, each as a small overview chart

The Overview in light mode with the Ember palette

The reason it all switches without a reload: palettes are CSS custom properties on <html>, and the charts re-read the tokens. Here is the idea in miniature. The colors are my rough approximations, not the app's exact values:

<style>
  :root { --s1: #ff5a4e; --s2: #2cc6b5; --s3: #f5b83d; --s4: #9b7bff; --accent: #ff5a4e; }
  body { margin: 0; padding: 16px; background: #000; color: #e5e5e5; font: 13px/1.4 system-ui, sans-serif; }
  .panel { background: #0a0a0a; border: 1px solid #262626; border-radius: 12px; padding: 14px; }
  .title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 12px; }
  .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent), transparent 70%); transition: background .3s; }
  .chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
  .stack { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; }
  .stack i { display: block; border-radius: 2px; transition: background .3s; }
  .legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; color: #9a9a9a; font-size: 12px; }
  .legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; background: var(--c); }
  .swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
  .swatches button { font: 600 12px system-ui; color: #d4d4d4; background: #141414; border: 1px solid #2e2e2e; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
  .swatches button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .swatches label { display: flex; gap: 6px; align-items: center; color: #9a9a9a; font-size: 12px; }
  input[type=color] { width: 32px; height: 26px; border: 0; background: none; padding: 0; }
</style>
<div class="panel">
  <div class="title"><span class="dot"></span>Live throughput</div>
  <div class="chart" id="chart"></div>
  <div class="legend">
    <span style="--c: var(--s1)">main thread</span><span style="--c: var(--s2)">subagents</span>
    <span style="--c: var(--s3)">forks</span><span style="--c: var(--s4)">workflow agents</span>
  </div>
</div>
<div class="swatches" id="sw">
  <button data-p="#ff5a4e,#2cc6b5,#f5b83d,#9b7bff,#ff5a4e">Ember</button>
  <button data-p="#b9d4ff,#6fa3ff,#2f6fe0,#1a3f8f,#6fa3ff">Mono blue</button>
  <button data-p="#ff2bd6,#21b8ff,#b6ff2e,#8a3dff,#ff2bd6">Neon</button>
  <label>One color <input type="color" id="one" value="#2cc6b5"></label>
</div>
<script>
  // Only the custom properties change. Nothing re-renders the chart.
  const chart = document.getElementById("chart");
  for (let i = 0; i < 18; i++) {
    const col = document.createElement("div");
    col.className = "stack";
    for (let s = 1; s <= 4; s++) {
      const seg = document.createElement("i");
      seg.style.height = 6 + Math.round(Math.random() * 22) + "px";
      seg.style.background = "var(--s" + s + ")";
      col.appendChild(seg);
    }
    chart.appendChild(col);
  }
  const root = document.documentElement.style;
  function apply(list) { ["--s1", "--s2", "--s3", "--s4", "--accent"].forEach((k, i) => root.setProperty(k, list[i])); }
  document.querySelectorAll("[data-p]").forEach((b) => (b.onclick = () => apply(b.dataset.p.split(","))));
  document.getElementById("one").oninput = (e) => {
    const c = e.target.value; // four shades mixed in OKLCH from one base color
    apply([
      "color-mix(in oklch, " + c + ", white 45%)", c,
      "color-mix(in oklch, " + c + ", black 30%)", "color-mix(in oklch, " + c + ", black 55%)", c,
    ]);
  };
</script>

The real One colour option does the grown-up version of that color picker: it builds four OKLCH shades and a readable accent for each mode. Pick each colour lets you choose all five yourself and warns when one falls under 3:1 against the background. On top of that come six logo marks (Compass, Radar, Constellation, Map pin, Orbit, Folded map), six typefaces, three densities, three corner styles and a reduced-motion setting. The fonts are bundled, so nothing loads from a font CDN, and your choices are applied before the first paint, so there's no flash of the wrong theme.

The Overview with a custom teal palette, Space Grotesk, graphite surfaces and the Radar logo

Under the hood

LayerChoice
LanguageTypeScript (7)
ServerOne Node.js process (23.6 or newer runs the TypeScript directly), Server-Sent Events
UIReact 19, ECharts 6, Motion, react-grid-layout, Lucide
BuildVite 8
TestsPlaywright end-to-end, in GitHub Actions on every push and pull request

This is how the pieces connect:

~/.claude
 ├─ projects/*/*.jsonl      transcripts
 ├─ */subagents/…           subagents, forks, workflow agents
 ├─ */workflows/…           run summaries, scripts
 ├─ sessions/*.json         live sessions
 └─ settings*.json          ◀── edits from the Settings page
        │
        │  fs.watch + byte-offset tail
        â–¼
  Collector (server/collector.ts)
        â–²   gh pr view, your auth ............ sweep every 60 s, cached
        â–²   hooks and status line ............ POST /api/hook, /api/statusline
        â–²   plan usage lookup, your login .... every 5 min
        │
        │  snapshot, at most every 750 ms
        â–¼
  /api/stream  (Server-Sent Events)
        â–¼
  React + ECharts dashboard
  1. Index. At startup, one Node process reads the last --days of transcripts (3 by default), live sessions, run summaries, workflow scripts and settings under ~/.claude.
  2. Tail. fs.watch reports changed files, and only the new bytes are read and folded in.
  3. Enrich. gh pr view adds PR state, review and checks. Open PRs are re-checked after 5 minutes and finished ones after an hour. The plan usage lookup, the hooks, the status line and the optional OTLP receiver add what transcripts can't show.
  4. Stream. Snapshots are rebuilt at most every 750 ms, shared by all clients and pushed over /api/stream.
  5. Render. React, ECharts and Motion draw it, and the palette tokens live on <html>.

The Playwright suite drives the dashboard the way you would, against the demo fleet: every page and the mobile tabs, filters and session focus, workflow runs and the forecast, alerts, ⌘K, customizing a page, every settings tab and the API's guards. It starts its own demo on its own port with its data in a temp folder, so whatever you have running is left alone, and nothing that would run claude or your editor ever fires.

Local, and read-only by default

A tool that reads every transcript on your machine owes you some promises. These are the ones it makes:

  • Local. The server binds to 127.0.0.1 and only answers requests addressed to localhost, 127.0.0.1 or [::1] on its port. Anything that changes state also needs the app's own header.
  • Read-only by default. It writes to your Claude Code settings only when you edit them on the Settings page or install the hooks, status line or workflow controls, and it keeps the previous file as a .claudetographer.bak.
  • Two outbound calls, both yours to turn off. gh pr view runs with your own GitHub login (--no-github). The plan usage lookup calls api.anthropic.com with your Claude Code login (--no-usage-lookup). The token stays in the server process and is never logged or sent to the browser.
  • No telemetry. Nothing about you or your sessions goes anywhere else. The OpenTelemetry receiver only listens, on your own port, and stays off until you switch it on.
  • Secrets stay out of the browser. Env vars whose names look secret (KEY, TOKEN, SECRET…) never reach the UI. You can replace them, not read them.
  • claude runs only when you ask. Messaging a session, relaunching a run or stopping a session runs claude (or a SIGTERM) only after you confirm.

Running it

Claudetographer is at v2.4.0. It's built from source, and it runs on any OS with Node 23.6 or newer, in a browser tab or in VS Code's Simple Browser next to the Claude panel. The gh CLI is optional, for pull request details.

npm install     # install dependencies
npm start       # http://localhost:4317, server in watch mode, UI with hot reload
npm run demo    # a made-up fleet on http://localhost:4318; never touches your real ~/.claude

The demo is the best way in. It generates a synthetic fleet and keeps it ticking: four live sessions (one waiting for your approval), a 29-agent workflow mid-run, an ultracode session six waves into an eight-wave plan, a failed run and its resume, stopped runs, pull requests and plan usage.

On macOS, npm run autostart installs a LaunchAgent that serves the static build from login, restarts it if it crashes and rebuilds when the sources are newer. scripts/autostart.sh app adds a small Claudetographer.app that opens the map in your browser, for Spotlight or a Stream Deck key.

Filters live in the URL hash, so a view you like is a link you can keep:

http://localhost:4317/#/workflows?mode=ultra&session=<id>&range=6h

Settings › Claude Code, showing the workflow settings in force with their defaults, and the settings file editor

What's not there yet

The README is upfront about the rough edges, so I will be too:

  • Cost is an estimate at API list prices (cached 2026-10-06) unless you turn on the OpenTelemetry receiver. On a Claude subscription it measures usage, not what you pay.
  • The context breakdown is an estimate for memory, skills and MCP (4 characters a token). The total is exact.
  • Possible stall is a heuristic: no output for 5 minutes while not waiting on a tool call.
  • Permission prompts are counted from hook events the server receives while it runs, so they start at zero on each restart.
  • Settings in force are resolved at user level only. Project settings and per-session environment variables can differ.
  • Plan usage comes from an undocumented lookup, and the on-disk formats are Claude Code internals. Either can change between versions. A failed lookup says why in the sidebar.

Next up on the roadmap: unit tests for the collector parsers, inventory and doctor on fixture transcripts, next to the e2e suite; turns to compaction, a forecast of how many turns or minutes each live session has before it auto-compacts; and weekly budgets and holds, plus OTLP protobuf support for the receiver.

Claudetographer is unofficial and not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.

Claudetographer has its own card on the projects page, with the demo loop, the explainer and the stack at a glance.

Curious about the source? It's private, but access can be granted to anyone interested in contributing. Get in touch.