Guide

Store Claude Code sessions in SupaTrace

SupaTrace stores a Claude Code session as a reviewed snapshot. You pick one finished transcript, convert it into JSON batches with claude_snapshot.py, inspect the batches, then upload them. It is not a live tail.

Status: Claude Code snapshot Live. Claude Code hooks Beta.

Steps

  1. Download the scripts. From the setup guide, save connect.py, upload.py and claude_snapshot.py together in a new folder. They need Python 3 and use only its standard library. Read them before running them.
  2. Approve a write-only connection. Open Agents in your workspace and copy its project-specific command, or replace YOUR_PROJECT_ID below:
    python3 connect.py --project YOUR_PROJECT_ID --config ./supatrace-access.json
    Approve only the setup code your own agent just showed you. The saved key can upload but cannot read traces. Keep the config private.
  3. Convert one finished transcript that you choose. Use a unique run ID and a clean output folder:
    python3 claude_snapshot.py /path/to/selected-transcript.jsonl --run-id my-reviewed-snapshot --out ./reviewed-batches
  4. Inspect every generated batch. The summary counts unsupported blocks or rows rather than claiming they were captured. Oversized blocks fail instead of being silently truncated.
  5. Upload the batches one at a time, in numbered filename order, and wait for Accepted by server.:
    python3 upload.py ./reviewed-batches/BATCH.json --config ./supatrace-access.json
  6. Open Traces in the workspace and select Refresh to inspect the run. To take it with you, see Export LLM traces as JSON.

Notes

Based on

Last reviewed .