# V4 Usage

## Purpose

Generate an automatic data analysis bundle from a local data file.

## Command

```bash
/home/selig/.openclaw/workspace/.venv-code-interpreter/bin/python \
  /home/selig/.openclaw/workspace/skills/code-interpreter/scripts/analyze_data.py \
  /path/to/input.csv \
  --artifact-dir /home/selig/.openclaw/workspace/.tmp/my-analysis
```

## Outputs

- `summary.json` — machine-readable profile
- `report.md` — human-readable summary
- `preview.csv` — first 50 rows after parsing
- `*.png` — generated plots when matplotlib is available

## Supported inputs

- `.csv`
- `.tsv`
- `.json`
- `.xlsx`
- `.xls`
