atifactlisted
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