Skip to content
Skill

Iam policy design

Drafts least-privilege IAM, KMS, S3 and SCP policies and AWS security controls

Iam policy design is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
12
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Iam policy design

This skill guides an agent through designing AWS access controls: identity and resource policies, service control policies, permission boundaries, and the encryption, logging, monitoring and network settings that support them. It works in two modes, starting from scratch with discovery questions or from existing artifacts such as system designs, API specs and threat models, and it maps each threat to a control and a validation method.

The workflow asks the agent to map actors to principals and actions to resource ARNs, then to apply condition keys such as TLS enforcement and region limits. It draws on AWS MCP server skills for policy generation and S3, secrets and CloudTrail settings when that server is available, and falls back to built-in rules otherwise. Compliance reference checklists cover GDPR, HIPAA, PCI-DSS and SOC 2 when those frameworks or regulated data come up.

The output follows a fixed layout of executive summary, security context, policy JSON, controls, threat mapping, compliance validation, CDK or CloudFormation code and testing recommendations. It expects AWS requirements and access details as input, and a review by the security team before production use.

When your agent uses it

Generates least-privilege IAM policies and security controls for AWS. Use when writing an IAM role, S3 bucket, or KMS key policy, a permission boundary, or an SCP, or when asked for least-privilege access for a service.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (47 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the konductor plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductor

Or copy only this skill to ~/.claude/skills/iam-policy-design:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/iam-policy-design &&
cp -R "$tmp/skills/iam-policy-design" ~/.claude/skills/iam-policy-design &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/iam-policy-design inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/iam-policy-design to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/iam-policy-design &&
cp -R "$tmp/skills/iam-policy-design" ~/.agents/skills/iam-policy-design &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/iam-policy-design inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/iam-policy-design to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/iam-policy-design &&
cp -R "$tmp/skills/iam-policy-design" ~/.cursor/skills/iam-policy-design &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/iam-policy-design inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/aws-solutions/konductor.git --path skills/iam-policy-design

Or copy the folder to ~/.gemini/skills/iam-policy-design yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/iam-policy-design:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/iam-policy-design &&
cp -R "$tmp/skills/iam-policy-design" ~/.copilot/skills/iam-policy-design &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/iam-policy-design inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/aws-solutions/konductor.git

Then copy konductor/skills/iam-policy-design into your agent's skills folder as iam-policy-design. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Least-privilege policy design
Builds identity, resource, trust and permission boundary policies scoped to the documented access patterns.
Encryption and key management
Covers customer-managed KMS keys, key policies, rotation and encryption for common AWS data stores.
Audit logging and retention
Sets up CloudTrail, service logs and retention periods for operational and compliance needs.
Threat-to-control mapping
Links each identified threat to a mitigation, a status and a validation method.
Compliance gap review
Checks designs against GDPR, HIPAA, PCI-DSS and SOC 2 controls and lists remediation steps.
Monitoring and network controls
Describes CloudWatch alarms, GuardDuty, Security Hub, VPC endpoints and security group rules.

Good for

  • Write a least-privilege IAM role for a Lambda function that reads one S3 bucket
  • Design a KMS key policy with separate administrator and user permissions
  • Draft a permission boundary for a team that creates its own roles
  • Review an architecture against SOC 2 or HIPAA access and logging controls
  • Create an SCP that blocks disabling of security services and restricts regions

Iam policy design FAQ

When does Iam policy design trigger?

It is meant for requests to write an IAM role, S3 bucket or KMS key policy, a permission boundary or an SCP, or to get least-privilege access for a service.

Does Iam policy design need the AWS MCP server?

It can use the AWS MCP server's aws-iam and securing-s3-buckets skills when available. Without the server, it works from its own rules and says that those skills were not consulted.

Does the skill run AWS CLI commands?

No. The referenced AWS skills run CLI commands, but the design uses their settings only and runs nothing.

What output does Iam policy design produce?

A structured design document with policy JSON, security controls, a threat mitigation table, compliance validation, CDK or CloudFormation code and testing recommendations.

How do I install Iam policy design in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/iam-policy-design to use it in all your projects, or to .claude/skills/iam-policy-design in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.

Does Iam policy design run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Iam policy design?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Iam policy design?

The closest alternatives to Iam policy design are Policy validation, Iam helper for policy management, Threat modeling, Iam helper for troubleshooting and API compliance checker.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from aws-solutions/konductor

  1. Helps diagnose and troubleshoot an existing Konductor install, CLI, and MCP setup

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Installs, updates or removes the Konductor toolkit in a Kiro workspace with consent gates

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Onboards you to Konductor: install the CLI, set up agent content, and start a session

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Adversarial second-pass code review that hunts for disclosure, data integrity

    • Open source
    • 12 GitHub stars
    • Security