data-quality-checks

data-quality-checks is a skill for Claude Code from anhnguyen0905/codex-mcp. It costs 105 tokens per session (1,600 once invoked), scanned A, original, MIT.

A framework for testing whether data in pipelines, ETL or ELT jobs, and warehouse tables is complete, unique, valid, consistent, linked correctly, fresh, and free from unexpected changes. ETL and ELT are ways of moving and transforming data.

In plain words
What is it for?
Use it to create validation rules for missing values, duplicate records, allowed ranges, totals, orphaned references, freshness deadlines, and distribution drift, as well as source-to-source reconciliations.
Why use it?
It turns vague concerns about bad data into automatic checks with thresholds, severity levels, and named owners. It also helps identify mismatches between sources before they affect reports or decisions.

Skill for Claude Code

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

Part of the codex-flow plugin — 61 skills, 1 command, 1 MCP server shipped together

Good fit Use it to create validation rules for missing values, duplicate records, allowed ranges, totals, orphaned references, freshness deadlines, and distribution drift, as well as source-to-source reconciliations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anhnguyen0905/codex-mcp/data-quality-checks
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 anhnguyen0905/codex-mcp --skill data-quality-checks
Clone the repo
git clone --depth 1 https://github.com/anhnguyen0905/codex-mcp

Made for: Claude Code.

Or install codex-flow, the plugin that ships this one along with the rest of its 61 skills, 1 command, 1 MCP server.

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-quality-checks

README.md
[![agentmods](https://agentmods.dev/badge/skills/anhnguyen0905/codex-mcp/data-quality-checks/github.svg)](https://agentmods.dev/skills/anhnguyen0905/codex-mcp/data-quality-checks)
Your own site
<a href="https://agentmods.dev/skills/anhnguyen0905/codex-mcp/data-quality-checks"><img src="https://agentmods.dev/badge/skills/anhnguyen0905/codex-mcp/data-quality-checks/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-quality-checks

Your own site · 80×15
<a href="https://agentmods.dev/skills/anhnguyen0905/codex-mcp/data-quality-checks"><img src="https://agentmods.dev/badge/skills/anhnguyen0905/codex-mcp/data-quality-checks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,600 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.00105 $0.01600
Opus 5 $0.00053 $0.00800
Sonnet 5 $0.00021 $0.00320
Haiku 4.5 $0.00011 $0.00160

Measured 9d ago against content hash 9b43bb6c4857, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

data-quality-checks 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 9d 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-quality-checks/SKILL.md · 123 lines

How it starts

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

Data Quality Checks (assertions, reconciliation, honest reporting)

The seven check families, as assertions

Every useful check is a predicate plus a threshold, evaluable automatically against a table:

Completeness   assert count(*) where required_col is null = 0
               assert count(distinct load_date) over window = expected_days  (partitions present)
Uniqueness     assert count(*) = count(distinct <business_key>)              (the declared grain)
Validity/range assert age between 0 and 120; status in (...); amount >= 0; format/length rules
Consistency    assert abs(sum(a.rev) - sum(b.rev)) / sum(b.rev) <= tol       (source vs source)
Referential    assert count(child left join parent where parent.id is null) = 0   (no orphans)
Timeliness     assert max(event_ts) >= now() - <SLA interval>                (freshness)
Drift          assert abs(mean_today - mean_baseline) <= k * stddev_baseline
               assert null_rate_today <= null_rate_baseline * (1 + tol)

Each assertion needs a grain, a severity (warn vs fail) and an owner. An unowned failing check gets muted, which is worse than having no check at all.

Reconciliation, source to destination

Row counts alone prove nothing — dedup, filtering and late arrivals legitimately change them. Reconcile counts and sums per partition, every term measured rather than assumed:

source_rows - filtered_rows - deduped_rows = destination_rows
sum(source.amount) over the window = sum(dest.amount) ± rounding tolerance
per-key spot check: sample N business keys, compare field by field

Reconcile a closed window, never the currently-loading partition, and state the tolerance with its cause (float rounding, FX conversion, timezone edge) instead of picking whatever makes it pass.

Grain and duplicate keys

Use the business key that defines the grain, not the surrogate key — surrogates are unique by construction and prove nothing. Typical real keys: (event_id), (user_id, event_ts, event_type), (order_id, line_no). Test near-duplicates too: same natural key with different surrogate ids (double ingestion), same payload at different timestamps (retry storms). Document the resolution rule — keep first, keep last by ingestion time, keep highest version — because distinct picks one silently.

Read the full file on GitHub · 123 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. 9d ago First seen · 123 lines · 105 tokens per session scan A 9b43bb6c4857

Subscribe to this mod's changes

data-quality-checks is a skill published in the GitHub repository anhnguyen0905/codex-mcp (3 stars, last pushed yesterday), licensed MIT. It adds 105 tokens to every session and 1,600 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens