Creator · giuseppe-trisciuoglio
Last updated · Sep 5, 2026
Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume.
Creator · giuseppe-trisciuoglio
Last updated · Sep 5, 2026
Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume.
Creator · giuseppe-trisciuoglio
Last updated · Sep 5, 2026
Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume.
Creator · giuseppe-trisciuoglio
Last updated · Sep 5, 2026
Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume.
Sandbox only
Install targets
Codex install prompt
Install the "aws-cloudformation-iam" agent skill from https://github.com/giuseppe-trisciuoglio/developer-kit/tree/main/plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-iam. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"giuseppe-trisciuoglio-aws-cloudformation-iam","task":"Install aws-cloudformation-iam","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Maintenance
fresh
18d since push
Risk
Safe to try
Quality score needs review
GitHub quality
339
72/100 Quality · 78/100 Trust
Coverage tags
Review notes
Quality score needs review · Stars/forks activity: 339 stars, 39 forks; issue activity unavailable in current metadata
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Safe to tryA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
339 GitHub stars
Repo activity
339 stars, 39 forks
Maintenance
18d since push
License
MIT
Install
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iamDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
Agent should check
Copy prompt
Task: Use aws-cloudformation-iam in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
Install command: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
LLM text format
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install?format=text
Find alternatives
/api/skills/search?q=aws-cloudformation-iam&limit=3
Agent prompt
Use aws-cloudformation-iam for this task. Review https://www.openagentskill.com/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install, then install with: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iamRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/giuseppe-trisciuoglio-aws-cloudformation-iam
LLM text
/api/registry/manifest/giuseppe-trisciuoglio-aws-cloudformation-iam?format=text
Install alias
/api/registry/install/giuseppe-trisciuoglio-aws-cloudformation-iam
Recommend
/api/registry/recommend?task=Use%20aws-cloudformation-iam%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Coding agents
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO339 GitHub stars
Stars/forks activity
CHECK339 stars, 39 forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Reduce risk
I need my agent to scan a project for security risks and summarize what needs attention.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: aws-cloudformation-iam description: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume. allowed-tools: Read, Write, Bash ---
# AWS CloudFormation IAM Security
## Overview
Use this skill to model IAM with CloudFormation in a way that stays secure, auditable, and maintainable.
The most important design concerns are: - separating trust policies from permission policies - preferring roles over long-lived users wherever possible - keeping least-privilege boundaries readable and reusable
Do not treat `SKILL.md` as a full IAM encyclopedia. Use the bundled references for larger policy examples and service-specific variants.
## When to Use
- Creating IAM roles for Lambda, ECS, EC2, Step Functions, or other AWS services - Defining inline policies, managed policies, and permission boundaries in CloudFormation - Modeling cross-account assume-role access with constrained trust policies - Exporting IAM role ARNs or managed policy ARNs to downstream stacks - Reviewing wildcard permissions, boundary drift, or role replacement risk - Creating reusable IAM stacks for platform or application teams
## Instructions
### 1. Define the trust boundary first
Identify who or what assumes the role (service principal, cross-account principal, or federated identity), then write the trust policy with explicit principals and conditions before adding permissions.
### 2. Grant the minimum permission set
Use inline policies for role-specific access; use managed policies for shared patterns across principals. Scope actions and resources tightly, and use conditions where possible.
### 3. Apply permission boundaries for delegated role creation
Use permission boundaries when teams create or extend roles in their own stacks, when guardrails are needed around privileged services (IAM, KMS, Organizations), or to separate maximum allowed permissions from application-specific policies.
Name roles and policies consistently so stack outputs and audits remain easy to trace.
### 4. Model cross-account access
For cross-account roles: trust only the exact source account or principal, add `sts:ExternalId` conditions when appropriate, keep permission and trust policies separate, and export only the ARNs that consuming accounts need.
### 5. Validate the template and policy behavior
Before rollout, use these commands to verify the template and IAM behavior:
```bash # Validate CloudFormation template syntax aws cloudformation validate-template --template-body file://template.yaml
# Preview changes before applying aws cloudformation create-change-set \ --stack-name <stack-name> \ --template-body file://template.yaml \ --change-set-type CREATE
# Simulate whether a principal can perform specific actions aws iam simulate-principal-policy \ --policy-source-arn arn:aws:iam::123456789012:role/LambdaExecutionRole \ --action-names dynamodb:GetItem dynamodb:PutItem
# Check for wildcards in IAM policies within the template aws cloudformation list-stack-resources --stack-name <stack-name> ```
After deployment, confirm policy attachments and stack outputs match the intended security model.
## Examples
### Example 1: Service role for Lambda with tightly scoped permissions
```yaml Resources: LambdaExecutionRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Principal: Service: lambda.amazonaws.com Action: sts:AssumeRole Policies: - PolicyName: DynamoDbWritePolicy PolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Action: - dynamodb:GetItem - dynamodb:PutItem Resource: !GetAtt OrdersTable.Arn ```
### Example 2: Cross-account role with an external ID condition
```yaml Resources: PartnerReadRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Principal: AWS: arn:aws:iam::123456789012:role/partner-reader Action: sts:AssumeRole Condition: StringEquals: sts:ExternalId: partner-contract-001 ```
Keep the trust relationship narrow and pair it with a separate read-only permission policy.
## Best Practices
- Prefer IAM roles over long-lived IAM users for application and automation access. - Separate trust policies from permission policies when reviewing or refactoring templates. - Use permission boundaries when delegating role creation to other teams. - Scope resources, actions, and conditions as tightly as the workload allows. - Export stable ARNs and names only when another stack truly consumes them. - Keep expanded policy libraries and edge cases in `references/` instead of bloating the root skill.
## Constraints and Warnings
- Overly broad wildcards in IAM are easy to deploy and hard to notice later. - Named IAM resources can be hard to replace safely once other systems depend on them. - IAM changes may appear successful in CloudFormation before eventual consistency settles across AWS services. - Some Identity Center or organization-wide access patterns need complementary tooling outside a single CloudFormation stack. - Misconfigured trust policies are often a bigger risk than missing permissions.
## References
- `references/examples.md` - `references/reference.md`
## Related Skills
- `aws-cloudformation-security` - `aws-cloudformation-ec2` - `aws-cloudformation-ecs` - `aws-cloudformation-lambda`
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for aws-cloudformation-iam, ready for a manual X post.
aws-cloudformation-iam: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission bo... 339 stars https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=x
Listing + install path for aws-cloudformation-iam: https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=x Install: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to giuseppe-trisciuoglio but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/audit)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)giuseppe-trisciuoglio
@giuseppe-trisciuoglio
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsSandbox only
Install targets
Codex install prompt
Install the "aws-cloudformation-iam" agent skill from https://github.com/giuseppe-trisciuoglio/developer-kit/tree/main/plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-iam. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"giuseppe-trisciuoglio-aws-cloudformation-iam","task":"Install aws-cloudformation-iam","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Maintenance
fresh
18d since push
Risk
Safe to try
Quality score needs review
GitHub quality
339
72/100 Quality · 78/100 Trust
Coverage tags
Review notes
Quality score needs review · Stars/forks activity: 339 stars, 39 forks; issue activity unavailable in current metadata
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Safe to tryA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
339 GitHub stars
Repo activity
339 stars, 39 forks
Maintenance
18d since push
License
MIT
Install
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iamDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
Agent should check
Copy prompt
Task: Use aws-cloudformation-iam in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
Install command: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
LLM text format
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install?format=text
Find alternatives
/api/skills/search?q=aws-cloudformation-iam&limit=3
Agent prompt
Use aws-cloudformation-iam for this task. Review https://www.openagentskill.com/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install, then install with: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iamRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/giuseppe-trisciuoglio-aws-cloudformation-iam
LLM text
/api/registry/manifest/giuseppe-trisciuoglio-aws-cloudformation-iam?format=text
Install alias
/api/registry/install/giuseppe-trisciuoglio-aws-cloudformation-iam
Recommend
/api/registry/recommend?task=Use%20aws-cloudformation-iam%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Coding agents
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO339 GitHub stars
Stars/forks activity
CHECK339 stars, 39 forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Reduce risk
I need my agent to scan a project for security risks and summarize what needs attention.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: aws-cloudformation-iam description: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume. allowed-tools: Read, Write, Bash ---
# AWS CloudFormation IAM Security
## Overview
Use this skill to model IAM with CloudFormation in a way that stays secure, auditable, and maintainable.
The most important design concerns are: - separating trust policies from permission policies - preferring roles over long-lived users wherever possible - keeping least-privilege boundaries readable and reusable
Do not treat `SKILL.md` as a full IAM encyclopedia. Use the bundled references for larger policy examples and service-specific variants.
## When to Use
- Creating IAM roles for Lambda, ECS, EC2, Step Functions, or other AWS services - Defining inline policies, managed policies, and permission boundaries in CloudFormation - Modeling cross-account assume-role access with constrained trust policies - Exporting IAM role ARNs or managed policy ARNs to downstream stacks - Reviewing wildcard permissions, boundary drift, or role replacement risk - Creating reusable IAM stacks for platform or application teams
## Instructions
### 1. Define the trust boundary first
Identify who or what assumes the role (service principal, cross-account principal, or federated identity), then write the trust policy with explicit principals and conditions before adding permissions.
### 2. Grant the minimum permission set
Use inline policies for role-specific access; use managed policies for shared patterns across principals. Scope actions and resources tightly, and use conditions where possible.
### 3. Apply permission boundaries for delegated role creation
Use permission boundaries when teams create or extend roles in their own stacks, when guardrails are needed around privileged services (IAM, KMS, Organizations), or to separate maximum allowed permissions from application-specific policies.
Name roles and policies consistently so stack outputs and audits remain easy to trace.
### 4. Model cross-account access
For cross-account roles: trust only the exact source account or principal, add `sts:ExternalId` conditions when appropriate, keep permission and trust policies separate, and export only the ARNs that consuming accounts need.
### 5. Validate the template and policy behavior
Before rollout, use these commands to verify the template and IAM behavior:
```bash # Validate CloudFormation template syntax aws cloudformation validate-template --template-body file://template.yaml
# Preview changes before applying aws cloudformation create-change-set \ --stack-name <stack-name> \ --template-body file://template.yaml \ --change-set-type CREATE
# Simulate whether a principal can perform specific actions aws iam simulate-principal-policy \ --policy-source-arn arn:aws:iam::123456789012:role/LambdaExecutionRole \ --action-names dynamodb:GetItem dynamodb:PutItem
# Check for wildcards in IAM policies within the template aws cloudformation list-stack-resources --stack-name <stack-name> ```
After deployment, confirm policy attachments and stack outputs match the intended security model.
## Examples
### Example 1: Service role for Lambda with tightly scoped permissions
```yaml Resources: LambdaExecutionRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Principal: Service: lambda.amazonaws.com Action: sts:AssumeRole Policies: - PolicyName: DynamoDbWritePolicy PolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Action: - dynamodb:GetItem - dynamodb:PutItem Resource: !GetAtt OrdersTable.Arn ```
### Example 2: Cross-account role with an external ID condition
```yaml Resources: PartnerReadRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Principal: AWS: arn:aws:iam::123456789012:role/partner-reader Action: sts:AssumeRole Condition: StringEquals: sts:ExternalId: partner-contract-001 ```
Keep the trust relationship narrow and pair it with a separate read-only permission policy.
## Best Practices
- Prefer IAM roles over long-lived IAM users for application and automation access. - Separate trust policies from permission policies when reviewing or refactoring templates. - Use permission boundaries when delegating role creation to other teams. - Scope resources, actions, and conditions as tightly as the workload allows. - Export stable ARNs and names only when another stack truly consumes them. - Keep expanded policy libraries and edge cases in `references/` instead of bloating the root skill.
## Constraints and Warnings
- Overly broad wildcards in IAM are easy to deploy and hard to notice later. - Named IAM resources can be hard to replace safely once other systems depend on them. - IAM changes may appear successful in CloudFormation before eventual consistency settles across AWS services. - Some Identity Center or organization-wide access patterns need complementary tooling outside a single CloudFormation stack. - Misconfigured trust policies are often a bigger risk than missing permissions.
## References
- `references/examples.md` - `references/reference.md`
## Related Skills
- `aws-cloudformation-security` - `aws-cloudformation-ec2` - `aws-cloudformation-ecs` - `aws-cloudformation-lambda`
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for aws-cloudformation-iam, ready for a manual X post.
aws-cloudformation-iam: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission bo... 339 stars https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=x
Listing + install path for aws-cloudformation-iam: https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=x Install: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to giuseppe-trisciuoglio but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/audit)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)giuseppe-trisciuoglio
@giuseppe-trisciuoglio
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsSandbox only
Install targets
Codex install prompt
Install the "aws-cloudformation-iam" agent skill from https://github.com/giuseppe-trisciuoglio/developer-kit/tree/main/plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-iam. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"giuseppe-trisciuoglio-aws-cloudformation-iam","task":"Install aws-cloudformation-iam","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Maintenance
fresh
18d since push
Risk
Safe to try
Quality score needs review
GitHub quality
339
72/100 Quality · 78/100 Trust
Coverage tags
Review notes
Quality score needs review · Stars/forks activity: 339 stars, 39 forks; issue activity unavailable in current metadata
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Safe to tryA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
339 GitHub stars
Repo activity
339 stars, 39 forks
Maintenance
18d since push
License
MIT
Install
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iamDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
Agent should check
Copy prompt
Task: Use aws-cloudformation-iam in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
Install command: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
LLM text format
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install?format=text
Find alternatives
/api/skills/search?q=aws-cloudformation-iam&limit=3
Agent prompt
Use aws-cloudformation-iam for this task. Review https://www.openagentskill.com/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install, then install with: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iamRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/giuseppe-trisciuoglio-aws-cloudformation-iam
LLM text
/api/registry/manifest/giuseppe-trisciuoglio-aws-cloudformation-iam?format=text
Install alias
/api/registry/install/giuseppe-trisciuoglio-aws-cloudformation-iam
Recommend
/api/registry/recommend?task=Use%20aws-cloudformation-iam%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Coding agents
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO339 GitHub stars
Stars/forks activity
CHECK339 stars, 39 forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Reduce risk
I need my agent to scan a project for security risks and summarize what needs attention.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: aws-cloudformation-iam description: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume. allowed-tools: Read, Write, Bash ---
# AWS CloudFormation IAM Security
## Overview
Use this skill to model IAM with CloudFormation in a way that stays secure, auditable, and maintainable.
The most important design concerns are: - separating trust policies from permission policies - preferring roles over long-lived users wherever possible - keeping least-privilege boundaries readable and reusable
Do not treat `SKILL.md` as a full IAM encyclopedia. Use the bundled references for larger policy examples and service-specific variants.
## When to Use
- Creating IAM roles for Lambda, ECS, EC2, Step Functions, or other AWS services - Defining inline policies, managed policies, and permission boundaries in CloudFormation - Modeling cross-account assume-role access with constrained trust policies - Exporting IAM role ARNs or managed policy ARNs to downstream stacks - Reviewing wildcard permissions, boundary drift, or role replacement risk - Creating reusable IAM stacks for platform or application teams
## Instructions
### 1. Define the trust boundary first
Identify who or what assumes the role (service principal, cross-account principal, or federated identity), then write the trust policy with explicit principals and conditions before adding permissions.
### 2. Grant the minimum permission set
Use inline policies for role-specific access; use managed policies for shared patterns across principals. Scope actions and resources tightly, and use conditions where possible.
### 3. Apply permission boundaries for delegated role creation
Use permission boundaries when teams create or extend roles in their own stacks, when guardrails are needed around privileged services (IAM, KMS, Organizations), or to separate maximum allowed permissions from application-specific policies.
Name roles and policies consistently so stack outputs and audits remain easy to trace.
### 4. Model cross-account access
For cross-account roles: trust only the exact source account or principal, add `sts:ExternalId` conditions when appropriate, keep permission and trust policies separate, and export only the ARNs that consuming accounts need.
### 5. Validate the template and policy behavior
Before rollout, use these commands to verify the template and IAM behavior:
```bash # Validate CloudFormation template syntax aws cloudformation validate-template --template-body file://template.yaml
# Preview changes before applying aws cloudformation create-change-set \ --stack-name <stack-name> \ --template-body file://template.yaml \ --change-set-type CREATE
# Simulate whether a principal can perform specific actions aws iam simulate-principal-policy \ --policy-source-arn arn:aws:iam::123456789012:role/LambdaExecutionRole \ --action-names dynamodb:GetItem dynamodb:PutItem
# Check for wildcards in IAM policies within the template aws cloudformation list-stack-resources --stack-name <stack-name> ```
After deployment, confirm policy attachments and stack outputs match the intended security model.
## Examples
### Example 1: Service role for Lambda with tightly scoped permissions
```yaml Resources: LambdaExecutionRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Principal: Service: lambda.amazonaws.com Action: sts:AssumeRole Policies: - PolicyName: DynamoDbWritePolicy PolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Action: - dynamodb:GetItem - dynamodb:PutItem Resource: !GetAtt OrdersTable.Arn ```
### Example 2: Cross-account role with an external ID condition
```yaml Resources: PartnerReadRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Principal: AWS: arn:aws:iam::123456789012:role/partner-reader Action: sts:AssumeRole Condition: StringEquals: sts:ExternalId: partner-contract-001 ```
Keep the trust relationship narrow and pair it with a separate read-only permission policy.
## Best Practices
- Prefer IAM roles over long-lived IAM users for application and automation access. - Separate trust policies from permission policies when reviewing or refactoring templates. - Use permission boundaries when delegating role creation to other teams. - Scope resources, actions, and conditions as tightly as the workload allows. - Export stable ARNs and names only when another stack truly consumes them. - Keep expanded policy libraries and edge cases in `references/` instead of bloating the root skill.
## Constraints and Warnings
- Overly broad wildcards in IAM are easy to deploy and hard to notice later. - Named IAM resources can be hard to replace safely once other systems depend on them. - IAM changes may appear successful in CloudFormation before eventual consistency settles across AWS services. - Some Identity Center or organization-wide access patterns need complementary tooling outside a single CloudFormation stack. - Misconfigured trust policies are often a bigger risk than missing permissions.
## References
- `references/examples.md` - `references/reference.md`
## Related Skills
- `aws-cloudformation-security` - `aws-cloudformation-ec2` - `aws-cloudformation-ecs` - `aws-cloudformation-lambda`
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for aws-cloudformation-iam, ready for a manual X post.
aws-cloudformation-iam: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission bo... 339 stars https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=x
Listing + install path for aws-cloudformation-iam: https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=x Install: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to giuseppe-trisciuoglio but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/audit)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)giuseppe-trisciuoglio
@giuseppe-trisciuoglio
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsSandbox only
Install targets
Codex install prompt
Install the "aws-cloudformation-iam" agent skill from https://github.com/giuseppe-trisciuoglio/developer-kit/tree/main/plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-iam. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"giuseppe-trisciuoglio-aws-cloudformation-iam","task":"Install aws-cloudformation-iam","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Maintenance
fresh
18d since push
Risk
Safe to try
Quality score needs review
GitHub quality
339
72/100 Quality · 78/100 Trust
Coverage tags
Review notes
Quality score needs review · Stars/forks activity: 339 stars, 39 forks; issue activity unavailable in current metadata
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Safe to tryA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
339 GitHub stars
Repo activity
339 stars, 39 forks
Maintenance
18d since push
License
MIT
Install
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iamDo not use when
Alternative
168.6K Stars
npx skills add mattpocock/skills --skill code-review
Alternative
40.8K Stars
npx skills add appsmithorg/appsmith
Alternative
175.7K Stars
npx skills add mattpocock/skills --skill implement
Alternative
30.9K Stars
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
Agent should check
Copy prompt
Task: Use aws-cloudformation-iam in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20aws-cloudformation-iam%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
Install command: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install
LLM text format
/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install?format=text
Find alternatives
/api/skills/search?q=aws-cloudformation-iam&limit=3
Agent prompt
Use aws-cloudformation-iam for this task. Review https://www.openagentskill.com/api/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/install, then install with: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iamRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/giuseppe-trisciuoglio-aws-cloudformation-iam
LLM text
/api/registry/manifest/giuseppe-trisciuoglio-aws-cloudformation-iam?format=text
Install alias
/api/registry/install/giuseppe-trisciuoglio-aws-cloudformation-iam
Recommend
/api/registry/recommend?task=Use%20aws-cloudformation-iam%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Prototype with this skill first; keep a fallback candidate ready.
Role in stack
Fallback candidate
Primary fit
Coding agents
Trust label
Prototype first
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
INFO339 GitHub stars
Stars/forks activity
CHECK339 stars, 39 forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Reduce risk
I need my agent to scan a project for security risks and summarize what needs attention.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
--- name: aws-cloudformation-iam description: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission boundaries, and trust relationships. Use when modeling least-privilege access, cross-account assumptions, service roles, or reusable IAM stacks that other CloudFormation templates consume. allowed-tools: Read, Write, Bash ---
# AWS CloudFormation IAM Security
## Overview
Use this skill to model IAM with CloudFormation in a way that stays secure, auditable, and maintainable.
The most important design concerns are: - separating trust policies from permission policies - preferring roles over long-lived users wherever possible - keeping least-privilege boundaries readable and reusable
Do not treat `SKILL.md` as a full IAM encyclopedia. Use the bundled references for larger policy examples and service-specific variants.
## When to Use
- Creating IAM roles for Lambda, ECS, EC2, Step Functions, or other AWS services - Defining inline policies, managed policies, and permission boundaries in CloudFormation - Modeling cross-account assume-role access with constrained trust policies - Exporting IAM role ARNs or managed policy ARNs to downstream stacks - Reviewing wildcard permissions, boundary drift, or role replacement risk - Creating reusable IAM stacks for platform or application teams
## Instructions
### 1. Define the trust boundary first
Identify who or what assumes the role (service principal, cross-account principal, or federated identity), then write the trust policy with explicit principals and conditions before adding permissions.
### 2. Grant the minimum permission set
Use inline policies for role-specific access; use managed policies for shared patterns across principals. Scope actions and resources tightly, and use conditions where possible.
### 3. Apply permission boundaries for delegated role creation
Use permission boundaries when teams create or extend roles in their own stacks, when guardrails are needed around privileged services (IAM, KMS, Organizations), or to separate maximum allowed permissions from application-specific policies.
Name roles and policies consistently so stack outputs and audits remain easy to trace.
### 4. Model cross-account access
For cross-account roles: trust only the exact source account or principal, add `sts:ExternalId` conditions when appropriate, keep permission and trust policies separate, and export only the ARNs that consuming accounts need.
### 5. Validate the template and policy behavior
Before rollout, use these commands to verify the template and IAM behavior:
```bash # Validate CloudFormation template syntax aws cloudformation validate-template --template-body file://template.yaml
# Preview changes before applying aws cloudformation create-change-set \ --stack-name <stack-name> \ --template-body file://template.yaml \ --change-set-type CREATE
# Simulate whether a principal can perform specific actions aws iam simulate-principal-policy \ --policy-source-arn arn:aws:iam::123456789012:role/LambdaExecutionRole \ --action-names dynamodb:GetItem dynamodb:PutItem
# Check for wildcards in IAM policies within the template aws cloudformation list-stack-resources --stack-name <stack-name> ```
After deployment, confirm policy attachments and stack outputs match the intended security model.
## Examples
### Example 1: Service role for Lambda with tightly scoped permissions
```yaml Resources: LambdaExecutionRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Principal: Service: lambda.amazonaws.com Action: sts:AssumeRole Policies: - PolicyName: DynamoDbWritePolicy PolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Action: - dynamodb:GetItem - dynamodb:PutItem Resource: !GetAtt OrdersTable.Arn ```
### Example 2: Cross-account role with an external ID condition
```yaml Resources: PartnerReadRole: Type: AWS::IAM::Role Properties: AssumeRolePolicyDocument: Version: "2012-10-17" Statement: - Effect: Allow Principal: AWS: arn:aws:iam::123456789012:role/partner-reader Action: sts:AssumeRole Condition: StringEquals: sts:ExternalId: partner-contract-001 ```
Keep the trust relationship narrow and pair it with a separate read-only permission policy.
## Best Practices
- Prefer IAM roles over long-lived IAM users for application and automation access. - Separate trust policies from permission policies when reviewing or refactoring templates. - Use permission boundaries when delegating role creation to other teams. - Scope resources, actions, and conditions as tightly as the workload allows. - Export stable ARNs and names only when another stack truly consumes them. - Keep expanded policy libraries and edge cases in `references/` instead of bloating the root skill.
## Constraints and Warnings
- Overly broad wildcards in IAM are easy to deploy and hard to notice later. - Named IAM resources can be hard to replace safely once other systems depend on them. - IAM changes may appear successful in CloudFormation before eventual consistency settles across AWS services. - Some Identity Center or organization-wide access patterns need complementary tooling outside a single CloudFormation stack. - Misconfigured trust policies are often a bigger risk than missing permissions.
## References
- `references/examples.md` - `references/reference.md`
## Related Skills
- `aws-cloudformation-security` - `aws-cloudformation-ec2` - `aws-cloudformation-ecs` - `aws-cloudformation-lambda`
Source provenance
Decision snapshot
recent repository activity
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for aws-cloudformation-iam, ready for a manual X post.
aws-cloudformation-iam: Provides AWS CloudFormation patterns for IAM roles, policies, managed policies, permission bo... 339 stars https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=x
Listing + install path for aws-cloudformation-iam: https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=x Install: npx skills add giuseppe-trisciuoglio/developer-kit --skill aws-cloudformation-iam
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to giuseppe-trisciuoglio but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam/audit)
[](https://www.openagentskill.com/skills/giuseppe-trisciuoglio-aws-cloudformation-iam?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)giuseppe-trisciuoglio
@giuseppe-trisciuoglio
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Code Review
Review a branch or diff against repository standards and the originating spec in two independent analysis passes.
168.6K StarsAppsmith
Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
40.8K StarsImplement
Implement work from an approved spec or ticket set, run focused and full tests, invoke code review, and commit the result to the current branch.
175.7K StarsVercel React Best Practices
React and Next.js performance guidance for writing, reviewing, and refactoring production UI code.
30.9K StarsPermission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness