Infatoshi

Traces — AI skill for Claude Code

AI community

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:

  1. Normalizes multi-harness session stores into one conversation schema
  2. Redacts secrets, paths, emails, and identifiers to stable placeholders
  3. Exports DistillKit-compatible chat formats plus causal agent-step formats
  4. 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