Claude Code usage
Agent Trail
Local dashboard for Claude Code, Codex, OpenCode, OpenClaw and Qoder session history, token usage, cost tracking, tool calls and subagent replay.
Install
npm install -g @camtrik/agent-trailFound in the project README. Check it for setup steps after installing.
git clone https://github.com/camtrik/agent-trail.gitFrom the README
Agent Trail English · 简体中文 · 日本語 A local AI coding agent observability dashboard for Claude Code, Codex, OpenCode, OpenClaw, and Qoder. Track token usage, estimated cost, tool calls, subagent trees, and replay full coding-agent sessions from local JSONL / SQLite files. 🏠 camtrik.github.io/agent-trail What it does Usage overview across all your agents A unified dashboard aggregates token consumption and estimated cost across Claude Code, OpenClaw, Codex, OpenCode, and Qoder — broken down by day, session, project, and model. At a glance you can see: - Total tokens and estimated USD cost for any time window (today / week / all) - Per-project and per-model breakdowns with trends over time - Which sessions consumed the most tokens and where your budget is going - Live activity feed as new sessions are written to disk Everything is computed locally from the JSONL files your agents already produce. Full session replay with tool and subagent detail Open any session and step through every turn exactly as it happened. The replay view goes beyond raw text — it surfaces the internal structure of each assistant turn: - Tool calls: expand any Bash, Read, Edit, Write, or custom tool invocation to see the exact input arguments and the full output the model received - Subagent spawns: when Claude Code or OpenClaw launches a sub-agent, the dashboard renders the nested agent tree so you can trace which subtask was delegated, what instructions it received, and what it returned - Injected context and system events: surface hidden context blocks, permission prompts, and synthetic messages that normally live between turns but shape how the model behaves - Token accounting per turn: see input, output, cache-read, cache-write, and reasoning token counts at the turn level, not just…
Details
- Repository
- camtrik/agent-trail
- Website
- camtrik.github.io/agent-trail
- Language
- TypeScript
- Last updated
- 24 June 2026
- Topics
- agent-dashboardai-agentai-agentsclaude-codecodexcoding-agentopenclawopenodeqodersession-managementsubagentstoken-usage
FAQ
What is Agent Trail?
Local dashboard for Claude Code, Codex, OpenCode, OpenClaw and Qoder session history, token usage, cost tracking, tool calls and subagent replay. It is a usage for Claude Code, from camtrik/agent-trail on GitHub.
How do I install Agent Trail?
Run npm install -g @camtrik/agent-trail, then follow the setup in the README.
Is Agent Trail popular?
camtrik/agent-trail has 40 GitHub stars and 6 forks. It was last updated on 24 June 2026.
More usage & cost trackers
Claude Observability Plugin
30langfuse/claude-observability-plugin
Trace Claude Code AI coding assistant conversations, user inputs, and tool usage with Langfuse for comprehensive observability.
Claude Usage Extension
31Haletran/claude-usage-extension
GNOME Shell extension that displays your Claude Code usage percentage
Ccstory
43atomchung/ccstory
Claude Code usage recap with narrative. ccusage tells you the bill, ccstory tells the story.
Code Duo
38norika1207-lab/Code-Duo
Two AI coding agents — Claude & Codex — in one window. Stream every step, cross-review, watch the cost, and catch the AI that claims it did the work but didn't. Subscription-driven, no API.
Twicc
41twidi/twicc
TWICC - The Web Interface for Claude & Codex - A web UI to browse and interact with your Claude Code and Codex sessions. View projects, sessions, conversation history, costs, and run Claude and Codex agents — all from your browser.
Rpa Skills
40EvilFreelancer/rpa-skills
Agent-skills marketplace for Coddy, Claude Code, Codex and Cursor: RPA BDD workflow, Logika (Chelpanov formal logic), token-cost, MikroTik config generator
Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.