← ClaudeAtlas

atifactlisted

This skill should be used when the user asks to "extract agent trajectory", "convert HAR to trajectory", "convert Vally trajectory", "get trajectory from session", "parse agent session", "convert Claude Code logs", "convert Copilot CLI logs", "convert Codex CLI logs", "extract ATIF", or needs to convert agent logs or a Vally Trajectory object into ATIF trajectory JSON using the atifact CLI.
waldekmastykarz/atifact · ★ 6 · Data & Documents · score 76
Install: claude install-skill waldekmastykarz/atifact
# Extract Agent Trajectories with atifact Convert agent session recordings and standalone Vally Trajectory objects into structured ATIF v1.8 trajectory JSON using the `atifact` CLI. ## Prerequisites Verify the CLI is available: ```bash command -v atifact ``` If not installed, install globally: ```bash npm install -g atifact ``` ## Supported input formats | Format | File type | Description | |--------|-----------|-------------| | `har` | `.har` | HAR files with OpenAI (Chat Completions, Responses API) or Anthropic (Messages API) requests | | `claude-code-jsonl` | `.jsonl` | Claude Code CLI session logs | | `copilot-cli-jsonl` | `.jsonl` | Copilot CLI session logs | | `codex-cli-jsonl` | `.jsonl` | Codex CLI `exec --json` logs | | `vally-json` | `.json` | Standalone Vally `Trajectory` object | Format is auto-detected from file contents (not extension). Use `--format` / `-f` to force a specific format when auto-detection fails. ## Usage ### Basic conversion The `--output` / `-o` option takes a **prefix**, not a filename. Output files are derived from the prefix: - Main trajectory: `<prefix>.trajectory.json` - Subagent trajectories: `<prefix>.trajectory.<name>.json` Default prefix is the input file path: ```bash atifact session.har # Writes: session.har.trajectory.json ``` ### Specify output prefix ```bash atifact session.har -o out # Writes: out.trajectory.json # If subagents exist: out.trajectory.<name>.json ``` ### Force input format Use when auto-detection p