data-clean-room

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

A data-clean-room guide for allowing organizations to compare or analyze data together under strict privacy controls. A clean room limits what participants can join, query, and reveal to one another.

In plain words
What is it for?
Design privacy-preserving joins, secure multi-party computations, differential-privacy controls, query restrictions, and data-sharing agreements.
Why use it?
It helps teams collaborate on sensitive customer or business data without freely exchanging the underlying records.

Skill for Claude CodeCodex

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

Good fit Design privacy-preserving joins, secure multi-party computations, differential-privacy controls, query restrictions, and data-sharing agreements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j4flmao/agent-skills/data-clean-room
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 j4flmao/agent-skills --skill data-clean-room
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-clean-room

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/data-clean-room"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/data-clean-room.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,395 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 159
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00116 $0.04395
Opus 5 $0.00058 $0.02197
Sonnet 5 $0.00023 $0.00879
Haiku 4.5 $0.00012 $0.00439

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

Security

Grade A, and why

data-clean-room 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 6d 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-clean-room/SKILL.md · 515 lines

How it starts

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

Data Clean Room

Purpose

Enable privacy-preserving data collaboration between multiple parties using clean room architectures, private set intersection, differential privacy, and controlled query environments.

Agent Protocol

Trigger

Exact user phrases: "data clean room", "AWS Clean Rooms", "Snowflake Clean Room", "PSI", "Private Set Intersection", "privacy-preserving join", "data collaboration", "secure MPC", "multi-party computation", "differential privacy", "privacy-enhancing technologies", "PET", "clean room query", "privacy budget".

Input Context

Before activating, verify:

  • Clean room platform (AWS Clean Rooms, Snowflake Clean Room, custom PSI, Google Ads Data Hub, Habu, InfoSum)
  • Participating parties and data roles (contributor, querier, collaborator)
  • Data types (PII, behavioral, transactional, demographic)
  • Join keys (email, hashed email, device ID, customer ID)
  • Query patterns (aggregation, JOIN, differential privacy)
  • Compliance requirements (CCPA, GDPR, HIPAA, financial regulations)

Output Artifact

Clean room architecture with table schema, join key configuration, query constraints, privacy controls, and collaboration agreement as SQL, YAML, and JSON.

Response Format

-- Clean room table schema with privacy configuration
-- Clean room configuration
-- Query constraints and policies

No preamble. No postamble. No explanations. No filler/hedging/transitions. Compress output.

Completion Criteria

  • Join key strategy defined (hashed, salted, or PSI-based)
  • Column-level access policies configured per party
  • Query constraints with row count and aggregation limits
  • Differential privacy budget (epsilon) configured
  • Output validation rules documented
  • Audit logging and compliance controls defined

Max Response Length

4096

Workflow

Clean Room Architecture

A clean room is a controlled environment where multiple parties contribute data for collaborative analysis without exposing raw data to each other.

Read the full file on GitHub · 515 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. 6d ago First seen · 515 lines · 116 tokens per session scan A 543b1707c210

Subscribe to this mod's changes

data-clean-room is a skill published in the GitHub repository j4flmao/agent-skills (22 stars, last pushed 3d ago), licensed MIT. It adds 116 tokens to every session and 4,395 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.

Related

Other skills, from other repositories

Australian Privacy Act

Privacy Act 1988 compliance, APPs, data breach notification, and privacy policy requirements.

AussieAgentsSkills/skills · 22 tokens

implementing-gdpr-data-protection-controls

The General Data Protection Regulation (EU) 2016/679 (GDPR) is the EU's comprehensive data protection law governing the collection, processing, storage, and transfer of personal data. This skill cover.

xalgorix/xalgorix · 52 tokens

data_analyst

Analyses datasets with professional rigour — statistical summaries, clear narratives, and well-chosen visualisations.

siddsachar/row-bot · 26 tokens

gdpr-privacy

Use when producing the GDPR artifacts a product publishes or hands over: a privacy policy true to what it processes, a cookie/consent banner, a lawful basis per purpose, an Art. 28 DPA, an SCC transfer mechanism, or a DSAR flow. Drafts for counsel review. NOT internal retention rules (that is data-policy), NOT…

ericrisco/rsc-harness · 89 tokens

data-policy

Use when building internal data-governance machinery: a retention schedule (period, lawful basis, expiry action, system where deletion runs), an Art. 6 lawful-basis register, an Art. 30 ROPA, or a consent capture/withdrawal model. NOT the public privacy notice or DSAR handling (that is gdpr-privacy), NOT SOC 2 posture…

ericrisco/rsc-harness · 88 tokens

gdpr-expert

Expert in GDPR compliance, data protection, privacy by design, consent management, DPO responsibilities, and EU data regulations. Use when the user mentions privacy, data protection, compliance, consent, a DPO, or eu regulation, or when the task involves GDPR Fundamentals, Key Principles, Data Subject Rights, or…

personamanagmentlayer/pcl · 71 tokens