# CSV Quality Auditor

> Audit CSV and delimited text files for blank or duplicate headers, inconsistent row widths, and fully empty data rows. Use when validating CSV structure before import, cleaning tabular data, diagnosing rejected CSV uploads, or producing a machine-readable quality report.

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

---


# CSV Quality Auditor

Run the bundled standard-library auditor against the requested file:

```bash
python scripts/audit_csv.py INPUT [--delimiter DELIM] [--json]
```

## Workflow

1. Use the default comma delimiter unless the file or user specifies another one.
2. Pass `--delimiter semicolon`, `--delimiter tab`, or one literal custom character when needed.
3. Add `--json` when the result will be consumed by another tool.
4. Treat exit code `0` as clean, `1` as a completed audit with quality issues, and `2` as an invalid invocation or unreadable/unparseable input.
5. Report issue codes, row numbers, and messages without rewriting the source file.

Read [references/rules.md](references/rules.md) when interpreting row counts, issue semantics, delimiter values, or exit codes.

