AgentStack
SKILL verified MIT Self-run

Data Validator

skill-jansenanalytics-claudex-data-validator · by JansenAnalytics

Autonomous data quality validation — schema inference and validation, completeness/uniqueness/consistency checks, statistical anomaly detection, time-series gap detection, referential integrity, dataset comparison and drift detection. Supports CSV, JSON, SQLite, APIs. Use after any data pipeline work.

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-jansenanalytics-claudex-data-validator

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

Are you the author of Data Validator? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

data-validator

Autonomous data quality validation for any data source — databases, CSVs, APIs, JSON files.

Quick Start

data-validator /path/to/data.csv --infer          # Auto-detect schema & validate
data-validator /path/to/data.csv --schema s.json   # Validate against schema
data-validator /path/to/data.csv --full            # All checks including timeseries

Binary: ~/bin/data-validator

data-validator [command]  [options]

Commands

| Command | Description | |---------|-------------| | review (default) | Full orchestrated validation | | schema | Schema validation / inference | | quality | Data quality scoring | | compare | Diff two datasets | | integrity | Referential integrity checks | | timeseries | Time-series specific analysis | | report | Generate report from results JSON |

Sources

  • file.csv — CSV with headers
  • file.json — JSON array of objects
  • file.jsonl / file.ndjson — Newline-delimited JSON
  • sqlite:/path/to/db.sqlite:tablename — SQLite table
  • http://api/endpoint — JSON API

Options

| Option | Description | |--------|-------------| | --schema FILE | Schema JSON to validate against | | --infer | Auto-infer schema from data | | --compare FILE2 | Compare with second dataset | | --timeseries | Run time-series analysis | | --time-field NAME | Specify time field | | --primary-key NAME | Primary key field (default: id) | | --quick | Schema + quality only | | --full | All checks | | --output-dir DIR | Write individual reports to directory | | --format md\|json | Output format | | --output FILE | Output file (per-script) |

Schema Format

{
  "fields": {
    "id": { "type": "integer", "required": true, "unique": true, "min": 1 },
    "email": { "type": "string", "required": true, "pattern": "^[^@]+@[^@]+$" },
    "amount": { "type": "number", "min": 0, "max": 1000000 },
    "status": { "type": "enum", "values": ["active", "inactive", "pending"] },
    "created_at": { "type": "date", "format": "ISO8601", "after": "2020-01-01" },
    "tags": { "type": "array", "minLength": 1, "itemType": "string" }
  }
}

Quality Dimensions

The quality score (0-100) is computed from:

  • Completeness — % populated fields, flags >5% nulls
  • Validity — Schema conformance per field
  • Consistency — Format consistency, encoding
  • Accuracy — Outlier detection (>3σ from mean)
  • Timeliness — Gap detection in time-series data
  • Integrity — Referential integrity, FK violations

Scripts

| Script | Purpose | |--------|---------| | schema.cjs | Schema inference & validation | | quality.cjs | Quality scoring (completeness, uniqueness, accuracy, distribution) | | compare.cjs | Dataset diff & drift detection | | integrity.cjs | FK violations, orphans (SQLite + file relationships) | | timeseries.cjs | Gaps, duplicates, monotonicity, anomalies, staleness | | review.cjs | Orchestrator — runs all checks | | report.cjs | Report generator (MD + JSON) |

Dependencies

  • Node.js (built-in modules only, except better-sqlite3 for SQLite)
  • better-sqlite3 (only for SQLite sources) — shared from the kanban-agent skill's node_modules (${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/kanban-agent/node_modules). See INSTALL.md.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.