[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AA7EFF43WDS6W4D72QCNVT":3,"skill-same:01M7AA7EFF43WDS6W4D72QCNVT":148},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7AA7EFF43WDS6W4D72QCNVT","multi-account-governance-automator",null,"Designs AWS multi-account governance automation spanning Organizations (OU hierarchy, account creation, SCP guardrail\u002Fthrottle\u002Fdeny strategies), Control Tower (landing zone, preventive + detective guardrails, Account Factory Factory), delegated administration (audit + log-archive accounts, GuardDuty\u002FSecurity Hub\u002FConfig delegated admin), AWS Config multi-account aggregator, CloudTrail organization trail, Security Hub aggregator, IAM Identity Center (permission sets, SSO across accounts), account vending machine (Control Tower Account Factory or Service Catalog + Lambda baseline-stack), AWS Resource Explorer (cross-account search index), and RAM cross-account resource sharing. Emits AUTOMATED with deployment plan or MANUAL_STEP_REQUIRED with the specific gap (e.g., root email + billing alarm + SCP inheritance order). Use when standing up or hardening a multi-account AWS organization.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: multi-account-governance-automator\ndescription: Designs AWS multi-account governance automation spanning Organizations (OU hierarchy, account creation, SCP guardrail\u002Fthrottle\u002Fdeny strategies), Control Tower (landing zone, preventive + detective guardrails, Account Factory Factory), delegated administration (audit + log-archive accounts, GuardDuty\u002FSecurity Hub\u002FConfig delegated admin), AWS Config multi-account aggregator, CloudTrail organization trail, Security Hub aggregator, IAM Identity Center (permission sets, SSO across accounts), account vending machine (Control Tower Account Factory or Service Catalog + Lambda baseline-stack), AWS Resource Explorer (cross-account search index), and RAM cross-account resource sharing. Emits AUTOMATED with deployment plan or MANUAL_STEP_REQUIRED with the specific gap (e.g., root email + billing alarm + SCP inheritance order). Use when standing up or hardening a multi-account AWS organization.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan authoring. Live deployment uses aws organizations create-organization, create-organizational-unit, create-account, create-policy, attach-policy, move-account, enable-policy-type, aws controltower create-landing-zone, create-account, aws configservice put-configuration-aggregator, put-aggregation-authorization, aws cloudtrail create-organization-trail (or update), aws...\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '4'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Governance\n  task_type: automate\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: AUTOMATED | MANUAL_STEP_REQUIRED\n  when_to_use: Standing up a new multi-account AWS organization, designing an OU hierarchy and SCP baseline, deploying or hardening a Control Tower landing zone, wiring GuardDuty\u002FSecurity Hub\u002FConfig as delegated administrators in an audit account, centralizing CloudTrail and Config aggregation, rolling out IAM Identity Center permission sets across member accounts, building an account vending machine, scoping SCP guardrails vs throttle vs deny, or hardening RAM cross-account shares.\n  when_not_to_use: Single-account hardening with no cross-account component (use iam-hardening skill)., Tag governance in isolation (use tag-governance-automator — SCP TagPolicy is its surface)., Incident response automation (use incident-response-automator — containment, not governance)., Cost optimization across an org (use FinOps skills — this skill is structure + posture, not spend).\n  activation_triggers: multi-account governance, OU hierarchy design, SCP baseline guardrail, Control Tower landing zone, Account Factory vending, Config aggregator cross-account, Security Hub delegated admin, CloudTrail organization trail, IAM Identity Center permission set, Resource Explorer cross-account index, RAM resource share cross-account\n  invocation_schema: 'Input: either (a) a governance requirement (\"set up a 50-account org with audit + log-archive\", \"design SCP guardrails that block root account actions\", \"deploy a Control Tower landing zone with GuardDuty delegated to audit\"), OR (b) an existing Organizations \u002F Control Tower \u002F Config aggregator \u002F Identity Center configuration to audit and harden. Output: deterministic GOVERNANCE block per requirement — STRUCTURE\u002FCONTROLS\u002FDELEGATION\u002FSHARING\u002FVERDICT — where VERDICT is AUTOMATED (deployment plan complete with all gates passing) or MANUAL_STEP_REQUIRED (specific gap cited, e.g., missing SCP inheritance review, stale service control policy, unaggregated member account).'\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  keywords: AWS Organizations, OU hierarchy, SCP, service control policy, Control Tower, landing zone, guardrails, Account Factory, delegated administration, audit account, log archive, Config aggregator, CloudTrail organization trail, Security Hub aggregator, GuardDuty delegated admin, IAM Identity Center, permission set, account vending machine, SCP strategy, Resource Explorer, RAM resource share\n  tags: aws-organizations, control-tower, scp, governance, iam-identity-center, config-aggregator, security-hub, cloudtrail, automate\n---\n\n# Multi-Account Governance Automator\n\n## What this skill does\n\nDesigns automated AWS multi-account governance across four layers:\n**structure** (Organizations OU tree + accounts + Control Tower landing\nzone), **controls** (SCPs and guardrails that constrain what accounts can\ndo), **delegation** (security + logging services centralized in audit and\nlog-archive accounts via delegated administration), and **visibility**\n(Config aggregator, Security Hub aggregator, CloudTrail org trail, Resource\nExplorer). The fifth layer — **sharing** — covers RAM and Identity Center\nfor controlled cross-account resource and access sharing.\n\nThe verdict is binary: **AUTOMATED** when the design covers all four\nlayers, includes a documented SCP inheritance order, a tested landing-zone\nor baseline-stack deployment, scoped delegated-admin roles, and an\naggregation coverage check across every member account; **MANUAL_STEP_REQUIRED**\nwhen any layer has a gap (e.g., a member account not in the Config\naggregator, an SCP attached to the wrong OU, Identity Center without a\nfallback break-glass path).\n\n## Quick navigation\n\n| # | Section | Jump when |\n|---|---|---|\n| 1 | [Pre-flight gate](#pre-flight-governance-spec-gate) | Starting any new org design — blocks unsafe specs |\n| 2 | [Decision tree](#decision-tree--landing-surface) | Control Tower vs raw Organizations vs Landing Zone v2 |\n| 3 | [OU hierarchy](#ou-hierarchy) | Designing the org tree + SCP inheritance |\n| 4 | [SCP strategies](#scp-strategies--guardrail-vs-throttle-vs-deny) | Writing effective service control policies |\n| 5 | [Control Tower](#control-tower-landing-zone) | Landing zone, guardrails, Account Factory |\n| 6 | [Delegated administration](#delegated-administration) | Audit account, GuardDuty\u002FSH\u002FConfig delegation |\n| 7 | [Config aggregator](#aws-config-multi-account-aggregator) | Cross-account compliance visibility |\n| 8 | [CloudTrail org trail](#cloudtrail-organization-trail) | Centralized API logging |\n| 9 | [Security Hub aggregator](#security-hub-aggregator) | Cross-account findings |\n| 10 | [IAM Identity Center](#iam-identity-center) | Permission sets, SSO, break-glass |\n| 11 | [Account vending machine](#account-vending-machine) | Automated account creation with baseline |\n| 12 | [Resource Explorer + RAM](#resource-explorer--ram-cross-account) | Cross-account search + sharing |\n| 13 | [STRICT output contract](#output-format-strict-output-contract) | The exact GOVERNANCE block the skill emits |\n| 14 | [NEVER anti-patterns](#never-these-things) | The hardcoded list of governance taboos |\n| 15 | [Expert heuristic](#expert-heuristic-callouts) | Non-obvious behaviors that change the design |\n| 16 | [Recent AWS features](#recent-aws-features-2024-2026) | Landing Zone v2, CT customizations, Resource Explorer |\n\n## Mindset\n\n**One-line takeaway:** multi-account governance is a *blast-radius control*\nsystem — the OU tree and SCPs determine what an attacker (or careless\nadmin) can reach from any compromised account. A flat org with no SCPs\ngives every account the same blast radius as the management account; a\ntiered org with deny-list SCPs at the root and allow-list SCPs at the\nworkload OU shrinks blast radius to one account.\n\n- **SCP inheritance is cumulative and intersectional.** A policy attached\n  to the root intersects with every policy attached down the OU chain to\n  the account. An `Allow *` at the root does NOT override a `Deny` at a\n  child OU — `Deny` always wins.\n- **The management account is NOT governed by SCPs.** SCPs apply to\n  member accounts only. Protect it with MFA, break-glass procedures, and\n  zero standing access — never as a workload account.\n- **Control Tower guardrails are SCPs + Config rules + Lambda.** \"Strongly\n  recommended\" guardrails are SCPs at the root; \"elective\" guardrails are\n  SCPs at specific OUs.\n\n## Pre-flight: governance spec gate (run before generation)\n\n| Attribute | Required | Effect on plan |\n|---|---|---|\n| `org_design_intent` | YES | New org \u002F migrate-to-Control-Tower \u002F harden existing |\n| `account_count_target` | YES | Determines OU depth and SCP fan-out |\n| `compliance_framework` | Recommended | PCI\u002FSOC\u002FHIPAA\u002FFedRAMP drives mandatory SCP set |\n| `existing_landing_zone` | For audit mode | When provided, skip generation and run the layer gates |\n| `audit_account_id` | Recommended | Required for delegation layer gate |\n| `log_archive_account_id` | Recommended | Required for CloudTrail centralization |\n\n**If the spec is incomplete**, output the MANUAL_STEP_REQUIRED block:\n\n```text\nSTRUCTURE: \u003Cunknown>\nCONTROLS: \u003Cunknown>\nDELEGATION: \u003Cunknown>\nSHARING: \u003Cunknown>\nVERDICT: MANUAL_STEP_REQUIRED\nREASON: Spec is missing required fields (\u003Clist>).\nREQUIRED:\n  - org_design_intent (new | migrate | harden)\n  - account_count_target (integer)\nREMEDIATION: Provide intent and target account count. Example:\n  \"stand up a 50-account org with audit + log-archive, PCI compliance\"\n  maps to org_design_intent=new, account_count_target=50,\n  compliance_framework=PCI.\n```\n\n**Live-account pre-flight checks (skip for offline authoring):**\n1. Verify Organizations is enabled: `aws organizations describe-organization`.\n2. Verify all features are enabled (not just consolidated billing):\n   `aws organizations describe-organization --query 'Organization.FeatureSet'` must be `ALL`.\n3. Verify the management account root has MFA + no access keys.\n4. Verify Control Tower is available (look for\n   `aws controltower list-landing-zones` returning non-empty, or plan to create).\n\n## Decision tree — landing surface\n\n```\nSTART\n  ├─ greenfield org, want AWS-managed baseline? ──► Control Tower Landing Zone\n  ├─ greenfield org, want full control? ─────────► Raw Organizations + custom SCPs + Code Pipeline baseline\n  ├─ existing org + already on Control Tower? ────► Harden: Landing Zone v2 drift detection, custom SCPs\n  ├─ existing org + raw Organizations? ───────────► Migrate to CT (if eligible) OR add CT-equivalent baseline\n  └─ (unrecognized intent) ───────────────────────► MANUAL_STEP_REQUIRED with mapping hint\n```\n\n- **Control Tower:** preferred for greenfield. Provisions audit +\n  log-archive accounts, root + OU SCPs, Account Factory, Identity Center,\n  and a CloudTrail org trail in one orchestrated deployment.\n- **Raw Organizations + custom:** preferred when you need a non-CT\n  management region, custom account baselines, or a CI\u002FCD-driven model.\n- **Landing Zone v2 (2024-2025):** if already on CT, upgrade for drift\n  detection, customizable guardrails, and lifecycle controls.\n\n## OU hierarchy\n\nDesign the OU tree before any SCP work. Three canonical patterns:\n\n### Pattern A — Functional (small orgs, \u003C20 accounts)\n```\nroot\n├── Security (audit, log-archive)\n├── SharedServices (network, IAM, CI\u002FCD)\n├── Workloads-Prod\n├── Workloads-NonProd\n└── Sandboxes\n```\n\n### Pattern B — Business-unit + environment (medium orgs, 20-200)\n```\nroot\n├── Security\n├── Infrastructure\n├── BusinessUnit-A\n│   ├── Prod \u002F NonProd \u002F Sandbox\n├── BusinessUnit-B\n│   ├── Prod \u002F NonProd\n└── Suspended (quarantine OU for compromised accounts)\n```\n\n### Pattern C — OU-per-tenant (SaaS, hundreds-thousands)\n```\nroot\n├── Platform\n├── Tenants-Prod \u002F Tenants-NonProd\n```\n\n**Rules:** one OU per environment per BU (never mix prod\u002Fnonprod in one\naccount). Always have a `Suspended` OU with a Deny-all SCP for\ncompromised accounts. Keep OU depth \u003C= 5.\n\n```bash\nROOT_ID=$(aws organizations list-roots --query 'Roots[0].Id' --output text)\nSEC_OU=$(aws organizations create-organizational-unit \\\n  --parent-id $ROOT_ID --name Security \\\n  --query 'OrganizationalUnit.Id' --output text)\n```\n\n## SCP strategies — guardrail vs throttle vs deny\n\n### 1. Guardrail (prevent specific dangerous actions)\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"GuardrailDenyLeaveOrg\",\n      \"Effect\": \"Deny\",\n      \"Action\": [\"organizations:LeaveOrganization\"],\n      \"Resource\": \"*\"\n    },\n    {\n      \"Sid\": \"GuardrailDenyRootActions\",\n      \"Effect\": \"Deny\",\n      \"NotAction\": [\"iam:CreateVirtualMFADevice\", \"iam:EnableRootMFA\", \"iam:Get*\"],\n      \"Resource\": \"*\",\n      \"Condition\": {\"StringLike\": {\"aws:PrincipalArn\": [\"arn:aws:iam::*:root\"]}}\n    }\n  ]\n}\n```\nAttach at the **root** — every account inherits.\n\n### 2. Throttle (limit scale, not block)\n```json\n{\n  \"Sid\": \"ThrottleRegions\",\n  \"Effect\": \"Deny\",\n  \"Action\": [\"ec2:RunInstances\", \"rds:CreateDBInstance\"],\n  \"Resource\": \"*\",\n  \"Condition\": {\"StringNotEquals\": {\"aws:RequestedRegion\": [\"us-east-1\", \"eu-west-1\"]}}\n}\n```\nUse to constrain regions, instance types, or service quotas across an OU.\n\n### 3. Deny-list (explicitly forbid services)\n```json\n{\n  \"Sid\": \"DenyUnusedServices\",\n  \"Effect\": \"Deny\",\n  \"Action\": [\"alexaforbusiness:*\", \"qldb:*\", \"macie2:*\"],\n  \"Resource\": \"*\"\n}\n```\n\n**SCP evaluation order:** Root -> parent OU -> child OU -> account. Deny\nalways wins over Allow. Multiple SCPs at the same level are intersected.\nA policy at the root applies to ALL member accounts (NOT the management\naccount).\n\n```bash\naws organizations create-policy --type SERVICE_CONTROL_POLICY \\\n  --name guardrail-baseline \\\n  --content file:\u002F\u002Fguardrail-scp.json\naws organizations attach-policy --policy-id \u003Cid> --target-id \u003Croot-id>\n```\n\n## Control Tower landing zone\n\nControl Tower orchestrates a full governance baseline in one deployment.\n\n**What it provisions:** two foundational accounts (`audit` for Config\naggregator + Security Hub + GuardDuty delegated admin; `log-archive` for\nCloudTrail + Config history S3 buckets), guardrails (root-level preventive\nSCPs + Config detective rules), Account Factory (Service Catalog product\nthat vends new accounts with baseline auto-deployed), and IAM Identity\nCenter (SSO across member accounts).\n\n### Landing Zone v2 (2024-2025)\nLanding Zone v2 creation command and capability notes (drift detection, customizable guardrails, Account Factory lifecycle controls): moved verbatim to [references\u002Fcontrol-tower-landing-zone.md](references\u002Fcontrol-tower-landing-zone.md).\nSee that reference for the full LZ v2 architecture and failure modes.\n\n### Create a new account via Account Factory\nAccount Factory account-creation command and baseline-inheritance notes: moved verbatim to [references\u002Fcontrol-tower-landing-zone.md](references\u002Fcontrol-tower-landing-zone.md).\nWhat the landing zone provisions is summarised above; the full workflow lives in the reference.\n\n## Delegated administration\n\nCentralize security and logging services in the audit account. NEVER run\nGuardDuty \u002F Security Hub \u002F Config admin from the management account —\nthe management account should hold no workload.\n\nDelegated-admin enablement commands (GuardDuty, Security Hub, Config aggregator): moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nAlways delegate to the audit account — see the NEVER list below.\n\nDetective \u002F Macie \u002F Access Analyzer follow the same\n`enable-organization-admin-account` pattern. Detective requires GuardDuty\nas a prerequisite.\n\n## AWS Config multi-account aggregator\n\nThe aggregator lives in the audit account. Use\n`OrganizationAggregationSource` (NOT `AccountAggregationSources` list) —\norg source auto-discovers new member accounts; account sources require\nmanual add per account.\n\n**Verify coverage:** for every member account, ensure the Config recorder\nis ON and delivering. A member without a recorder contributes zero\ncompliance data to the aggregator — silent gap.\n\nConfig recorder coverage verification commands: moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nIsRecording must be true and LastStatus SUCCESS in every member account.\n\n## CloudTrail organization trail\n\nOrganization trail creation command: moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nThe gotchas (org bucket policy, KMS) remain below.\n\n**Gotchas:** the log-archive S3 bucket needs an org-level bucket policy\nallowing `s3:PutObject` from every member account's\n`cloudtrail.amazonaws.com` service principal — use `aws:PrincipalOrgID`\ncondition (never enumerate account IDs). The KMS key needs a key policy\nallowing member accounts to `kms:GenerateDataKey` for CloudTrail — same\n`aws:PrincipalOrgID` pattern. One org trail covers all members + all\nregions. Do NOT also create per-account trails — duplicate events, double\ncost.\n\n## Security Hub aggregator\n\nSecurity Hub aggregator creation command: moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nAggregation semantics (region linking, cross-region lag) remain below.\n\nFindings from member accounts in all linked regions aggregate to the\naudit account. The aggregator runs every 30 minutes by default. Verify\nevery member account has Security Hub enabled — a member with Hub\ndisabled does not send findings (silent gap).\n\n## IAM Identity Center\n\nIdentity Center (formerly AWS SSO) is the preferred cross-account access\nlayer. NEVER use cross-account IAM role assumption as the primary access\nmodel at scale.\n\nIdentity Center permission-set creation and assignment commands: moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nKeep the break-glass path noted below.\n\n**Break-glass path:** always have at least one permission set assigned to\nan emergency-only group that grants `AdministratorAccess` on the\nmanagement account. Store credentials in a sealed envelope. Test\nquarterly. Identity Center outages otherwise lock you out of the org.\n\n## Account vending machine\n\nThree patterns, in order of preference:\n\n1. **Control Tower Account Factory (preferred):** `aws controltower\n   create-account`. Auto-deploys baseline, enrolls in Identity Center,\n   attaches guardrails.\n2. **Service Catalog + Lambda (not on CT):** SC product backed by\n   CloudFormation that creates the account, deploys baseline resources,\n   enrolls in the aggregator. Trigger via `ProvisionProduct`.\n3. **Organizations `create-account` + CodePipeline (raw):** Pipeline\n   waits for `AccountStatus=ACTIVE`, assumes the new account's\n   `OrganizationAccountAccessRole`, deploys the baseline via StackSets.\n\nAccount-vending commands (Account Factory and alternatives): moved verbatim to [references\u002Fcontrol-tower-landing-zone.md](references\u002Fcontrol-tower-landing-zone.md).\nPattern preferences and the required new-account baseline remain below.\n\n**Required baseline in every new account:** CloudTrail (verify, do not\nre-create), Config recorder + delivery channel, Security Hub enabled,\ndefault VPC removed or hardened, AWS Backup vault, SNS topic for\naccount-level alerts, cross-account admin IAM role.\n\n## Resource Explorer + RAM cross-account\n\n### AWS Resource Explorer (2024-2025)\nResource Explorer setup commands (local + aggregator indexes) and use cases: moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nNote the 36-hour cold-start caveat before relying on it.\n\n### RAM cross-account resource sharing\n```bash\naws ram create-resource-share \\\n  --name share-transit-gateway \\\n  --resource-arns arn:aws:ec2:us-east-1:\u003Caccount>:transit-gateway\u002Ftgw-xxx \\\n  --principals \u003Cmember-account-id> \\\n  --allow-external-principals false\n```\nUse for Transit Gateway sharing, License Manager, Route 53 Resolver\nrules, subnets. Default `allow-external-principals=false` restricts to\norg members only.\n\n## Output format (STRICT output contract)\n\n```text\nSTRUCTURE:\n  Org status: \u003Call-features | consolidated-billing-only>\n  OU depth: \u003Cinteger>\n  Foundational accounts: audit=\u003Cid>, log-archive=\u003Cid>\n  Management account MFA: \u003Cyes\u002Fno>\nCONTROLS:\n  - [PASS|FAIL] Root-level guardrail SCP attached\n  - [PASS|FAIL] SCP denies organizations:LeaveOrganization\n  - [PASS|FAIL] SCP denies root-account actions except IAM MFA setup\n  - [PASS|FAIL] Region-throttle SCP attached at workload OU\n  - [PASS|FAIL] SCP inheritance reviewed (Deny wins over Allow)\nDELEGATION:\n  - [PASS|FAIL] GuardDuty delegated to audit account \u003Cid>\n  - [PASS|FAIL] Security Hub delegated to audit account \u003Cid>\n  - [PASS|FAIL] Config aggregator in audit account (org source, AllRegions)\n  - [PASS|FAIL] CloudTrail org trail to log-archive account\nSHARING:\n  - [PASS|FAIL] IAM Identity Center with permission sets\n  - [PASS|FAIL] Break-glass path documented + tested\n  - [PASS|FAIL] Resource Explorer aggregator index\n  - [PASS|FAIL] RAM shares scoped to org (allow-external-principals=false)\nVERDICT: AUTOMATED | MANUAL_STEP_REQUIRED\nFINDINGS:\n  - [INFO|WARN|HIGH|CRITICAL] \u003Cobservation>\nREMEDIATION:\n  1. \u003Cstep 1>\n  2. \u003Cstep 2>\n```\n\n### Worked example — AUTOMATED full design\n```text\nSTRUCTURE:\n  Org status: all-features\n  OU depth: 3 (root -> BU -> environment)\n  Foundational accounts: audit=111111111111, log-archive=222222222222\n  Management account MFA: yes (virtual MFA, no access keys)\nCONTROLS:\n  - [PASS] Guardrail SCP \"deny-leave-org\" attached at root r-abc0\n  - [PASS] SCP denies organizations:LeaveOrganization\n  - [PASS] SCP denies root-account actions except iam:CreateVirtualMFADevice\n  - [PASS] Region throttle SCP at Workloads-Prod OU (us-east-1, eu-west-1 only)\n  - [PASS] SCP inheritance reviewed — Deny at child OU overrides root Allow\nDELEGATION:\n  - [PASS] GuardDuty delegated to audit account 111111111111\n  - [PASS] Security Hub delegated to audit account 111111111111 (CIS + Foundational)\n  - [PASS] Config aggregator OrgConfigAggregator in audit account (org source, AllRegions=true)\n  - [PASS] CloudTrail org-trail delivering to log-archive S3 bucket org-trail-logs-2222\nSHARING:\n  - [PASS] IAM Identity Center with AWSAdministratorAccess (1h) + AWSReadOnlyAccess (4h)\n  - [PASS] Break-glass path: EmergencyAdmin permission set, sealed envelope, tested 2026-07-15\n  - [PASS] Resource Explorer aggregator index in audit account, view CrossAccountView\n  - [PASS] RAM shares scoped to org (allow-external-principals=false on all 4 shares)\nVERDICT: AUTOMATED\nFINDINGS:\n  - [INFO] All 47 member accounts enrolled in GuardDuty, Security Hub, Config aggregator\n  - [WARN] Detective not enabled — enable if investigation graph is a requirement\nREMEDIATION:\n  1. Enable Detective: aws detective enable-organization-admin-account --admin-account-id 111111111111\n```\n\n### Worked example — MANUAL_STEP_REQUIRED (SCP gap)\nFull MANUAL_STEP_REQUIRED worked example: moved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md).\nThe AUTOMATED example above is the primary contract demonstration.\n\n## NEVER (these things)\n\n- NEVER run GuardDuty, Security Hub, or Config admin from the management\n  account. The management account is the highest-value target — coupling\n  security tooling to it means a compromise of the management account\n  also blinds the security team. Delegate to the audit account.\n\n- NEVER attach an SCP to a member account directly when the intent is\n  org-wide. Attach at the root for org-wide; at an OU for org-subtree.\n  Account-level SCPs do not scale and produce drift.\n\n- NEVER assume `Allow *` at the root overrides a `Deny` at a child OU.\n  SCP evaluation is intersectional — Deny always wins. Operators who\n  debug \"why can't this account run EC2\" often miss a Deny SCP three\n  levels up the OU tree.\n\n- NEVER rely on cross-account IAM assume-role as the primary access\n  model at org scale. It does not federate with the corporate IdP, has\n  no central permission management, and rotates credentials poorly. Use\n  IAM Identity Center.\n\n- NEVER skip the break-glass path. Identity Center outages (or a\n  misconfigured IdP federation) can lock you out of the entire org.\n  Always have an emergency permission set on the management account,\n  tested quarterly, credentials in a sealed envelope.\n\n## Expert heuristic callouts\n\nExpert heuristic callouts (SCP condition scoping, management-account quirks, latencies, ARN regionality, silent failures, drift gaps): moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad before designing SCPs or account-creation automation.\n\n## Pre-flight safety checks\n\nPre-flight safety checks (confirmation gate, dry-run SCP attachment, management-account hardening, SCP snapshots, aggregator verification): moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nThe CONFIRM gate is mandatory before any state-changing operation.\n\n## Edge-case handling\n\nEdge-case catalog (member leaves org, SCP conflicts, drift, aggregator coverage gaps): moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nConsult when the design hits a non-standard org state.\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features (2024-2026): moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nCheck before recommending Resource Explorer, RAM, or LZ v2 capabilities.\n\n## Domain\n\nAWS CloudOps \u002F Multi-Account Governance Automation.\n\n## AWS documentation\n\n- **AWS Organizations** — https:\u002F\u002Fdocs.aws.amazon.com\u002Forganizations\u002Flatest\u002Fuserguide\u002F\n- **AWS Control Tower** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcontroltower\u002Flatest\u002Fuserguide\u002F\n- **AWS Config** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fconfig\u002Flatest\u002Fdeveloperguide\u002F\n- **AWS CloudTrail** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fawscloudtrail\u002Flatest\u002Fuserguide\u002F\n- **AWS Security Hub** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsecurityhub\u002Flatest\u002Fuserguide\u002F\n- **AWS IAM Identity Center** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsinglesignon\u002Flatest\u002Fuserguide\u002F\n- **AWS Resource Explorer v2** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fresource-explorer-2\u002Flatest\u002Fuserguide\u002F\n- **AWS RAM** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fram\u002Flatest\u002Fuserguide\u002F\n- **AWS Multi-Account Strategy (WAF)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwellarchitected\u002Flatest\u002Fframework\u002Fa-foundation-multiple-accounts.html\n\n## References (load on demand)\n\n- [references\u002Fscp-strategies.md](references\u002Fscp-strategies.md) — SCP pattern library (guardrail, throttle, deny-list, allow-list, deny-all) with JSON and debugging.\n- [references\u002Fcontrol-tower-landing-zone.md](references\u002Fcontrol-tower-landing-zone.md) — LZ v2 architecture, Account Factory workflow, drift detection, account vending commands.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Expert heuristic callouts, edge-case catalog, Resource Explorer setup, recent AWS features (2024-2026).\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — Delegated-admin, Config, CloudTrail, Security Hub, Identity Center commands and pre-flight safety checks.\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — Secondary worked example (MANUAL_STEP_REQUIRED SCP gap).\n\n","# Multi-Account Governance Automator\n\n## What this skill does\n\nDesigns automated AWS multi-account governance across four layers:\n**structure** (Organizations OU tree + accounts + Control Tower landing\nzone), **controls** (SCPs and guardrails that constrain what accounts can\ndo), **delegation** (security + logging services centralized in audit and\nlog-archive accounts via delegated administration), and **visibility**\n(Config aggregator, Security Hub aggregator, CloudTrail org trail, Resource\nExplorer). The fifth layer — **sharing** — covers RAM and Identity Center\nfor controlled cross-account resource and access sharing.\n\nThe verdict is binary: **AUTOMATED** when the design covers all four\nlayers, includes a documented SCP inheritance order, a tested landing-zone\nor baseline-stack deployment, scoped delegated-admin roles, and an\naggregation coverage check across every member account; **MANUAL_STEP_REQUIRED**\nwhen any layer has a gap (e.g., a member account not in the Config\naggregator, an SCP attached to the wrong OU, Identity Center without a\nfallback break-glass path).\n\n## Quick navigation\n\n| # | Section | Jump when |\n|---|---|---|\n| 1 | [Pre-flight gate](#pre-flight-governance-spec-gate) | Starting any new org design — blocks unsafe specs |\n| 2 | [Decision tree](#decision-tree--landing-surface) | Control Tower vs raw Organizations vs Landing Zone v2 |\n| 3 | [OU hierarchy](#ou-hierarchy) | Designing the org tree + SCP inheritance |\n| 4 | [SCP strategies](#scp-strategies--guardrail-vs-throttle-vs-deny) | Writing effective service control policies |\n| 5 | [Control Tower](#control-tower-landing-zone) | Landing zone, guardrails, Account Factory |\n| 6 | [Delegated administration](#delegated-administration) | Audit account, GuardDuty\u002FSH\u002FConfig delegation |\n| 7 | [Config aggregator](#aws-config-multi-account-aggregator) | Cross-account compliance visibility |\n| 8 | [CloudTrail org trail](#cloudtrail-organization-trail) | Centralized API logging |\n| 9 | [Security Hub aggregator](#security-hub-aggregator) | Cross-account findings |\n| 10 | [IAM Identity Center](#iam-identity-center) | Permission sets, SSO, break-glass |\n| 11 | [Account vending machine](#account-vending-machine) | Automated account creation with baseline |\n| 12 | [Resource Explorer + RAM](#resource-explorer--ram-cross-account) | Cross-account search + sharing |\n| 13 | [STRICT output contract](#output-format-strict-output-contract) | The exact GOVERNANCE block the skill emits |\n| 14 | [NEVER anti-patterns](#never-these-things) | The hardcoded list of governance taboos |\n| 15 | [Expert heuristic](#expert-heuristic-callouts) | Non-obvious behaviors that change the design |\n| 16 | [Recent AWS features](#recent-aws-features-2024-2026) | Landing Zone v2, CT customizations, Resource Explorer |\n\n## Mindset\n\n**One-line takeaway:** multi-account governance is a *blast-radius control*\nsystem — the OU tree and SCPs determine what an attacker (or careless\nadmin) can reach from any compromised account. A flat org with no SCPs\ngives every account the same blast radius as the management account; a\ntiered org with deny-list SCPs at the root and allow-list SCPs at the\nworkload OU shrinks blast radius to one account.\n\n- **SCP inheritance is cumulative and intersectional.** A policy attached\n  to the root intersects with every policy attached down the OU chain to\n  the account. An `Allow *` at the root does NOT override a `Deny` at a\n  child OU — `Deny` always wins.\n- **The management account is NOT governed by SCPs.** SCPs apply to\n  member accounts only. Protect it with MFA, break-glass procedures, and\n  zero standing access — never as a workload account.\n- **Control Tower guardrails are SCPs + Config rules + Lambda.** \"Strongly\n  recommended\" guardrails are SCPs at the root; \"elective\" guardrails are\n  SCPs at specific OUs.\n\n## Pre-flight: governance spec gate (run before generation)\n\n| Attribute | Required | Effect on plan |\n|---|---|---|\n| `org_design_intent` | YES | New org \u002F migrate-to-Control-Tower \u002F harden existing |\n| `account_count_target` | YES | Determines OU depth and SCP fan-out |\n| `compliance_framework` | Recommended | PCI\u002FSOC\u002FHIPAA\u002FFedRAMP drives mandatory SCP set |\n| `existing_landing_zone` | For audit mode | When provided, skip generation and run the layer gates |\n| `audit_account_id` | Recommended | Required for delegation layer gate |\n| `log_archive_account_id` | Recommended | Required for CloudTrail centralization |\n\n**If the spec is incomplete**, output the MANUAL_STEP_REQUIRED block:\n\n```text\nSTRUCTURE: \u003Cunknown>\nCONTROLS: \u003Cunknown>\nDELEGATION: \u003Cunknown>\nSHARING: \u003Cunknown>\nVERDICT: MANUAL_STEP_REQUIRED\nREASON: Spec is missing required fields (\u003Clist>).\nREQUIRED:\n  - org_design_intent (new | migrate | harden)\n  - account_count_target (integer)\nREMEDIATION: Provide intent and target account count. Example:\n  \"stand up a 50-account org with audit + log-archive, PCI compliance\"\n  maps to org_design_intent=new, account_count_target=50,\n  compliance_framework=PCI.\n```\n\n**Live-account pre-flight checks (skip for offline authoring):**\n1. Verify Organizations is enabled: `aws organizations describe-organization`.\n2. Verify all features are enabled (not just consolidated billing):\n   `aws organizations describe-organization --query 'Organization.FeatureSet'` must be `ALL`.\n3. Verify the management account root has MFA + no access keys.\n4. Verify Control Tower is available (look for\n   `aws controltower list-landing-zones` returning non-empty, or plan to create).\n\n## Decision tree — landing surface\n\n```\nSTART\n  ├─ greenfield org, want AWS-managed baseline? ──► Control Tower Landing Zone\n  ├─ greenfield org, want full control? ─────────► Raw Organizations + custom SCPs + Code Pipeline baseline\n  ├─ existing org + already on Control Tower? ────► Harden: Landing Zone v2 drift detection, custom SCPs\n  ├─ existing org + raw Organizations? ───────────► Migrate to CT (if eligible) OR add CT-equivalent baseline\n  └─ (unrecognized intent) ───────────────────────► MANUAL_STEP_REQUIRED with mapping hint\n```\n\n- **Control Tower:** preferred for greenfield. Provisions audit +\n  log-archive accounts, root + OU SCPs, Account Factory, Identity Center,\n  and a CloudTrail org trail in one orchestrated deployment.\n- **Raw Organizations + custom:** preferred when you need a non-CT\n  management region, custom account baselines, or a CI\u002FCD-driven model.\n- **Landing Zone v2 (2024-2025):** if already on CT, upgrade for drift\n  detection, customizable guardrails, and lifecycle controls.\n\n## OU hierarchy\n\nDesign the OU tree before any SCP work. Three canonical patterns:\n\n### Pattern A — Functional (small orgs, \u003C20 accounts)\n```\nroot\n├── Security (audit, log-archive)\n├── SharedServices (network, IAM, CI\u002FCD)\n├── Workloads-Prod\n├── Workloads-NonProd\n└── Sandboxes\n```\n\n### Pattern B — Business-unit + environment (medium orgs, 20-200)\n```\nroot\n├── Security\n├── Infrastructure\n├── BusinessUnit-A\n│   ├── Prod \u002F NonProd \u002F Sandbox\n├── BusinessUnit-B\n│   ├── Prod \u002F NonProd\n└── Suspended (quarantine OU for compromised accounts)\n```\n\n### Pattern C — OU-per-tenant (SaaS, hundreds-thousands)\n```\nroot\n├── Platform\n├── Tenants-Prod \u002F Tenants-NonProd\n```\n\n**Rules:** one OU per environment per BU (never mix prod\u002Fnonprod in one\naccount). Always have a `Suspended` OU with a Deny-all SCP for\ncompromised accounts. Keep OU depth \u003C= 5.\n\n```bash\nROOT_ID=$(aws organizations list-roots --query 'Roots[0].Id' --output text)\nSEC_OU=$(aws organizations create-organizational-unit \\\n  --parent-id $ROOT_ID --name Security \\\n  --query 'OrganizationalUnit.Id' --output text)\n```\n\n## SCP strategies — guardrail vs throttle vs deny\n\n### 1. Guardrail (prevent specific dangerous actions)\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"GuardrailDenyLeaveOrg\",\n      \"Effect\": \"Deny\",\n      \"Action\": [\"organizations:LeaveOrganization\"],\n      \"Resource\": \"*\"\n    },\n    {\n      \"Sid\": \"GuardrailDenyRootActions\",\n      \"Effect\": \"Deny\",\n      \"NotAction\": [\"iam:CreateVirtualMFADevice\", \"iam:EnableRootMFA\", \"iam:Get*\"],\n      \"Resource\": \"*\",\n      \"Condition\": {\"StringLike\": {\"aws:PrincipalArn\": [\"arn:aws:iam::*:root\"]}}\n    }\n  ]\n}\n```\nAttach at the **root** — every account inherits.\n\n### 2. Throttle (limit scale, not block)\n```json\n{\n  \"Sid\": \"ThrottleRegions\",\n  \"Effect\": \"Deny\",\n  \"Action\": [\"ec2:RunInstances\", \"rds:CreateDBInstance\"],\n  \"Resource\": \"*\",\n  \"Condition\": {\"StringNotEquals\": {\"aws:RequestedRegion\": [\"us-east-1\", \"eu-west-1\"]}}\n}\n```\nUse to constrain regions, instance types, or service quotas across an OU.\n\n### 3. Deny-list (explicitly forbid services)\n```json\n{\n  \"Sid\": \"DenyUnusedServices\",\n  \"Effect\": \"Deny\",\n  \"Action\": [\"alexaforbusiness:*\", \"qldb:*\", \"macie2:*\"],\n  \"Resource\": \"*\"\n}\n```\n\n**SCP evaluation order:** Root -> parent OU -> child OU -> account. Deny\nalways wins over Allow. Multiple SCPs at the same level are intersected.\nA policy at the root applies to ALL member accounts (NOT the management\naccount).\n\n```bash\naws organizations create-policy --type SERVICE_CONTROL_POLICY \\\n  --name guardrail-baseline \\\n  --content file:\u002F\u002Fguardrail-scp.json\naws organizations attach-policy --policy-id \u003Cid> --target-id \u003Croot-id>\n```\n\n## Control Tower landing zone\n\nControl Tower orchestrates a full governance baseline in one deployment.\n\n**What it provisions:** two foundational accounts (`audit` for Config\naggregator + Security Hub + GuardDuty delegated admin; `log-archive` for\nCloudTrail + Config history S3 buckets), guardrails (root-level preventive\nSCPs + Config detective rules), Account Factory (Service Catalog product\nthat vends new accounts with baseline auto-deployed), and IAM Identity\nCenter (SSO across member accounts).\n\n### Landing Zone v2 (2024-2025)\nLanding Zone v2 creation command and capability notes (drift detection, customizable guardrails, Account Factory lifecycle controls): moved verbatim to [references\u002Fcontrol-tower-landing-zone.md](references\u002Fcontrol-tower-landing-zone.md).\nSee that reference for the full LZ v2 architecture and failure modes.\n\n### Create a new account via Account Factory\nAccount Factory account-creation command and baseline-inheritance notes: moved verbatim to [references\u002Fcontrol-tower-landing-zone.md](references\u002Fcontrol-tower-landing-zone.md).\nWhat the landing zone provisions is summarised above; the full workflow lives in the reference.\n\n## Delegated administration\n\nCentralize security and logging services in the audit account. NEVER run\nGuardDuty \u002F Security Hub \u002F Config admin from the management account —\nthe management account should hold no workload.\n\nDelegated-admin enablement commands (GuardDuty, Security Hub, Config aggregator): moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nAlways delegate to the audit account — see the NEVER list below.\n\nDetective \u002F Macie \u002F Access Analyzer follow the same\n`enable-organization-admin-account` pattern. Detective requires GuardDuty\nas a prerequisite.\n\n## AWS Config multi-account aggregator\n\nThe aggregator lives in the audit account. Use\n`OrganizationAggregationSource` (NOT `AccountAggregationSources` list) —\norg source auto-discovers new member accounts; account sources require\nmanual add per account.\n\n**Verify coverage:** for every member account, ensure the Config recorder\nis ON and delivering. A member without a recorder contributes zero\ncompliance data to the aggregator — silent gap.\n\nConfig recorder coverage verification commands: moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nIsRecording must be true and LastStatus SUCCESS in every member account.\n\n## CloudTrail organization trail\n\nOrganization trail creation command: moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nThe gotchas (org bucket policy, KMS) remain below.\n\n**Gotchas:** the log-archive S3 bucket needs an org-level bucket policy\nallowing `s3:PutObject` from every member account's\n`cloudtrail.amazonaws.com` service principal — use `aws:PrincipalOrgID`\ncondition (never enumerate account IDs). The KMS key needs a key policy\nallowing member accounts to `kms:GenerateDataKey` for CloudTrail — same\n`aws:PrincipalOrgID` pattern. One org trail covers all members + all\nregions. Do NOT also create per-account trails — duplicate events, double\ncost.\n\n## Security Hub aggregator\n\nSecurity Hub aggregator creation command: moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nAggregation semantics (region linking, cross-region lag) remain below.\n\nFindings from member accounts in all linked regions aggregate to the\naudit account. The aggregator runs every 30 minutes by default. Verify\nevery member account has Security Hub enabled — a member with Hub\ndisabled does not send findings (silent gap).\n\n## IAM Identity Center\n\nIdentity Center (formerly AWS SSO) is the preferred cross-account access\nlayer. NEVER use cross-account IAM role assumption as the primary access\nmodel at scale.\n\nIdentity Center permission-set creation and assignment commands: moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nKeep the break-glass path noted below.\n\n**Break-glass path:** always have at least one permission set assigned to\nan emergency-only group that grants `AdministratorAccess` on the\nmanagement account. Store credentials in a sealed envelope. Test\nquarterly. Identity Center outages otherwise lock you out of the org.\n\n## Account vending machine\n\nThree patterns, in order of preference:\n\n1. **Control Tower Account Factory (preferred):** `aws controltower\n   create-account`. Auto-deploys baseline, enrolls in Identity Center,\n   attaches guardrails.\n2. **Service Catalog + Lambda (not on CT):** SC product backed by\n   CloudFormation that creates the account, deploys baseline resources,\n   enrolls in the aggregator. Trigger via `ProvisionProduct`.\n3. **Organizations `create-account` + CodePipeline (raw):** Pipeline\n   waits for `AccountStatus=ACTIVE`, assumes the new account's\n   `OrganizationAccountAccessRole`, deploys the baseline via StackSets.\n\nAccount-vending commands (Account Factory and alternatives): moved verbatim to [references\u002Fcontrol-tower-landing-zone.md](references\u002Fcontrol-tower-landing-zone.md).\nPattern preferences and the required new-account baseline remain below.\n\n**Required baseline in every new account:** CloudTrail (verify, do not\nre-create), Config recorder + delivery channel, Security Hub enabled,\ndefault VPC removed or hardened, AWS Backup vault, SNS topic for\naccount-level alerts, cross-account admin IAM role.\n\n## Resource Explorer + RAM cross-account\n\n### AWS Resource Explorer (2024-2025)\nResource Explorer setup commands (local + aggregator indexes) and use cases: moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nNote the 36-hour cold-start caveat before relying on it.\n\n### RAM cross-account resource sharing\n```bash\naws ram create-resource-share \\\n  --name share-transit-gateway \\\n  --resource-arns arn:aws:ec2:us-east-1:\u003Caccount>:transit-gateway\u002Ftgw-xxx \\\n  --principals \u003Cmember-account-id> \\\n  --allow-external-principals false\n```\nUse for Transit Gateway sharing, License Manager, Route 53 Resolver\nrules, subnets. Default `allow-external-principals=false` restricts to\norg members only.\n\n## Output format (STRICT output contract)\n\n```text\nSTRUCTURE:\n  Org status: \u003Call-features | consolidated-billing-only>\n  OU depth: \u003Cinteger>\n  Foundational accounts: audit=\u003Cid>, log-archive=\u003Cid>\n  Management account MFA: \u003Cyes\u002Fno>\nCONTROLS:\n  - [PASS|FAIL] Root-level guardrail SCP attached\n  - [PASS|FAIL] SCP denies organizations:LeaveOrganization\n  - [PASS|FAIL] SCP denies root-account actions except IAM MFA setup\n  - [PASS|FAIL] Region-throttle SCP attached at workload OU\n  - [PASS|FAIL] SCP inheritance reviewed (Deny wins over Allow)\nDELEGATION:\n  - [PASS|FAIL] GuardDuty delegated to audit account \u003Cid>\n  - [PASS|FAIL] Security Hub delegated to audit account \u003Cid>\n  - [PASS|FAIL] Config aggregator in audit account (org source, AllRegions)\n  - [PASS|FAIL] CloudTrail org trail to log-archive account\nSHARING:\n  - [PASS|FAIL] IAM Identity Center with permission sets\n  - [PASS|FAIL] Break-glass path documented + tested\n  - [PASS|FAIL] Resource Explorer aggregator index\n  - [PASS|FAIL] RAM shares scoped to org (allow-external-principals=false)\nVERDICT: AUTOMATED | MANUAL_STEP_REQUIRED\nFINDINGS:\n  - [INFO|WARN|HIGH|CRITICAL] \u003Cobservation>\nREMEDIATION:\n  1. \u003Cstep 1>\n  2. \u003Cstep 2>\n```\n\n### Worked example — AUTOMATED full design\n```text\nSTRUCTURE:\n  Org status: all-features\n  OU depth: 3 (root -> BU -> environment)\n  Foundational accounts: audit=111111111111, log-archive=222222222222\n  Management account MFA: yes (virtual MFA, no access keys)\nCONTROLS:\n  - [PASS] Guardrail SCP \"deny-leave-org\" attached at root r-abc0\n  - [PASS] SCP denies organizations:LeaveOrganization\n  - [PASS] SCP denies root-account actions except iam:CreateVirtualMFADevice\n  - [PASS] Region throttle SCP at Workloads-Prod OU (us-east-1, eu-west-1 only)\n  - [PASS] SCP inheritance reviewed — Deny at child OU overrides root Allow\nDELEGATION:\n  - [PASS] GuardDuty delegated to audit account 111111111111\n  - [PASS] Security Hub delegated to audit account 111111111111 (CIS + Foundational)\n  - [PASS] Config aggregator OrgConfigAggregator in audit account (org source, AllRegions=true)\n  - [PASS] CloudTrail org-trail delivering to log-archive S3 bucket org-trail-logs-2222\nSHARING:\n  - [PASS] IAM Identity Center with AWSAdministratorAccess (1h) + AWSReadOnlyAccess (4h)\n  - [PASS] Break-glass path: EmergencyAdmin permission set, sealed envelope, tested 2026-07-15\n  - [PASS] Resource Explorer aggregator index in audit account, view CrossAccountView\n  - [PASS] RAM shares scoped to org (allow-external-principals=false on all 4 shares)\nVERDICT: AUTOMATED\nFINDINGS:\n  - [INFO] All 47 member accounts enrolled in GuardDuty, Security Hub, Config aggregator\n  - [WARN] Detective not enabled — enable if investigation graph is a requirement\nREMEDIATION:\n  1. Enable Detective: aws detective enable-organization-admin-account --admin-account-id 111111111111\n```\n\n### Worked example — MANUAL_STEP_REQUIRED (SCP gap)\nFull MANUAL_STEP_REQUIRED worked example: moved verbatim to [references\u002Fworked-examples.md](references\u002Fworked-examples.md).\nThe AUTOMATED example above is the primary contract demonstration.\n\n## NEVER (these things)\n\n- NEVER run GuardDuty, Security Hub, or Config admin from the management\n  account. The management account is the highest-value target — coupling\n  security tooling to it means a compromise of the management account\n  also blinds the security team. Delegate to the audit account.\n\n- NEVER attach an SCP to a member account directly when the intent is\n  org-wide. Attach at the root for org-wide; at an OU for org-subtree.\n  Account-level SCPs do not scale and produce drift.\n\n- NEVER assume `Allow *` at the root overrides a `Deny` at a child OU.\n  SCP evaluation is intersectional — Deny always wins. Operators who\n  debug \"why can't this account run EC2\" often miss a Deny SCP three\n  levels up the OU tree.\n\n- NEVER rely on cross-account IAM assume-role as the primary access\n  model at org scale. It does not federate with the corporate IdP, has\n  no central permission management, and rotates credentials poorly. Use\n  IAM Identity Center.\n\n- NEVER skip the break-glass path. Identity Center outages (or a\n  misconfigured IdP federation) can lock you out of the entire org.\n  Always have an emergency permission set on the management account,\n  tested quarterly, credentials in a sealed envelope.\n\n## Expert heuristic callouts\n\nExpert heuristic callouts (SCP condition scoping, management-account quirks, latencies, ARN regionality, silent failures, drift gaps): moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nLoad before designing SCPs or account-creation automation.\n\n## Pre-flight safety checks\n\nPre-flight safety checks (confirmation gate, dry-run SCP attachment, management-account hardening, SCP snapshots, aggregator verification): moved verbatim to [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md).\nThe CONFIRM gate is mandatory before any state-changing operation.\n\n## Edge-case handling\n\nEdge-case catalog (member leaves org, SCP conflicts, drift, aggregator coverage gaps): moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nConsult when the design hits a non-standard org state.\n\n## Recent AWS features (2024-2026)\n\nRecent AWS features (2024-2026): moved verbatim to [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md).\nCheck before recommending Resource Explorer, RAM, or LZ v2 capabilities.\n\n## Domain\n\nAWS CloudOps \u002F Multi-Account Governance Automation.\n\n## AWS documentation\n\n- **AWS Organizations** — https:\u002F\u002Fdocs.aws.amazon.com\u002Forganizations\u002Flatest\u002Fuserguide\u002F\n- **AWS Control Tower** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcontroltower\u002Flatest\u002Fuserguide\u002F\n- **AWS Config** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fconfig\u002Flatest\u002Fdeveloperguide\u002F\n- **AWS CloudTrail** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fawscloudtrail\u002Flatest\u002Fuserguide\u002F\n- **AWS Security Hub** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsecurityhub\u002Flatest\u002Fuserguide\u002F\n- **AWS IAM Identity Center** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fsinglesignon\u002Flatest\u002Fuserguide\u002F\n- **AWS Resource Explorer v2** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fresource-explorer-2\u002Flatest\u002Fuserguide\u002F\n- **AWS RAM** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fram\u002Flatest\u002Fuserguide\u002F\n- **AWS Multi-Account Strategy (WAF)** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fwellarchitected\u002Flatest\u002Fframework\u002Fa-foundation-multiple-accounts.html\n\n## References (load on demand)\n\n- [references\u002Fscp-strategies.md](references\u002Fscp-strategies.md) — SCP pattern library (guardrail, throttle, deny-list, allow-list, deny-all) with JSON and debugging.\n- [references\u002Fcontrol-tower-landing-zone.md](references\u002Fcontrol-tower-landing-zone.md) — LZ v2 architecture, Account Factory workflow, drift detection, account vending commands.\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Expert heuristic callouts, edge-case catalog, Resource Explorer setup, recent AWS features (2024-2026).\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — Delegated-admin, Config, CloudTrail, Security Hub, Identity Center commands and pre-flight safety checks.\n- [references\u002Fworked-examples.md](references\u002Fworked-examples.md) — Secondary worked example (MANUAL_STEP_REQUIRED SCP gap).\n\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":43},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"requires_llm":37,"verdict_shape":38,"when_not_to_use":39,"lifecycle_status":40,"invocation_schema":41,"supports_pipeline":37,"activation_triggers":42},"aws-organizations, control-tower, scp, governance, iam-identity-center, config-aggregator, security-hub, cloudtrail, automate","4","Jacky Chan — AWS Community Builder","aws-cloudops","Governance","0.1.0","AWS Organizations, OU hierarchy, SCP, service control policy, Control Tower, landing zone, guardrails, Account Factory, delegated administration, audit account, log archive, Config aggregator, CloudTrail organization trail, Security Hub aggregator, GuardDuty delegated admin, IAM Identity Center, permission set, account vending machine, SCP strategy, Resource Explorer, RAM resource share","automate","high","false","capability","Standing up a new multi-account AWS organization, designing an OU hierarchy and SCP baseline, deploying or hardening a Control Tower landing zone, wiring GuardDuty\u002FSecurity Hub\u002FConfig as delegated administrators in an audit account, centralizing CloudTrail and Config aggregation, rolling out IAM Identity Center permission sets across member accounts, building an account vending machine, scoping SCP guardrails vs throttle vs deny, or hardening RAM cross-account shares.","true","AUTOMATED | MANUAL_STEP_REQUIRED","Single-account hardening with no cross-account component (use iam-hardening skill)., Tag governance in isolation (use tag-governance-automator — SCP TagPolicy is its surface)., Incident response automation (use incident-response-automator — containment, not governance)., Cost optimization across an org (use FinOps skills — this skill is structure + posture, not spend).","active","Input: either (a) a governance requirement (\"set up a 50-account org with audit + log-archive\", \"design SCP guardrails that block root account actions\", \"deploy a Control Tower landing zone with GuardDuty delegated to audit\"), OR (b) an existing Organizations \u002F Control Tower \u002F Config aggregator \u002F Identity Center configuration to audit and harden. Output: deterministic GOVERNANCE block per requirement — STRUCTURE\u002FCONTROLS\u002FDELEGATION\u002FSHARING\u002FVERDICT — where VERDICT is AUTOMATED (deployment plan complete with all gates passing) or MANUAL_STEP_REQUIRED (specific gap cited, e.g., missing SCP inheritance review, stale service control policy, unaggregated member account).","multi-account governance, OU hierarchy design, SCP baseline guardrail, Control Tower landing zone, Account Factory vending, Config aggregator cross-account, Security Hub delegated admin, CloudTrail organization trail, IAM Identity Center permission set, Resource Explorer cross-account index, RAM resource share cross-account","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan authoring. Live deployment uses aws organizations create-organization, create-organizational-unit, create-account, create-policy, attach-policy, move-account, enable-policy-type, aws controltower create-landing-zone, create-account, aws configservice put-configuration-aggregator, put-aggregation-authorization, aws cloudtrail create-organization-trail (or update), aws...","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Fmulti-account-governance-automator",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill multi-account-governance-automator",{"tool":58,"command":59},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill multi-account-governance-automator",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill multi-account-governance-automator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",8841,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Feval\u002Ftest-cases.yaml",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fdelegated-admin-setup.md",922,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fbaselines\u002Fdelegated-admin-setup.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fflat-org-no-scp.md",927,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fbaselines\u002Fflat-org-no-scp.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fgreenfield-org-control-tower.md",1093,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fbaselines\u002Fgreenfield-org-control-tower.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fscp-guardrail-baseline.md",887,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fbaselines\u002Fscp-guardrail-baseline.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fscp-inheritance-conflict.md",735,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fbaselines\u002Fscp-inheritance-conflict.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",1715,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4492,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fevals.json",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fdelegated-admin-setup.md",1459,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fprompts\u002Fdelegated-admin-setup.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fflat-org-no-scp.md",1441,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fprompts\u002Fflat-org-no-scp.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fgreenfield-org-control-tower.md",1610,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fprompts\u002Fgreenfield-org-control-tower.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fscp-guardrail-baseline.md",1219,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fprompts\u002Fscp-guardrail-baseline.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fscp-inheritance-conflict.md",1158,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fevals\u002Fprompts\u002Fscp-inheritance-conflict.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"example\u002FREADME.md",5523,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fexample\u002FREADME.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fadvanced-patterns.md",4068,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Freferences\u002Fadvanced-patterns.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fcontrol-tower-landing-zone.md",9108,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Freferences\u002Fcontrol-tower-landing-zone.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdiagnostic-commands.md",2464,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Freferences\u002Fdiagnostic-commands.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fscp-strategies.md",7211,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Freferences\u002Fscp-strategies.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fworked-examples.md",1329,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Freferences\u002Fworked-examples.md",{"path":145,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":146,"sourceHtmlUrl":147},"skill.usf.yaml",4675,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fmulti-account-governance-automator\u002Fskill.usf.yaml",[149,156,163,170,177,184],{"skillNo":150,"name":151,"nameZh":6,"description":152,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":153,"categories":154,"keywords":155,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":178,"name":179,"nameZh":6,"description":180,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":181,"categories":182,"keywords":183,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]