Install
$ agentstack add skill-danielrosehill-claude-data-wrangler-plugin-csv-to-json ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
CSV ↔ JSON Conversions
Bidirectional conversion between CSV and JSON/JSONL.
Supported directions
- CSV → JSON array — single file containing a JSON array of objects.
- CSV → JSONL — one JSON object per line (streaming-friendly).
- JSON → CSV — flatten JSON array of objects to CSV.
- JSONL → CSV — streaming line-by-line conversion.
Procedure
- Confirm source and target — file paths and directions.
- Detect CSV dialect (if CSV is the source):
- Delimiter (
,,;,\t,|) — usecsv.Snifferor ask user if ambiguous. - Quote character (
",'). - Header present? Assume yes; confirm if the first row looks like data.
- Encoding — try
utf-8, fall back toutf-8-sig(BOM), thencp1252/latin-1. Report the encoding used.
- Type inference for CSV → JSON:
- Default: preserve as strings (safest).
- Optional: infer types (int, float, bool, null) — ask the user. Use pandas' inference or explicit conversion.
- Handle nulls: empty string,
NA,null,NaN→ JSONnull(confirm the sentinel list with user).
- Nested structures for JSON → CSV:
- If JSON has nested objects/arrays, offer:
- Flatten with dotted keys (e.g.
address.city,tags[0]). - JSON-encode nested fields as strings in the CSV.
- Error — refuse and point to
json-restructurefor explicit flattening. - Default: flatten with dotted keys; confirm with user.
- Write the output with a sensible default name (
.json,.jsonl,.csv). - Validate the round-trip — load the output and report row/object count matching the source.
Dependencies
pip install pandas
Standard library csv and json are sufficient for many cases; pandas is convenient for type inference and large files.
Edge cases
- Very large files — use streaming (JSONL line-by-line, CSV chunked via
pd.read_csv(chunksize=...)). Warn if input > 1 GB and recommend JSONL over JSON array. - Mixed types per column — pandas may coerce; report columns that ended up as
objectwhen numeric was expected. - Fields containing newlines — CSV must quote them; JSON handles natively. Verify round-trip preserves content.
- Date / datetime — JSON has no native datetime type. Emit ISO 8601 strings; record the format in the data dictionary.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: danielrosehill
- Source: danielrosehill/Claude-Data-Wrangler-plugin
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.