codesweep-ai

Tracer — AI skill for Claude Code

AI community

Turn AI coding-CLI session transcripts into one self-contained, browsable HTML trace viewer.

How to install Tracer

This entry records only its repository, not the path inside it, so there is no exact command to give. Open codesweep-ai/tracer and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tracer does

Turn AI coding-CLI session transcripts into one self-contained, browsable HTML trace viewer.

Alternatives in AI

  • Ante — Ghost in your shell 1.9k ★
  • Claude Replay — Convert AI coding agent sessions (Claude Code, Cursor, Codex, Gemini, OpenCode) into self-contained, embeddabl 644 ★
  • Wiki Synthesize — Synthesize wiki/sources/ .md pages from raw session transcripts using the configured LLM backend 375 ★

README

tracer

**Turn the session transcripts your AI coding CLI leaves on disk into one self-contained HTML page you can read, keep, mail or publish.**

[![CI](https://github.com/codesweep-ai/tracer/actions/workflows/ci.yml/badge.svg)](https://github.com/codesweep-ai/tracer/actions/workflows/ci.yml) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE) ![Clients](https://img.shields.io/badge/clients-Claude%20Code%20%C2%B7%20Codex%20%C2%B7%20OpenCode-informational) ![Platforms](https://img.shields.io/badge/platform-Linux%20%C2%B7%20macOS-lightgrey)

Every AI coding CLI writes its sessions somewhere: Claude Code under `~/.claude/projects`, Codex under `~/.codex/sessions`, OpenCode in a store of its own. Each format is different, and each is append-only JSON written for the tool rather than for you. None of them is readable when you want to know what the agent actually did. `cs-tracer` reads all three and writes a page: the timeline, the tool calls, the sub-agents, the tokens and the cost.

The whole product is one static Go binary. The viewer is compiled into it, so an export needs no server, no network and no runtime dependency. The page it writes opens from `file://` years later, on a machine that has never heard of this tool. Other viewers exist as web applications you upload a transcript to. `cs-tracer` is a file you run and a file you keep, which is what makes the output something you can commit beside the code it describes.

 session files            cs-tracer                                   what you open
 ────────────────         ─────────────────────────────────────       ──────────────────
 ~/.claude/projects  ┐                                            ┌─  trace.html
 ~/.codex/sessions   ├──►  normalizer  ──►  trajectory  ──►  viewer│   (one file, inlined)
 an OpenCode store   ┘     one adapter      ordered JSON:    React │
                           per CLI          events, totals,  app   └─  trace-site/