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.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.svg" alt="Measured on agentmods" 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 $0.00055 $0.02317
Sonnet 5 $0.00022 $0.00927
Haiku 4.5 $0.00011 $0.00463

Measured 4d ago against content hash 9aaeaf8b3f2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 4d 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. 4d 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 (22 stars, last pushed yesterday), licensed MIT. It adds 109 tokens to every session and 4,634 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-09-03.

Related

Other skills, from other repositories

eval-loop

Conduct a local Publisher evaluation loop in five steps: scrape/run, eval, diagnose, improve, checkpoint. You are the conductor: import cases into the file ledger, spawn a blind answerer, then run eval-answer, eval-diagnose, and eval-improve. Persistence is plain files under the model package's evals/ directory…

malloydata/publisher · 102 tokens

eval-improve

Make the smallest safe Malloy model edit that closes a diagnosed model-owned gap, with a probe receipt for every factual claim. 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 check belongs to eval-loop. Does not decide whether…

malloydata/publisher · 86 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

eval-diagnose

Diagnose why a scored answer failed and who owns the fix, then cluster the failures by shared root cause. Walk dataset, agent-call, getcontext/model, getcontext/retrieval, construction, then model-definition. Append issue events to the file ledger, linked by traceId, one per cluster. Use after eval-answer, when…

malloydata/publisher · 93 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

data-mesh-expert

Expert-level data mesh architecture, domain-oriented ownership, data products, federated governance, and self-serve platforms. Use when the user mentions architecture, domain driven, data products, governance, or platform, or when the task involves Data Mesh Principles, Domain-Oriented Data Ownership, Data as a…

personamanagmentlayer/pcl · 75 tokens