Skip to main content
skill CX Codex

aws-cleanrooms — Claude Code skill: debug AWS Clean Rooms

Walks your agent through AWS Clean Rooms permission failures and missing CloudWatch logs for custom ML model jobs.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aws/agent-toolkit-for-aws --skill aws-cleanrooms -a claude-code
Open on GitHub

What aws-cleanrooms does

The skill gives the agent domain knowledge for AWS Clean Rooms collaborations. When someone reports an access denied error or a permission failure, the agent follows references/permission-debugging.md: it checks IAM role policies (inline and attached managed), the S3 bucket policy, the KMS key policy, Lake Formation permissions and cross-account trust.

The second path covers custom ML model jobs that produce no CloudWatch logs. That procedure lives in references/custom-model-logging-debugging.md and looks at the Configured Model Algorithm Association privacy configuration, ML Configuration role permissions and log group verification. The skill does not grant access itself; it points at where the failure comes from.

Make sure the agent can reach your AWS account and the aws/agent-toolkit-for-aws repository files, otherwise the procedures have nothing to run against. Worth installing if you already run Clean Rooms collaborations and are tired of comparing policies across accounts by hand.

What it helps with

  • trace an access denied error in a Clean Rooms collaboration
  • compare inline and attached managed IAM role policies
  • check the S3 bucket policy and KMS key policy
  • sort out Lake Formation permissions and cross-account trust
  • find out why custom ML model jobs publish no logs

Example prompts for the agent

  • Why does the partner table access fail in AWS Clean Rooms?
  • Check the IAM role and S3 bucket policies in this collaboration, the client gets AccessDenied
  • The custom model job logs never show up in CloudWatch, walk through the debugging procedure

How to install aws-cleanrooms

1Skills CLI (Vercel)

npx skills add aws/agent-toolkit-for-aws --skill aws-cleanrooms -a claude-code

2Manually: put the files in place

~/.claude/skills/aws-cleanrooms/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/aws-cleanrooms/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about aws-cleanrooms

How do I install aws-cleanrooms in Claude?

Run npx skills add aws/agent-toolkit-for-aws --skill aws-cleanrooms -a claude-code. The skill lands in ~/.claude/skills/aws-cleanrooms/SKILL.md.

What does aws-cleanrooms do?

It helps the agent debug AWS Clean Rooms collaboration issues: IAM roles, S3 and KMS policies, Lake Formation permissions, cross-account trust, and CloudWatch logging for custom ML model training and inference jobs.

Which platforms support the skill?

Besides Claude, it installs for Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode. GitHub Copilot uses a different command: gh skill install aws/agent-toolkit-for-aws aws-cleanrooms.

Source text

SKILL.md · Apache-2.0
---
name: aws-cleanrooms
description: Troubleshoots and debugs AWS Clean Rooms collaboration issues related to IAM roles, S3 bucket policies, KMS keys, Lake Formation permissions, and CloudWatch logging for custom ML model training and inference jobs. Use when a customer reports permission failures, access errors, or log publishing issues in Clean Rooms.
version: 1
---
# AWS Clean Rooms

## Overview

Domain expertise for troubleshooting AWS Clean Rooms collaborations and custom ML modeling. Covers permission debugging, data access issues, and CloudWatch logging configuration.

## Common tasks

### Debugging Clean Rooms errors

Determine the failure type:

**Access denied or permission error?** → See [permission debugging procedure](references/permission-debugging.md). Covers IAM role policies (inline + attached managed), S3 bucket policies, KMS key policies, Lake Formation permissions, and cross-account trust.

**Missing CloudWatch logs for custom model jobs?** → See [custom model logging debugging procedure](references/custom-model-logging-debugging.md). Covers Configured Model Algorithm Association privacy configuration, ML Configuration role permissions, and log group verification.

## Additional resources

- [Clean Rooms Service Role Setup](https://docs.aws.amazon.com/clean-rooms/latest/userguide/setting-up-roles.html)
- [Cross-service Confused Deputy Prevention](https://docs.aws.amazon.com/clean-rooms/latest/userguide/cross-service-confused-deputy-prevention.html)
- [ML Roles Documentation](https://docs.aws.amazon.com/clean-rooms/latest/userguide/ml-roles.html)
- [Lake Formation Onboarding](https://docs.aws.amazon.com/lake-formation/latest/dg/onboarding-lf-permissions.html)

© aws · Apache-2.0 · aws/agent-toolkit-for-aws

Similar skills

Everything for Cloud: AWS, Azure, GCP →

From the same set133

enabling-lambda-vpc-internet-access A skill that walks the agent through NAT Gateway, route tables and security groups when a Lambda in a private subnet cannot reach the internet. CX Codex +1 6,100installs troubleshooting-efs A skill that walks the agent through Amazon EFS failures: mount errors, NFS timeouts, access denied, slow throughput. CX Codex +1 5,900installs aws-deployment Walks your coding agent through AWS CI/CD: CodePipeline, CodeBuild, CodeDeploy, CodeConnections, CodeArtifact. Useful when a pipeline stalls at source or a build hangs in a VPC. CX Codex +1 5,800installs aws-networking Routes AWS networking requests across seven services to their specialized implementation skills. It helps choose between connectivity and traffic filtering options. CX Codex +1 5,900installs aws-lambda-durable-functions Teaches coding agents to build resilient AWS Lambda functions that run up to 1 year with state persistence. Useful for long-running workflows and multi-step AI agents. CX Codex +1 5,800installs aws-lambda-microvms Builds, runs, and debugs Firecracker-isolated AWS Lambda MicroVMs with fast snapshot resume and session lifetimes up to 8 hours. CX Codex +1 5,600installs aws-database Reads your data problem and points to the right AWS service: relational, key-value, document, graph or cache. CX Codex +1 5,700installs aws-lambda-managed-instances Decides whether your Lambda workload belongs on Managed Instances and configures the deployment. Useful for long asynchronous jobs and ESM invocations. CX Codex +1 5,600installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor