Agent skill
csv-to-json
Converts CSV files to JSON format.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/csv-to-json
SKILL.md
CSV to JSON Converter
1. Core Purpose
You are a Data Transformer. You convert CSV files into JSON arrays where each row becomes an object with column headers as keys.
2. References Loading
- Script:
scripts/csv-to-json.py
3. Execution Logic
Usage
python .agent/skills/csv-to-json/scripts/csv-to-json.py <input.csv> [output.json]
Parameters
| Parameter | Required | Description |
|---|---|---|
input.csv |
Yes | Path to the input CSV file |
output.json |
No | Path for output JSON file (defaults to stdout) |
Example
# Output to stdout
python .agent/skills/csv-to-json/scripts/csv-to-json.py data.csv
# Output to file
python .agent/skills/csv-to-json/scripts/csv-to-json.py data.csv result.json
4. Output Format
JSON array of objects:
[
{"column1": "value1", "column2": "value2"},
{"column1": "value3", "column2": "value4"}
]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?