Skip to main content
skill CX Codex

dataset-quality-audit — Claude Code skill: data checks

Audit tabular files for missing values, duplicates, outliers, and format problems. Use it to assess a dataset before analysis or reuse.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add zebbern/claude-code-guide --skill dataset-quality-audit -a claude-code
Open on GitHub

What dataset-quality-audit does

The skill checks data across 12 dimensions. It flags missing values, repeated rows, mixed types, outliers, format issues, and inconsistencies between columns. The report includes scores for each dimension, an overall score and grade, plus suggestions for fixes.

It runs scripts/data_quality_checker.py on CSV, TSV, Excel, or JSON files. Use --output to write a JSON report. You can provide --id-columns for uniqueness checks and --date-columns for date validation; otherwise, the script attempts to identify those columns automatically.

Python 3.8+, pandas, and numpy are required. Install the libraries with pip install pandas numpy; the script will not run without them.

What it helps with

  • find missing values and duplicate rows in a table
  • check column types and data formats
  • flag outliers and constant columns
  • assess a dataset before using it
  • produce a JSON report with cleanup suggestions

Example prompts for the agent

  • Check data.csv for quality issues and save the report as report.json.
  • Check orders.csv for duplicate user_id values and validate created_at and updated_at as date columns.
  • Audit data.tsv for missing values, outliers, and inconsistent entries.

How to install dataset-quality-audit

1Skills CLI (Vercel)

npx skills add zebbern/claude-code-guide --skill dataset-quality-audit -a claude-code

2Manually: put the files in place

~/.claude/skills/dataset-quality-audit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/dataset-quality-audit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about dataset-quality-audit

How do I install dataset-quality-audit in Claude Code?

Run npx skills add zebbern/claude-code-guide --skill dataset-quality-audit -a claude-code. The skill file is at ~/.claude/skills/dataset-quality-audit/SKILL.md.

What does dataset-quality-audit do?

It checks tabular data across 12 dimensions and returns dimension scores, an overall grade, and suggestions for fixes. You can save the report as JSON.

Which dependencies does dataset-quality-audit need?

It requires Python 3.8+, pandas, and numpy. Install the libraries with pip install pandas numpy.

Source text

SKILL.md · MIT
---
name: dataset-quality-audit
description: "Run comprehensive quality checks on tabular data (CSV/Excel/TSV/JSON), detecting missing values, duplicates, outliers, format issues, and type inconsistencies to produce an overall score, grade, and actionable suggestions. Triggered when users ask to check data quality, find missing or duplicate values, detect outliers, validate formats, profile data, or clean data."
license: MIT
---

# dataset-quality-audit

A data quality auditing tool that runs 12-dimension quality checks on tabular data, producing per-dimension scores (0–100), an overall grade, and actionable fix suggestions.

## Capabilities

| Dimension | Description |
|-----------|-------------|
| Missing Values | Count and percentage of null/NaN values per column |
| Duplicate Rows | Number and percentage of fully duplicated rows |
| Type Consistency | Mixed types within a single column (e.g., numbers mixed with text) |
| Value Range / Outliers | Outlier detection using the IQR method |
| Format Compliance | Consistency of date, email, phone number, and other formatted fields |
| Uniqueness Constraints | Whether ID-type columns contain duplicates |
| Whitespace Issues | Leading/trailing spaces, empty strings, whitespace-only values |
| Constant Columns | Columns with only a single unique value (zero information) |
| Distribution Skewness | Whether numeric columns have excessive skewness |
| Column Naming | Spaces, special characters, or inconsistent casing in column names |
| Cardinality Anomalies | Unusually high or low number of unique values |
| Cross-Column Consistency | Logical checks across columns (e.g., start date before end date) |

## Quick Start

