ai-consumption-contract
Skill0 starsChanged 7 months agoMITView on GitHub
Author or refresh an AI Consumption Contract for a Platinum-layer data product. Translates the AI-Ready Platinum 5 Principles + 6-question metadata rubric into a per-agent contract that an LLM agent or Genie space can consume safely. Use when an AI agent is being granted Platinum access, when a new agentic use case is launching, or when defending the data team's AI-readiness posture.
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- data-products/CLAUDE.mdCLAUDE.md
- governance/CLAUDE.mdCLAUDE.md
- initiatives/CLAUDE.mdCLAUDE.md
- insights/CLAUDE.mdCLAUDE.md
- ip/CLAUDE.mdCLAUDE.md
- _Logs/CLAUDE.mdCLAUDE.md
- methodology/CLAUDE.mdCLAUDE.md
- playbooks/CLAUDE.mdCLAUDE.md
- practice-context/CLAUDE.mdCLAUDE.md
- _Registry/CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- talent/CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- Templates/CLAUDE.mdCLAUDE.md
- Workflows/CLAUDE.mdCLAUDE.md
- claude-md-bootstrapSkill
- dabs-template-initSkill
- data-source-10q-intakeSkill
- defending-ai-spend-memoSkill
- governance-auditSkill
- weekly-practice-synthesisSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Use case (one sentence).
- Distinctive: line 63
Every Principle and every rubric question answered or marked FAIL with remediation.
- Distinctive: line 66
If any agent is reading raw PII → contract verdict is FAIL.
- Very specific: line 74
If FAIL → invoke governance-audit skill before granting access.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ai-consumption-contract
You are authoring an AI Consumption Contract: the agreement between a Platinum-layer data product and an AI agent that consumes it. 1× publish → 1× govern → 5+ consume.
Source IP
- Authored:
ip/authored/ai-ready-platinum-layer.md(canonical). - Authored:
ip/authored/no-lac-principle.md(Bronze-to-Platinum logic). - Curated:
ip/curated/context-wall-meta-knowledge-graph.md(Tekiner). - Curated:
ip/curated/bain-3-layer-agentic.md. - Template:
data-products/ai-consumption-contract-template.md.
When to invoke
- A Genie space, agentic analytics agent, or RAG pipeline is requesting Platinum read access.
- The data team is defending AI spend and needs proof of governed consumption.
- Periodic contract refresh (quarterly) on active AI consumers.
Required inputs
- Name + role of the consuming agent (Genie / RAG / fine-tune / feature).
- Platinum view(s) being granted.
- Use case (one sentence).
- Producer's data contract (path to
data-contract.yml). - Current archetype + governance status (from
initiatives.yaml).
The AI-Ready Platinum 5 Principles (every contract must address each)
- Semantic clarity — column names match the metric definitions in the UC business glossary; no abbreviations the agent will hallucinate.
- Joinability declared — every join key the agent will follow is documented in the metadata; no implicit relationships.
- Consumption-shaped — the view is shaped for the agent's question pattern (one row per question, not per source row).
- Masked at source — tier-1/2 columns are pre-masked in the view; the agent never sees raw PII.
- Observable — every read by the agent is logged with prompt + row count + latency for cost + drift defense.
The 6-question metadata rubric
- What does each column mean (business definition)?
- What does each column NOT mean (anti-definition)?
- What is the freshness contract (max staleness)?
- What is the volume contract (rows-per-day expectation)?
- What is the quality contract (DLT expectations the agent inherits)?
- What is the access contract (ABAC tags + masking applied)?
Output shape
The completed data-products/ai-consumption-contract-template.md filled
out for the specific agent, with:
- BLUF: agent X consumes Platinum view Y for use case Z.
- 5 Principles each with concrete evidence (column lists, mask rules).
- 6-question rubric each with cited source (glossary entry, DLT rule).
- Observability hookup (UC system tables + agent prompt log path).
- Quarterly refresh date stamped.
Verification
- Every Principle and every rubric question answered or marked FAIL with remediation.
- Tier-1/2 columns demonstrably masked (cite the mask rule, not "yes").
- If any agent is reading raw PII → contract verdict is FAIL.
- Sanitization: no agent, vendor, or workspace name leaks.
Handoff
- Save the contract to
data-products/<product>/ai-contracts/<agent>-contract.md. - Append the contract row to
data-products/data-products.yamlunder the product'sai_consumerslist. - If FAIL → invoke
governance-auditskill before granting access.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

