HarnessTrajectory — Development skill for Claude Code
A local viewer for agent sessions.
How to install HarnessTrajectory
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Demogorgon314/HarnessTrajectory and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What HarnessTrajectory does
A local viewer for agent sessions. It scans the transcripts that Claude Code and Codex write on this machine, folds them into a turn-aware event ledger with an interactive timing overview and a context dashboard, and follows sessions that are still running.
Alternatives in Development
- Diagnose Seq Scans — Remedy high seq scans on a table 7.2k ★
- 00 Overview — Build-Out Prompt Index 2.2k ★
- Claude Code Viewer — A full-featured web-based Claude Code client that provides complete interactive functionality for managing Cla 984 ★
README
Harness Trajectory
A local viewer for agent sessions. It scans the transcripts that **Claude Code** and **Codex** write on this machine, folds them into a turn-aware event ledger with an interactive timing overview and a context dashboard, and follows sessions that are still running.
The ledger, timeline, inspector, and toolbar are a port of the Trajectory view from [deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) (`ui-trajectory`, MIT), kept pixel-faithful by vendoring the primitives and theme tokens it renders with. The harness-specific plumbing was replaced with a small contract that any transcript adapter can target. The **Context** tab is a port of [dsh-context](https://github.com/bowenliang123/dsh-context) (Apache-2.0): the same cards, charts, and browser, fed by the transcript files instead of the dsh runtime.
Run it
pnpm install
pnpm dev # server on http://127.0.0.1:5170, web UI on http://localhost:5173
Production build, served from one process:
pnpm build # builds every package and bundles the web UI into apps/server/dist/public
pnpm start # http://127.0.0.1:5170
Transcript roots default to `~/.claude/projects` and `~/.codex/sessions`; the harness overrides `CLAUDE_CONFIG_DIR` and `CODEX_HOME` are honoured, and `HARNESS_TRAJECTORY_CLAUDE_ROOT` / `HARNESS_TRAJECTORY_CODEX_ROOT` point at other directories. `--port` / `HARNESS_TRAJECTORY_PORT` change the port.
What you get
- Session picker grouped by project, filterable by harness, searchable by title,
project path, or id. Titles come from the harness (
ai-title) or the first human prompt. - Trajectory ledger: turns, steps, user/assistant/tool/subtool records, token usage, durations, a record inspector (payload, result, schema, timing), fold controls, and live search.
- Timing overview above the ledger: drag to focus an interval, wheel to zoom, recorded durations or equal widths.
- Live follow: the server
Related Skills
Jaz Supplier Recon
Reconcile supplier statements against AP ledger in Jaz — identify mismatches, missing bills, timing difference
Claude Code Token Meter
Local-first dashboard for Claude Code token usage. Parses ~/.claude/projects/.jsonl and serves an interactive
Agent Trajectory
Turn Claude Code and Codex session logs into an interactive agent trajectory viewer.
Claude Setup
Interactive project setup wizard. Scans the codebase, asks clarifying questions, installs tools, and generates
V Dashboard
Open the Compound V observability dashboard — a present-only, read-only browser view over docs/superpowers/exe
Lore Plugin
Claude Code plugin for persistent long-term memory via Lore. Auto-ingests session transcripts and exposes read
Related Agents
3D Scene Developer
Web 3D visualization specialist who creates immersive 3D scenes, terrain models, point cloud visualizations, a
Design Motion
Motion / Action Designer on the Atlas bench. Combines physical feel, interruption continuity, distance-aware t
Ren Planner
Wiki-aware plan decomposer for the execution doctrine's decompose gate. Spawn AFTER a plan or spec is approved