From happytrails
Start live browser-based viewer for all agent tool activity — streams every command, read, write, edit, search, and more to an infinite-scroll HTML pane with three switchable view modes
How this skill is triggered — by the user, by Claude, or both
Slash command
/happytrails:happytrailsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Check if the user provided an argument:
Check if the user provided an argument:
transcript, follow the Transcript Mode instructions belowStart the server:
<SKILL_DIR>/scripts/start-server.sh --project-dir <CWD> --owner-pid <PPID>
Replace <PPID> with the PID of the current Claude Code process (typically available as $PPID in the bash environment).
Save session_dir from the JSON response.
Tell the user to open the URL in their browser.
Inform the user that all tool activity will now appear in the browser.
Use this mode when PostToolUse hooks are not available, or for lower-friction setup on compatible harnesses.
Determine the transcript path for the current session. The transcript file is located at:
~/.claude/projects/<project-dir-hash>/<session-id>.jsonl
The project directory hash and session ID are part of the current Claude Code context. You can find the transcript path by listing recent files:
ls -t ~/.claude/projects/-$(echo -n "<CWD>" | tr '/' '-')/*.jsonl | head -1
Note: Claude Code hashes project directories by replacing / with - and prefixing with -. Verify the actual directory name by listing ~/.claude/projects/ if the constructed path doesn't match.
If the transcript file cannot be found, inform the user and fall back to Hook Mode.
Start the server with the transcript path:
<SKILL_DIR>/scripts/start-server.sh --project-dir <CWD> --owner-pid <PPID> --transcript-path <TRANSCRIPT_PATH>
Save session_dir from the JSON response.
Tell the user to open the URL in their browser.
Inform the user that all tool activity will now appear in the browser. Note that in transcript mode, agent grouping and inline stats are not available.
<project>/.happytrails/ for later referencenpx claudepluginhub sds-mode/happytrails --plugin happytrailsGenerates self-contained HTML viewer for Claude Code sessions including agent teams with inter-agent DM timelines, filtering, search. Use for viewing, replaying, or inspecting JSONL logs by session ID.
Starts, stops, or checks dot-dash server for real-time browser dashboard monitoring Claude Code sessions, streaming transcripts via WebSocket, and prompt injection.
Generates an in-chat session report from the active or named transcript — every tool call, sub-agent delegation, and file edit, with diagnostics for missed parallelism, redundant work, and over-serialization.