Tricorder
Full sensor sweep of your Claude Code sessions — an always-on statusline, a Starfleet away-team view in your macOS menu bar, and attention klaxons.
Live site ·
Sound catalog ·
Install
What is this
Tricorder is a personal Claude Code plugin plus a native macOS menu-bar app. The
plugin renders a multi-line statusline (worktree, context gauge, model, PRs,
running sub-agents, plan link) and tags every session's attention state from
Claude Code's own hooks. The menu-bar app — TricorderBar, plain Swift, no
Xcode required — turns that into one glanceable icon across all your sessions,
lets you jump straight to the one that needs you, restore whole project
families after a restart, and pick your own Star Trek attention sounds from a
public catalog.
It's deeply wired to iTerm2 by name (session focus, restore, and the
Enterprise flyby all script iTerm2 directly) and needs Node on PATH at
runtime (or the optional dependency-free build below).
Features
- Multi-line statusline — a branch-aware location link (current worktree, or
dir(branch) in a plain repo), a color-graded context-window gauge, model, running sub-agents with their model, and a plan-file link. If you switch worktrees mid-session, the others you've visited list underneath, each with its matched PR shown inline. Only non-empty lines render. A one-shot mini-ship animation greets each new session.
- Away-team menu bar — one icon reflects the highest-priority state across every session (🔴 security, 🟡 question, 🟢 done). Click a row to focus that session's iTerm2 tab, wherever it is. A 🔊 marks whichever row's sound just played, so several "mission complete" rows aren't ambiguous about which one is current.
- Restore Sessions — after a crash or reboot, reopen whole project families in fresh iTerm2 windows with one click, grouped automatically by directory.
- Attention klaxons — four Star Trek voice/chime cues, muted by default, toggled per-event from the menu.
- Sound catalog — browse and preview real clips from a public archive on the site, and assign one to an event with a click — fetched on demand, nothing extra bundled in this repo.
- Fly the Enterprise 🚀 — because you can.
Screenshots

Worktree · context gauge · model — PR links — running sub-agents with model — plan link (right-aligned)

Every session, its state and age, Restore Sessions, mute/sound toggles, and a live activity tail
Requirements
The statusline and the menu-bar app are independent — install either one alone, or both. Both need macOS.
- Statusline: Node on
PATH at runtime (the shipped binary is a Node shim — or run npm run build:sea for a ~119MB standalone binary with no Node dependency); Claude Code with plugin support.
- Menu-bar app: iTerm2 — session focus, restore, warp, and log-tail all target it by name, no fallback for other terminals; a Swift toolchain (
swiftc — no Xcode) to build it. Needs no Claude Code plugin install of its own — it only shells out to the CLI binary and to iTerm2/AppleScript. It has nothing to show, though, until some Claude Code project has the plugin's hooks installed.
Install
Pick the path that matches what you want. Neither needs the other. Or skip
the manual steps and run the interactive setup, which asks what you want and
defaults to both:
git clone https://github.com/gagoar/tricorder.git ~/.claude/tricorder-src
cd ~/.claude/tricorder-src
npm run setup