data-testing

data-testing is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 125 tokens per session (4,698 once invoked), scanned A, original, MIT.

A guide to testing data pipelines and their transformations automatically. It includes dbt unit tests, checks from Soda or Great Expectations, comparisons between environments, and CI/CD gates.

In plain words
What is it for?
It is for writing data tests, comparing development with production-like data, validating quality, and blocking unsafe pipeline changes in CI.
Why use it?
It catches broken transformations, unexpected data changes, and contract violations before a pipeline change is released. This makes data failures easier to detect during development.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

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.

agentmods
npx agentmods add skills/j4flmao/agent-skills/data-testing
Any agent
npx skills add j4flmao/agent-skills --skill data-testing
Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills

Made for: Claude Code, Codex.

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-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/data-testing.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/data-testing)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/data-testing"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/data-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00125 $0.04698
Opus 5 $0.00063 $0.02349
Sonnet 5 $0.00025 $0.00940
Haiku 4.5 $0.00013 $0.00470

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

Security

Grade A, and why

data-testing 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 2d 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/data-testing/SKILL.md · 550 lines

How it starts

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

Data Testing

Purpose

Implement automated data testing across the data platform: unit tests for dbt models, regression detection between environments, data quality validation with Soda/Great Expectations, and CI/CD gates for data pipeline changes.

Agent Protocol

Trigger

Exact user phrases: "data testing", "dbt testing", "dbt unit test", "data-diff", "datafold", "Soda", "Great Expectations", "data regression", "data quality test", "data contract test", "data testing framework", "data validation test", "test data pipeline".

Input Context

Before activating, verify:

  • Data transformation tool (dbt, SQLMesh, custom)
  • Testing infrastructure (Soda Cloud, Great Expectations, datafold, data-diff)
  • CI/CD platform (GitHub Actions, GitLab CI, Jenkins)
  • Environments (dev, staging, prod) and data sources
  • Data contracts or SLAs in place
  • Existing test coverage and failure patterns

Output Artifact

Test suite configuration with dbt unit tests, Soda checks, Great Expectations suites, data regression test configs, and CI pipeline integration.

Response Format

# dbt test config
# Soda checks
# Unit test fixtures and assertions
# Regression diff queries
# Great Expectations suite
# CI pipeline

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output — why use many token when few do trick.

Completion Criteria

  • dbt unit tests written for all critical transformation models
  • Regression tests configured between staging and production
  • Soda or Great Expectations checks for row count, freshness, null rates, uniqueness
  • Data contract tests enforcing schema and shape on every deploy
  • CI pipeline runs tests and blocks on failures
  • Alerting on test failure with Slack/PagerDuty integration
  • Test coverage measured and reported

Max Response Length

300 lines of code and configuration.

dbt Unit Testing

Unit Test Setup

# packages.yml
packages:
  - package: equalexperts/dbt_unit_testing
    version: 1.0.0

Read the full file on GitHub · 550 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. 2d ago First seen · 550 lines · 125 tokens per session scan A b80893dc3157

Subscribe to this mod's changes

data-testing is a skill published in the GitHub repository j4flmao/agent-skills (20 stars, last pushed yesterday), licensed MIT. It adds 125 tokens to every session and 4,698 once invoked, about $0.0006 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-09-03.