data-validation

data-validation is a skill for Claude Code from zpower426/datapowers. It costs 28 tokens per session (1,682 once invoked), scanned A, original, MIT.

A pre-training check for a dataset’s structure, values, missing data, and basic statistical behaviour. A schema is the expected description of columns, types, allowed values, and limits.

In plain words
What is it for?
Use it to check columns, data types, ranges, categories, missing values, distributions, relationships between columns, and whether serious failures should block training.
Why use it?
It catches invalid or unexpected data before it reaches feature creation or model training.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the datapowers plugin — 20 skills, 3 commands, 3 agents, 1 hook shipped together

Good fit Use it to check columns, data types, ranges, categories, missing values, distributions, relationships between columns, and whether serious failures should block training.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zpower426/datapowers/data-validation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zpower426/datapowers --skill data-validation
Clone the repo
git clone --depth 1 https://github.com/zpower426/datapowers

Made for: Claude Code.

Or install datapowers, the plugin that ships this one along with the rest of its 20 skills, 3 commands, 3 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for data-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/zpower426/datapowers/data-validation/github.svg)](https://agentmods.dev/skills/zpower426/datapowers/data-validation)
Your own site
<a href="https://agentmods.dev/skills/zpower426/datapowers/data-validation"><img src="https://agentmods.dev/badge/skills/zpower426/datapowers/data-validation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for data-validation

Your own site · 80×15
<a href="https://agentmods.dev/skills/zpower426/datapowers/data-validation"><img src="https://agentmods.dev/badge/skills/zpower426/datapowers/data-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,682 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.01682
Opus 5.5 $0.00011 $0.00673
Sonnet 5.5 $0.00006 $0.00336
Haiku 4.5 $0.00003 $0.00168

Measured 2mo ago against content hash f74d89af6416, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data-validation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/data-validation/SKILL.md · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data Validation

Schema-based and statistical validation of datasets before any downstream use.

Iron Law: NO TRAINING WITHOUT DATA QUALITY VALIDATION

Checklist

  1. Define or load schema — column names, dtypes, nullable flags, value ranges
  2. Run structural checks — shape, columns present, no unexpected columns
  3. Run type checks — each column matches expected dtype
  4. Run range checks — numeric columns within expected bounds
  5. Run categorical checks — only expected categories present
  6. Run null checks — nullability constraints satisfied
  7. Run statistical checks — distributions within expected drift thresholds
  8. Run cross-column checks — logical constraints between columns
  9. Generate validation report — pass/fail per check, severity, action
  10. Gate decision — BLOCK if any CRITICAL failure, WARN for others

Validation Framework

Use Pandera for Python-based schema validation:

import pandera as pa
from pandera.typing import DataFrame, Series

class CustomerSchema(pa.DataFrameModel):
    age: Series[int] = pa.Field(ge=0, le=120, nullable=False)
    income: Series[float] = pa.Field(ge=0.0, nullable=True)
    churn: Series[int] = pa.Field(isin=[0, 1], nullable=False)
    signup_date: Series[pa.DateTime] = pa.Field(nullable=False)

    class Config:
        coerce = True
        strict = True   # no extra columns allowed

# Validate
try:
    CustomerSchema.validate(df, lazy=True)
    print("✅ Validation passed")
except pa.errors.SchemaErrors as e:
    print("❌ Validation failed:")
    print(e.failure_cases)

Structural Checks

# Required columns present
expected_cols = set(schema.columns.keys())
actual_cols = set(df.columns)
missing = expected_cols - actual_cols
extra = actual_cols - expected_cols

if missing:
    print(f"❌ CRITICAL: Missing columns: {missing}")
if extra:
    print(f"⚠️ WARN: Unexpected columns: {extra}")

# Row count sanity
if len(df) == 0:
    raise ValueError("❌ CRITICAL: Dataset is empty")
if len(df) < min_expected_rows:
    print(f"⚠️ WARN: Only {len(df)} rows, expected at least {min_expected_rows}")

Read the full file on GitHub · 205 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 205 lines · 28 tokens per session scan A f74d89af6416

Subscribe to this mod's changes

data-validation is a skill published in the GitHub repository zpower426/datapowers (1 stars, last pushed 7mo ago), licensed MIT. It adds 28 tokens to every session and 1,682 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

data-validation compared with skills from other repositories

data-validation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-validationzpower426/datapowersSkill17mo agoMITA28Claude Code
local-llmTserenTserenov/FMT-exocortex-templateSkill63todayMITA78Claude Code
llm-app-patternsdavila7/claude-code-templatesSkill33ktodayMITA54Claude Code, Codex
multimodal-blip-2davila7/claude-code-templatesSkill33ktodayMITA52Claude Code, Codex
post-training-grpo-rl-trainingdavila7/claude-code-templatesSkill33ktodayMITA28Claude Code, Codex
prompt-engineering-instructordavila7/claude-code-templatesSkill33ktodayMITA44Claude Code, Codex
emerging-techniques-knowledge-distillationdavila7/claude-code-templatesSkill33ktodayMITA70Claude Code, Codex