Agent Trail — Development skill for Claude Code
Local web viewer for Claude Code and Codex CLI session history across multiple profiles.
How to install Agent Trail
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open softaworks/agent-trail and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Trail does
Local web viewer for Claude Code and Codex CLI session history across multiple profiles.
Alternatives in Development
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
- Claude Code Viewer — A full-featured web-based Claude Code client that provides complete interactive functionality for managing Cla 984 ★
README
AgentTrail
Local (self-hosted) web viewer to browse **Claude Code** and **Codex CLI** conversation history across **multiple profiles**.
[](https://github.com/softaworks/agent-trail/actions/workflows/checks.yml) [](https://coveralls.io/github/softaworks/agent-trail?branch=main) [](LICENSE)
AgentTrail scans configured folders (for example `~/.claude/projects` plus backups), lists sessions by project/profile, supports **quick/deep search**, **pinning**, **custom tags**, and live updates (SSE + file watch).
For the full specification (features, endpoints, UI), see `SPEC.md`.
Why
Many viewers assume a single session location (usually `~/.claude`). AgentTrail adds:
- Multi-profile support via persistent config (
~/.config/agenttrail/config.json) - Profile-isolated chaining (sessions only chain within the same profile)
- Pins and custom tags that persist across restarts
- Quick search (client-side) and deep search (server-side, scans file content)
- Live updates while
.jsonlsession files change - Support for multiple session sources (Claude + Codex) with per-profile configuration
Requirements
- Bun
>= 1.0.0
Install (local dev)
bun install
Usage
Quickstart (no install)
# Bun
bunx agenttrail
# npm (still requires Bun installed on your machine)
npx -y agenttrail
Run from source
Start the server:
bun run start
Open:
http://localhost:9847
CLI
The entrypoint is a CLI (`src/index.ts`) that starts the Elysia server:
# help
bun run start -- --help
# custom port
bun run start -- --port 8080
# initialize config (if it doesn't exist yet)
bun run start -- --init
Build the executable:
bun ru
Related Skills
Claude Session Viewer
Session Explorer: a local web app for browsing Claude Code and OpenAI Codex CLI session histories, built with
Coding Agent Session Search
Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C
Claude Compaction Viewer
View and analyze Claude Code conversation history and compaction events with a TUI and CLI tool for clear sess
Alethe Agents
A local-first desktop workspace for running, organizing, and resuming multiple coding agents and shells with r
KyttoMCP
A local desktop control panel for managing MCP servers across Claude Desktop, Claude Code, Cursor, VS Code, an
MiniAIons
Local web-based command center for managing multiple Claude CLI agent instances
Related Agents
Arthur
Independent code review via the Codex CLI (read-only, headless) for a second opinion that reads project files
Core Owner
Catch-all owner for claude-code-vault's core modules — MCP server, indexer (chunks/embeddings/graph), CLI, and
Worker People Updater
Scans the wiki for person and company names appearing across multiple pages, flags profiles needing updates, i