AWS Guardrails

AWS Guardrails is a skill for Claude Code, Codex from niels-emmer/myace. It costs 37 tokens per session (581 once invoked), scanned A, original, MIT.

An AWS governance checklist for setting organisation-wide restrictions across multiple AWS accounts. It explains when to use service control policies, resource control policies, or declarative policies, and how to introduce them safely.

In plain words
What is it for?
Use it when designing, reviewing, or rolling out AWS controls across accounts, including restrictions on regions, public access, encryption, and security settings.
Why use it?
It helps prevent unsafe changes, such as disabling security services or exposing resources, without accidentally blocking valid workloads. It also clarifies that these policies limit access but do not grant it.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions OpenCode.

Good fit Use it when designing, reviewing, or rolling out AWS controls across accounts, including restrictions on regions, public access, encryption, and security settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niels-emmer/myace/aws-guardrails
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add niels-emmer/myace --skill aws-guardrails
Clone the repo
git clone --depth 1 https://github.com/niels-emmer/myace

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for AWS Guardrails

README.md
[![agentmods](https://agentmods.dev/badge/skills/niels-emmer/myace/aws-guardrails/github.svg)](https://agentmods.dev/skills/niels-emmer/myace/aws-guardrails)
Your own site
<a href="https://agentmods.dev/skills/niels-emmer/myace/aws-guardrails"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/aws-guardrails/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for AWS Guardrails

Your own site · 80×15
<a href="https://agentmods.dev/skills/niels-emmer/myace/aws-guardrails"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/aws-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 581 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.00581
Opus 5.5 $0.00015 $0.00232
Sonnet 5.5 $0.00007 $0.00116
Haiku 4.5 $0.00004 $0.00058

Measured yesterday against content hash 7967cba57578, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

AWS Guardrails scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

collections/additional/aws/skills/aws-guardrails/SKILL.md · 31 lines

How it starts

The opening of the file, as written. The whole thing — 31 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Choose the right organisation-level control for each invariant and roll it out without breaking workloads.

When to use it

When adding, changing or reviewing an SCP, RCP or declarative policy, or when deciding how to enforce an invariant across accounts.

Checklist

  • Pick the layer: SCPs cap what principals in member accounts can do; resource control policies (RCPs, launched November 2024) cap what can be done to resources, such as who outside your organisation can access them; declarative policies set a service's baseline configuration in the service's control plane. None of them grants permissions: effective access is the intersection with identity and resource policies.
  • Typical SCP guardrails: deny leaving the organisation, deny disabling or altering the organisation trail, GuardDuty, Config and Security Hub, deny root-user actions in member accounts, deny unapproved regions with an exemption list for global services, deny creating IAM users and long-lived access keys where federation is the standard.
  • Typical RCP guardrails: restrict access to S3, KMS, SQS and similar resources to your organisation with aws:PrincipalOrgID, require TLS with aws:SecureTransport, with documented exceptions for intentional public or partner access.
  • Management account: SCPs and RCPs do not restrict it, so keep workloads out of it and protect it with other controls.
  • Break-glass: exempt a named emergency role through a condition on the role ARN, alarm on its use, and test it.
  • Roll out safely: author in code, attach first to a test OU, review CloudTrail and IAM Access Analyzer for would-be denials, then widen one OU at a time. Deny policies can block services in surprising ways, which AWS documentation warns about.
  • Keep it small: policy size and attachment quotas apply (check current quotas), so use few, well-named policies with documented purpose rather than many narrow ones.
  • Record: each guardrail has an owner, the invariant it enforces, the exception process and a link to the exception register.

Read the full file on GitHub · 31 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 31 lines · 37 tokens per session scan A 7967cba57578

Subscribe to this mod's changes

AWS Guardrails is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 581 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-29.

Related

AWS Guardrails compared with skills from other repositories

AWS Guardrails next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
AWS Guardrailsniels-emmer/myaceSkill12d agoMITA37Claude Code, Codex
cis-aws-foundations-2.1.2CyberStrikeus/CyberStrikeSkill3.8ktodayAGPL-3.0A21Claude Code, Codex
idiomatic-goTypeFox/agent-skillsSkill51mo agoMITA137Claude Code
eclipse-license-checkTypeFox/agent-skillsSkill51mo agoMITA110Claude Code
go-documentationTypeFox/agent-skillsSkill51mo agoMITA98Claude Code
publish-vscode-extensionTypeFox/agent-skillsSkill51mo agoMITA107Claude Code
domainmodel-dslTypeFox/agent-skillsSkill51mo agoMITA68Claude Code