data-data-contracts

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

A guide to data contracts: explicit agreements between the systems that produce data and those that consume it. They define the data structure, meaning, ownership, service expectations, and rules for compatible changes.

In plain words
What is it for?
It is for defining schemas and service-level expectations, assigning ownership, planning versions, and enforcing compatibility checks in continuous-integration pipelines.
Why use it?
It helps prevent a producer from making a change that silently breaks dashboards, pipelines, or machine-learning systems. Automated checks can detect incompatible schema changes before release.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/validate_contract.py \.

Good fit It is for defining schemas and service-level expectations, assigning ownership, planning versions, and enforcing compatibility checks in continuous-integration pipelines.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

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

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-data-contracts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/data-contracts"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/data-contracts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,634 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00109 $0.04634
Opus 5.5 $0.00044 $0.01854
Sonnet 5.5 $0.00022 $0.00927
Haiku 4.5 $0.00011 $0.00463

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

Security

Grade A, and why

data-data-contracts 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 1mo 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-contracts/SKILL.md · 538 lines

How it starts

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

Data Data Contracts

Purpose

Design and enforce data contracts between producers and consumers covering schema, semantics, SLA, ownership, versioning, and compatibility — with automated enforcement in CI/CD pipelines.

Agent Protocol

Trigger

Exact user phrases: "data contract", "data agreement", "schema contract", "producer consumer", "schema evolution", "compatibility", "data SLA", "dbt contracts", "data product contract", "contract testing", "breaking change schema".

Input Context

  • Data producers (source systems, pipelines, data products)
  • Data consumers (analysts, ML models, dashboards, downstream systems)
  • Current schema management approach
  • Data platform and transformation tools
  • Compliance and governance requirements

Output Artifact

Data contract specification with schema, SLA terms, ownership; CI/CD enforcement pipeline with compatibility checks; versioning strategy.

Response Format

# Contract schema definition
# Semantic type definitions
# SLA configuration
# CI/CD enforcement pipeline
# Version compatibility matrix

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

Completion Criteria

  • Contract schema defined with columns, types, constraints
  • Semantic types documented per field
  • SLA terms defined (freshness, volume, quality)
  • Ownership and escalation assigned
  • Contract versioning scheme established
  • CI/CD enforcement pipeline configured
  • Schema compatibility checks automated
  • Breaking change detection and notification workflow

Max Response Length

350 lines of configuration.

Workflow

Step 1: Define Contract Schema

contract:
  version: "1.2.0"
  dataset: analytics.fct_orders
  schema:
    columns:
      - name: order_id
        type: STRING
        required: true
        unique: true
        semantic_type: ORDER_ID
        tags: [PII, FINANCIAL]
      - name: customer_id
        type: STRING
        required: true
        semantic_type: CUSTOMER_ID
      - name: total_amount
        type: DECIMAL(18,2)
        required: true
        semantic_type: MONETARY_VALUE
        constraints:
          minimum: 0
          maximum: 100000

Read the full file on GitHub · 538 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. 1mo ago First seen · 538 lines · 109 tokens per session scan A 9aaeaf8b3f2a

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

api-contract-testing

Design and review API contract tests across providers and consumers. Use for schema changes, compatibility regressions and client integration failures.

sickn33/agentic-awesome-skills · 28 tokens

eval-import

Turn a list of questions into an eval set, whatever shape it arrived in: a JSONL a customer sent, a CSV, a spreadsheet export, a markdown doc, an email thread, or a pull from production logs. Classify each item by what came WITH the question (a query, a number, prose criteria, or nothing), write cases.jsonl and…

malloydata/publisher · 142 tokens

eval-answer

Score one analytical answer against a verified golden, and score which of the entities the golden depends on retrieval delivered to the answerer. Run the contamination checklist, re-execute the submitted query yourself, then spawn a judge subagent per skill:eval-judge. Append attempt, toolcall, score, and…

malloydata/publisher · 117 tokens

eval-improve

Make the smallest safe edit that closes a diagnosed gap the model repo owns: a Malloy model edit, or a package skill under skills/. Every factual claim carries a probe receipt. Use after eval-diagnose, or when asked to fix a model so an agent can discover the right answer. Never accepts its own edit; the acceptance…

malloydata/publisher · 97 tokens

eval-judge

Decide whether ONE answer matches its golden, and say whether you believe the golden. Read this before emitting any verdict. Covers containment, column pairing, nearmatch, refusals, and the goldstatus judgement. Use when scoring an attempt in an evaluation run; never to conduct a run (eval-loop), diagnose a failure…

malloydata/publisher · 83 tokens

data-validation-contracts

Use when data crosses a boundary into your code (file, API, warehouse table, upload, model input or output), when a join or cleaning step can change row counts, or when adding pandera, Great Expectations, Pydantic or dbt checks.

makifbaysal/tasktrooper · 56 tokens