softaworks

Agent Trail — Development skill for Claude Code

Development community

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**.

[![CI](https://github.com/softaworks/agent-trail/actions/workflows/checks.yml/badge.svg)](https://github.com/softaworks/agent-trail/actions/workflows/checks.yml) [![Coverage Status](https://coveralls.io/repos/github/softaworks/agent-trail/badge.svg?branch=main)](https://coveralls.io/github/softaworks/agent-trail?branch=main) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](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 .jsonl session 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