Install
$ agentstack add skill-aws-samples-sample-ai-agent-skills-cleanrooms-troubleshooting ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Clean Rooms Diagnostics
When to use
Any Clean Rooms investigation where the console alone is insufficient — collaboration setup, table configuration, analysis rules, query execution, privacy controls, ML features, or access control issues.
Investigation workflow
Step 1 — Collect and triage
aws cleanrooms list-collaborations
aws cleanrooms list-memberships
aws cleanrooms get-collaboration --collaboration-identifier
aws cleanrooms get-membership --membership-identifier
aws cleanrooms list-configured-tables
Step 2 — Deep dive
aws cleanrooms get-configured-table --configured-table-identifier
aws cleanrooms get-configured-table-analysis-rule --configured-table-identifier --analysis-rule-type
aws cleanrooms list-configured-table-associations --membership-identifier
aws cleanrooms list-protected-queries --membership-identifier
aws cleanrooms get-protected-query --membership-identifier --protected-query-identifier
aws cleanrooms get-collaboration-privacy-budget-template --collaboration-identifier --privacy-budget-template-identifier
aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventSource,AttributeValue=cleanrooms.amazonaws.com --max-results 20
Read references/guardrails.md before concluding on any Clean Rooms issue.
Tool quick reference
| Tool / API | When to use | |------------|-------------| | cleanrooms list-collaborations | List all collaborations | | cleanrooms get-collaboration | Collaboration details and status | | cleanrooms list-memberships | List memberships | | cleanrooms get-membership | Membership details and abilities | | cleanrooms list-configured-tables | List configured tables | | cleanrooms get-configured-table | Table configuration details | | cleanrooms get-configured-table-analysis-rule | Analysis rule details | | cleanrooms list-protected-queries | List queries in a membership | | cleanrooms get-protected-query | Query details and results | | cleanrooms list-schemas | List schemas in a collaboration | | cleanrooms get-schema | Schema details | | cleanrooms-ml list-training-datasets | List ML training datasets |
Gotchas: Clean Rooms
- Collaborations require at least two members: A collaboration must have at least two member accounts. A single account cannot create a collaboration with itself for testing — use two separate AWS accounts.
- Analysis rules restrict query capabilities: Each configured table must have an analysis rule (AGGREGATION, LIST, or CUSTOM) that defines what queries are allowed. Without an analysis rule, the table cannot be queried.
- Configured tables reference Glue Data Catalog: Tables must be registered in the Glue Data Catalog before they can be configured in Clean Rooms. Missing Glue tables cause configuration failures.
- Query results go to the member who can receive results: Only members with the CANRECEIVERESULTS ability can receive query output. The output S3 bucket must be in the same account as the receiving member.
- Differential privacy has a budget: Differential privacy uses a privacy budget that depletes with each query. Once exhausted, no more queries can run until the budget is refreshed. Monitor budget consumption.
- Cryptographic computing requires specific setup: Clean Rooms cryptographic computing requires client-side encryption of data before upload. It uses specific encryption schemas and cannot be enabled retroactively on existing tables.
- ML features are separate from core Clean Rooms: Clean Rooms ML (lookalike modeling, etc.) uses a separate API (
cleanrooms-ml) and has its own permissions and configuration requirements. - Cross-account data never leaves the owner's account: Clean Rooms processes queries without moving raw data between accounts. Only aggregated or filtered results are shared. This is a fundamental design principle.
Anti-hallucination rules
- Always cite specific collaboration IDs, membership IDs, or API responses as evidence.
- Collaborations need at least two members — never suggest single-account collaborations.
- Analysis rules are required — never claim tables can be queried without them.
- Raw data never leaves the owner's account — never suggest data is copied between accounts.
- Differential privacy budget depletes — never claim unlimited queries with differential privacy.
- Spend no more than 2 minutes on any single hypothesis. Pivot if inconclusive.
18 runbooks
| Category | IDs | Covers | |----------|-----|--------| | A — Collaboration | A1-A2 | Creation, membership | | B — Tables | B1-B2 | Configured tables, analysis rules | | C — Queries | C1-C2 | Query failures, output configuration | | D — Privacy | D1-D2 | Differential privacy, cryptographic computing | | E — ML | E1-E2 | ML modeling, lookalike segments | | F — Security | F1-F2 | IAM permissions, data access | | Z — Catch-All | Z1 | General Clean Rooms troubleshooting |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: aws-samples
- Source: aws-samples/sample-ai-agent-skills
- License: MIT-0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.