
Policy validation
Checks IAM policies and security settings against AWS best practices before deployment
Policy validation 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 Policy validation
This skill reviews IAM policies, resource policies and security configuration for overly broad access, missing condition keys, compliance gaps and common anti-patterns. It also looks at encryption coverage, audit logging and whether each threat in a design has a control, then gives every finding a severity and a concrete fix.
The review follows a fixed severity mapping that sorts findings into critical, important and suggestion tiers, and it expects a concrete policy document such as JSON or CDK statements rather than a role described only in prose. Where a design explicitly justifies a choice, the skill notes the justification and offers its recommendation as an alternative instead of treating it as a gap. Scores are computed for IAM policy security, encryption, audit logging and compliance readiness, and combined into an overall posture rating.
The skill can optionally run IAM Access Analyzer policy validation through the AWS CLI or an AWS MCP server when the user asks for it, which requires access-analyzer permissions in the user's account. It also references a companion compliance checklist skill for frameworks such as GDPR, HIPAA, PCI-DSS and SOC 2.
When your agent uses it
Validates IAM policies and security controls against AWS best practices. Use before deployment to detect overly permissive permissions, missing conditions, and compliance gaps. Produces prioritized findings with specific fixes.
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 3 files (43 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@konductorOr copy only this skill to ~/.claude/skills/policy-validation:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/policy-validation &&
cp -R "$tmp/skills/policy-validation" ~/.claude/skills/policy-validation &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/policy-validation inside it instead.
Copy the skill folder to ~/.agents/skills/policy-validation 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/policy-validation &&
cp -R "$tmp/skills/policy-validation" ~/.agents/skills/policy-validation &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/policy-validation inside it instead.
Copy the skill folder to ~/.cursor/skills/policy-validation 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/policy-validation &&
cp -R "$tmp/skills/policy-validation" ~/.cursor/skills/policy-validation &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/policy-validation inside it instead.
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/policy-validationOr copy the folder to ~/.gemini/skills/policy-validation yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/policy-validation:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/policy-validation &&
cp -R "$tmp/skills/policy-validation" ~/.copilot/skills/policy-validation &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/policy-validation inside it instead.
Get the folder:
git clone --depth 1 https://github.com/aws-solutions/konductor.gitThen copy konductor/skills/policy-validation into your agent's skills folder as policy-validation. Agents that support SKILL.md read one folder per skill.
What it does
- Overly permissive access detection
- Flags wildcard actions and resources, broad service grants and privilege-escalation actions in IAM policies.
- Cross-account trust review
- Checks whether cross-account role assumption is limited by conditions such as external IDs or organization principals.
- Encryption coverage checks
- Reviews encryption at rest, TLS enforcement, KMS key policies and key rotation settings.
- Audit logging assessment
- Examines CloudTrail configuration, log validation, encryption and retention for audit trails.
- Prioritized findings with fixes
- Each finding gets a critical, important or suggestion rating plus before and after policy JSON.
- Security posture scoring
- Produces scores for IAM, encryption, logging and compliance and combines them into an overall rating.
Good for
- Review an IAM policy for least-privilege problems before deploying it
- Check a cross-account role trust policy for missing conditions
- Audit whether CloudTrail and KMS settings meet a compliance requirement
- Find wildcard permissions in a CDK stack before release
- Compare a new security review against an earlier report to see what was fixed
Policy validation FAQ
When should Policy validation be used?
The skill description says to use it before deployment to detect overly permissive permissions, missing conditions and compliance gaps.
Does Policy validation change my policies automatically?
Only when asked to fix policies; by default it reports findings. When fixing, it narrows access rather than deleting it and writes a change log.
Does Policy validation need AWS credentials?
The optional IAM Access Analyzer validation needs AWS access and access-analyzer:ValidatePolicy permission. Manual checks run without it.
Which policies does Policy validation review?
Only policies with a concrete document, such as JSON or CDK code with actual statements. Roles described only in tables are skipped.
How do I install Policy validation in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/policy-validation to use it in all your projects, or to .claude/skills/policy-validation in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.
Does Policy validation 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 Policy validation?
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 Policy validation?
The closest alternatives to Policy validation are Infra validation, Iam policy design, Adversarial code review pass security, Sh kb misconfig and Security review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from aws-solutions/konductor

Helps diagnose and troubleshoot an existing Konductor install, CLI, and MCP setup
- Open source
- 12 GitHub stars
- Developer tools

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

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

Adversarial second-pass code review that hunts for disclosure, data integrity
- Open source
- 12 GitHub stars
- Security

Reviews a code diff for data integrity risks like partial writes and lost updates
- Open source
- 12 GitHub stars
- Developer tools

Reviews code diffs for schema, API contract and backward-compatibility risks
- Open source
- 12 GitHub stars
- Developer tools