```bash
# Basic quality check
python3 scripts/data_quality_checker.py data.csv

# Save report as JSON
python3 scripts/data_quality_checker.py data.csv --output report.json

# Specify ID columns (for uniqueness checks)
python3 scripts/data_quality_checker.py users.csv --id-columns "user_id,email"

# Specify date columns (for format checks)
python3 scripts/data_quality_checker.py orders.csv --date-columns "created_at,updated_at"
```

## Detailed Usage

### Basic Invocation

```bash
python3 scripts/data_quality_checker.py <data-file> [options]
```

### Parameters

| Parameter | Short | Required | Default | Description |
|-----------|-------|----------|---------|-------------|
| `input` | — | Yes | — | Path to input file (CSV/TSV/Excel/JSON) |
| `--output` | `-o` | No | stdout | Path for the JSON report output |
| `--id-columns` | `-id` | No | Auto-detect | Comma-separated column names that should be unique |
| `--date-columns` | `-dc` | No | Auto-detect | Comma-separated column names containing dates |
| `--sample` | `-s` | No | All rows | Number of rows to sample (useful for large files) |
| `--encoding` | `-e` | No | utf-8 | File encoding |

## Output Format (JSON)

```json
{
  "file": "data.csv",
  "rows": 10000,
  "columns": 15,
  "overall_score": 78.5,
  "grade": "B",
  "dimensions": {
    "missing_values": {
      "score": 85.0,
      "issues": [
        {"column": "age", "missing_count": 150, "missing_pct": 1.5, "suggestion": "Fill with median or mode"}
      ]
    },
    "duplicates": {
      "score": 95.0,
      "issues": [...]
    }
  },
  "top_suggestions": [
    "Column 'age' has 1.5% missing values — consider filling with the median",
    "Found 200 fully duplicated rows — consider deduplication"
  ]
}
```

## Grading Scale

| Grade | Score Range | Meaning |
|-------|------------|---------|
| A+ | 95–100 | Excellent quality — ready for use as-is |
| A | 90–95 | Good quality — minor issues only |
| B | 80–90 | Moderate quality — recommended to fix before use |
| C | 60–80 | Poor quality — significant cleaning required |
| D | 40–60 | Very poor quality — many issues need attention |
| F | 0–40 | Essentially unusable — requires re-collection or major cleanup |

## Dependencies

- Python 3.8+
- pandas
- numpy

```bash
pip install pandas numpy
```

© zebbern · MIT · zebbern/claude-code-guide

Similar skills

All skills for Data and databases →

From the same set24

network-101 A skill that walks the agent through standing up and testing HTTP, HTTPS, SNMP and SMB in a pentest lab, from service config to log analysis. CX Codex +1 ★ 4,679repo stars linux-shell-scripting A skill that hands your agent ready bash templates for backups, resource monitoring, user management and log parsing. Useful when you want a working script, not a sketch. CX Codex +1 ★ 4,679repo stars file-path-traversal This skill guides directory traversal and LFI checks in web apps. Use it when a request may expose files beyond the intended web root. CX Codex +1 ★ 4,679repo stars dev-guide-generator Turns a technical topic into a full tutorial: prerequisites, environment setup, core steps, error troubleshooting and a closing cheatsheet. CX Codex +1 ★ 4,679repo stars database-scout A read-only skill for SQLite and PostgreSQL: lists tables, inspects schemas, previews rows and renders Mermaid ER diagrams. Queries stay read-only. CX Codex +1 ★ 4,679repo stars data-viz-renderer Turn JSON data into standalone HTML/SVG infographics, from metric cards to process diagrams. Use it to build report visuals or combine metrics and charts in a dashboard. CX Codex +1 ★ 4,679repo stars cv-tailor This skill compares your resume against a job description, scores keyword coverage, and rewrites experience bullets with STAR and numbers. CX Codex +1 ★ 4,679repo stars code-documenter A skill that writes docstrings, builds OpenAPI specs and documentation sites. Useful when the code works but nobody documented it. CX Codex +1 ★ 4,679repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor