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 Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
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
Cc Codex History Viewer
本地 Claude Code 历史 Prompt 与对话可视化工具 · Local desktop viewer for Claude Code prompt & conversation history
Tmuxes
Local-first web command center for Claude Code, Codex, OpenCode and other CLI coding agents. Run agents in tmu
Alethe Agents
A local-first desktop workspace for running, organizing, and resuming multiple coding agents and shells with r
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
Factory Reviewer Grok
Opt-in cross-family seat for interrogate, architect, arena and eval judging, trail review, and the reflect div