Traces — AI skill for Claude Code
Extract, redact, and export AI coding-agent sessions into privacy-safe training JSONL.
How to install Traces
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Infatoshi/traces and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Traces does
Extract, redact, and export AI coding-agent sessions into privacy-safe training JSONL.
Alternatives in AI
- Post Training — ai-research-skills GRPO, RLHF, DPO, SimPO 5.4k ★
- Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
- Design Md Chrome — Chrome extension to extract styles from any website and generate DESIGN.md files and design skills for AI base 2.7k ★
README
traces
Extract, redact, and export AI coding-agent sessions into privacy-safe JSONL.
`traces` turns local history from Claude Code, Codex, Cursor, Grok Build, Gemini, OpenCode, Continue, Trae, and Windsurf into distillation-ready datasets. The default path is privacy-first: rule-based redaction always runs; optional layers add a privacy model, gitleaks, and LLM residue cleanup. Publish is refused if a leftover-pattern scan fails.
**PyPI:** `coding-agent-traces` (import package and CLI remain `traces`) **Repo:** [Infatoshi/traces](https://github.com/Infatoshi/traces) **License:** MIT — extractor/redaction provenance in [ATTRIBUTION.md](./ATTRIBUTION.md)
Why this exists
Raw agent logs are not training data. Formats differ by product, tool calls are often incomplete or uncorrelated, and sessions are full of secrets, paths, and identity. This tool:
- Normalizes multi-harness session stores into one conversation schema
- Redacts secrets, paths, emails, and identifiers to stable placeholders
- Exports DistillKit-compatible chat formats plus causal agent-step formats
- Verifies before you publish
Related projects (different jobs):
| Project | Role |
|---|---|
| 0xSero/ai-data-extraction | Source extractors this repo packages and extends |
| RodriMora/agent-trace-redaction-methodology | Redaction rule methodology vendored here |
| RESMP-DEV/tracesmith | Earlier combined pipeline; this repo continues that line with native execution exports and schema-backed metadata |
| Trace Commons | Public donated datasets, not multi-harness export tooling |
| LangSmith / Langfuse / Arize | Live observability; not offline SFT export |
Install
Python ≥ 3.10. Prefer [uv](https://docs.astral.sh/uv/):
# From git (rec
Related Skills
Ectype
Read, filter, redact, export and convert the on-disk sessions of 13 AI coding agents (Claude Code, Codex CLI,
Nutrient Agent Skill
Document processing with Nutrient DWS API: convert (PDF/DOCX/XLSX/PPTX/HTML/images), extract text/tables, OCR
Tracecrate
Local-first AI agent trace workbench. Inspect Claude Code, Codex and OTLP logs, compare runs, and export priva
Agents In A Chest.Nvim
Neovim plugin to run LLM coding agents in isolated Git work trees with auto‑commit, tabbed sessions, and safe
Pbi Extract
Generate a structured documentation export of the PBIP project at three detail levels. Overview: one-page mode
Skill Cost
Multi-harness token-usage cost reporter for AI agent sessions (pi, Claude Code, Codex, opencode). Reads JSONL
Related Agents
PyTorch
PyTorch ML model implementation, training loops, and model export.
Session Pattern Analyzer
Analyzes Claude Code session JSONL files to extract execution patterns: plan-ratio, delegation, parallel usage
Distiller
Turns a raw work session (sessions/archive/ notes, .jsonl transcripts) into clean notes and lessons in the tru