# CSV To JSON

> Use this skill to convert CSV text into a list of JSON records, auto-detecting the delimiter (comma, semicolon, tab, or pipe) and using the first row as headers. Handles ragged rows. Deterministic, offline. The reliable first step before processing spreadsheet exports.

- Skill: `ncreighton/csv-to-json` (Agent Skill, multi-file: 9 files)
- Install (CLI): `npx skillmds@latest add ncreighton/csv-to-json`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ncreighton/csv-to-json/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: ncreighton (https://skillmd.com/u/ncreighton)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/ncreighton/csv-to-json

---


# csv-to-json

Use this skill to convert CSV text into a list of JSON records, auto-detecting the delimiter (comma, semicolon, tab, or pipe) and using the first row as headers. Handles ragged rows. Deterministic, offline. The reliable first step before processing spreadsheet exports.

- **Kind**: tool  |  **Niche**: ai  |  **Cost tier**: free  |  **Version**: 0.1.0

## Empire Integration
```python
import sys
sys.path.insert(0, r'C:\D\Claude Code Projects\_SHARED')
import empire_bootstrap  # wires all shared paths
```

## Usage

**As a CLI:**
```bash
python run.py --csv <string>
```

**From a Python agent (ATEN runtime):**
```python
from skill_library import executor
result = executor.execute("csv-to-json", {csv=...})
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `csv` | string | yes | CSV text to parse |
| `delimiter` | string | no | Force a delimiter (default: auto-detect) |

## Returns

`object` — `{"status": "ok"|"error", "result": ...}`

