# Data Spreadsheet Driver

> Use for CSV, JSON, Excel-like tables, statistics, cleaning, aggregation, or schema transforms. Do NOT use for code-logic tasks (use code-driver) or prose docume

- Skill: `iamkarp/data-spreadsheet-driver` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx get-skill add iamkarp/data-spreadsheet-driver`
- Raw SKILL.md: https://api.skillmd.com/api/skills/iamkarp/data-spreadsheet-driver/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: iamkarp (https://skillmd.com/u/iamkarp)
- Updated: 2026-12-03
- Page: https://skillmd.com/skills/iamkarp/data-spreadsheet-driver

---

---
name: data-spreadsheet-driver
description: Use for CSV, JSON, Excel-like tables, statistics, cleaning, aggregation, or schema transforms. Do NOT use for code-logic tasks (use code-driver) or prose documents (use document-driver).
---

# data-spreadsheet-driver

Domain-specific moves for tabular/data tasks. The OS layer still applies.

## Procedure

1. Inspect columns, types, row count, and missing values before transforming.
2. Infer the required output schema from the task (columns, names, types, order).
3. Preserve original row ordering unless the task says otherwise.
4. Validate totals, row counts, and null handling after the transform.
5. Save in the requested format only — no extra files.

## Notes

- Do not drop or reorder columns the task did not mention.
- Preserve key uniqueness; check for duplicate keys before merging/aggregating.
- Match the requested delimiter, header, encoding, and number formatting exactly.

## Optional scripts

- `scripts/inspect_table.py <file>` — summarize columns, dtypes, row count, and missingness for CSV/JSON.
- `scripts/validate_csv.py <file> --expect-cols a,b,c [--key id]` — check schema, duplicate keys, and nulls.

Scripts are optional. Prefer native data tools (pandas, etc.) when available; the scripts are dependency-light fallbacks.

