[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-signing-in-to-aws":3,"mdc-1ymlbu-key":32,"related-org-aws-signing-in-to-aws":748,"related-repo-aws-signing-in-to-aws":919},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":27,"sourceUrl":30,"mdContent":31},"signing-in-to-aws","authenticate to AWS for local development","Gets AWS credentials for CLI\u002FSDK access via `aws login`. Activates when a developer needs to authenticate to AWS for local development, when an AWS operation fails due to missing or expired credentials, or when someone asks about setting up AWS access. Triggers: \"set up AWS\", \"configure AWS\", \"aws login\", \"get credentials\", \"authenticate\", \"session expired\", \"token expired\", \"no credentials\", \"AccessDeniedException\" with no configured credentials.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"aws","AWS (Amazon)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faws.png",[12,16,19],{"name":13,"slug":14,"type":15},"CLI","cli","tag",{"name":17,"slug":18,"type":15},"Authentication","authentication",{"name":20,"slug":8,"type":15},"AWS",1822,"https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws","2026-07-12T08:42:12.743361",null,157,[],{"repoUrl":22,"stars":21,"forks":25,"topics":28,"description":29},[],"Official, AWS-supported MCP servers, skills, and plugins to help AI agents build on AWS","https:\u002F\u002Fgithub.com\u002Faws\u002Fagent-toolkit-for-aws\u002Ftree\u002FHEAD\u002Fskills\u002Fcore-skills\u002Fsigning-in-to-aws","---\nname: signing-in-to-aws\ndescription: |\n  Gets AWS credentials for CLI\u002FSDK access via `aws login`. Activates when a developer needs to authenticate to AWS for local development, when an AWS operation fails due to missing or expired credentials, or when someone asks about setting up AWS access. Triggers: \"set up AWS\", \"configure AWS\", \"aws login\", \"get credentials\", \"authenticate\", \"session expired\", \"token expired\", \"no credentials\", \"AccessDeniedException\" with no configured credentials.\n---\n\n# Sign In — Get CLI\u002FSDK Credentials\n\nHelp developers get AWS credentials for local development using `aws login`. This provides short-term, auto-rotating credentials that refresh every 15 minutes and remain valid for up to 12 hours.\n\n**Important:**\n\n- You MUST run `aws login` and `aws --version` in the user's local shell — NOT via MCP\u002FAPI tools.\n- You MUST ask the user for confirmation before running `aws login`. Do not tell the user to run the command themselves — ask if YOU should run it (e.g., \"Ready for me to run `aws login`?\" or \"Shall I proceed with `aws login`?\"). Wait for their response before proceeding.\n\n## Prerequisites\n\nThe `aws login` command requires **AWS CLI version 2.32.0 or later**.\n\nCheck the installed version:\n\n```bash\naws --version\n```\n\nIf the CLI is not installed or is below 2.32.0, inform the user and ask if they'd like to install\u002Fupdate (link them to the [AWS CLI installation guide](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Fuserguide\u002Fgetting-started-install.html)), or if they'd prefer to continue without this skill's guidance. If they choose to continue without upgrading, respond to their original request as you normally would without this skill.\n\n## Flow\n\n### Lead with the recommendation\n\nIn your first response, always tell the user that `aws login` is the fix — explain that it provides short-term, auto-rotating credentials and that it requires AWS CLI 2.32.0 or later. Do not stop at \"let me check your CLI version\" — name the remediation up front so the user knows where this is going, then describe the precondition checks you'll run before invoking it.\n\n### Precondition checks (run silently before asking confirmation)\n\nRun these via the local shell to inform your plan. Report what you find, but do not gate the recommendation on user-supplied output:\n\n1. `aws --version` — confirm the CLI is 2.32.0 or later. If not installed or too old, point the user to the [AWS CLI installation guide](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Fuserguide\u002Fgetting-started-install.html) and stop.\n2. `aws sts get-caller-identity` — check current credentials.\n   - **Succeeds**: Show the user their Account and Arn. Ask whether to keep these or set up different credentials. If they want to switch, recommend `aws login --profile \u003Cname>` so the existing default isn't overwritten.\n   - **Fails** (missing or expired): proceed with `aws login` on the default profile.\n3. *(Only if Step 2 succeeded and the user wants different credentials)* `aws configure list` — if `access_key` starts with `AKIA`, explain that long-term access keys are less secure (never expire, persist on disk as secrets, grant indefinite access if leaked) and that `aws login` provides short-term credentials that auto-rotate every 15 minutes, expire automatically, and require no manual rotation.\n\n### Confirm and run aws login\n\nOnce preconditions are clear, ask the user for confirmation specifically for the `aws login` invocation — and only there. Do not tell the user to run the command themselves; ask if you should run it (e.g., \"Ready for me to run `aws login`?\" or \"Shall I proceed with `aws login --profile staging`?\"). Wait for their response, then run `aws login` (or `aws login --profile \u003Cname>`).\n\n### Verify\n\nAfter `aws login` completes, run `aws sts get-caller-identity` (with `--profile` if used) to confirm success. If a named profile was used, remind the user to pass `--profile` or set `AWS_PROFILE`.\n\n## Handling Errors\n\n### \"command not found\" or version too old\n\nThe CLI is not installed or below 2.32.0. Direct the user to install or update: [AWS CLI installation guide](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Fuserguide\u002Fgetting-started-install.html).\n\n### Browser doesn't open\n\nSuggest `aws login --remote` which provides a URL and code for cross-device authentication (e.g., when using a remote server without a browser).\n\n### Permission error after login\n\nThe IAM identity needs the `SignInLocalDevelopmentAccess` managed policy attached (to the user, role, or group). Root users do not need it. Tell the user to ask their administrator to add it, or attach it themselves if they have IAM permissions.\n\n### GovCloud or China regions\n\n`aws login` is not available in AWS GovCloud (US) or AWS China regions. Do not mention this exception proactively — only relevant if the user explicitly states they are in one of these partitions.\n\n## Users With Existing `aws sso login` Workflows\n\nIf the user mentions `aws sso login` or has an existing SSO configuration, do NOT redirect them to `aws login`. These are different commands for different situations:\n\n- `aws sso login` is for users whose organization has configured AWS IAM Identity Center (SSO). They have profiles in `~\u002F.aws\u002Fconfig` pointing at an SSO start URL. Respect their established workflow.\n- If their `aws sso login` is failing, help troubleshoot within their context: expired SSO session, revoked authorization, cached token issues (`~\u002F.aws\u002Fsso\u002Fcache\u002F`), or Identity Center configuration changes.\n\n## Fallback to `aws configure`\n\nDo NOT mention `aws configure` in your initial response or include it as a table row alongside `aws login`. Only offer it as an alternative if:\n\n1. The user explicitly declines `aws login` or asks for alternatives\n2. The user states they are in GovCloud or China regions (where `aws login` is unavailable)\n\nWhen offering it, explain that long-term access keys are less secure: they persist on disk as plaintext, never expire automatically, and grant indefinite access if leaked.\n\n## When NOT to Use This Skill\n\n- User is setting up CI\u002FCD credentials — they need IAM roles or OIDC federation, not `aws login`\n\n## Key Points\n\n- Do not front-load troubleshooting — keep the initial response simple and address errors only if they occur\n- `aws login` works with root users, IAM users and federation with IAM\n\n## Additional Resources\n\n- [Sign in through the AWS CLI](https:\u002F\u002Fdocs.aws.amazon.com\u002Fsignin\u002Flatest\u002Fuserguide\u002Fcommand-line-sign-in.html)\n- [Installing or updating the AWS CLI](https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Fuserguide\u002Fgetting-started-install.html)\n- [SignInLocalDevelopmentAccess managed policy](https:\u002F\u002Fdocs.aws.amazon.com\u002Faws-managed-policy\u002Flatest\u002Freference\u002FSignInLocalDevelopmentAccess.html)\n- [IAM security best practices](https:\u002F\u002Fdocs.aws.amazon.com\u002FIAM\u002Flatest\u002FUserGuide\u002Fbest-practices.html)\n",{"data":33,"body":34},{"name":4,"description":6},{"type":35,"children":36},"root",[37,46,61,70,121,128,147,152,180,196,202,209,221,227,232,344,350,390,396,437,443,449,460,466,479,485,498,504,514,528,547,588,600,619,646,651,657,670,676,694,700,742],{"type":38,"tag":39,"props":40,"children":42},"element","h1",{"id":41},"sign-in-get-clisdk-credentials",[43],{"type":44,"value":45},"text","Sign In — Get CLI\u002FSDK Credentials",{"type":38,"tag":47,"props":48,"children":49},"p",{},[50,52,59],{"type":44,"value":51},"Help developers get AWS credentials for local development using ",{"type":38,"tag":53,"props":54,"children":56},"code",{"className":55},[],[57],{"type":44,"value":58},"aws login",{"type":44,"value":60},". This provides short-term, auto-rotating credentials that refresh every 15 minutes and remain valid for up to 12 hours.",{"type":38,"tag":47,"props":62,"children":63},{},[64],{"type":38,"tag":65,"props":66,"children":67},"strong",{},[68],{"type":44,"value":69},"Important:",{"type":38,"tag":71,"props":72,"children":73},"ul",{},[74,95],{"type":38,"tag":75,"props":76,"children":77},"li",{},[78,80,85,87,93],{"type":44,"value":79},"You MUST run ",{"type":38,"tag":53,"props":81,"children":83},{"className":82},[],[84],{"type":44,"value":58},{"type":44,"value":86}," and ",{"type":38,"tag":53,"props":88,"children":90},{"className":89},[],[91],{"type":44,"value":92},"aws --version",{"type":44,"value":94}," in the user's local shell — NOT via MCP\u002FAPI tools.",{"type":38,"tag":75,"props":96,"children":97},{},[98,100,105,107,112,114,119],{"type":44,"value":99},"You MUST ask the user for confirmation before running ",{"type":38,"tag":53,"props":101,"children":103},{"className":102},[],[104],{"type":44,"value":58},{"type":44,"value":106},". Do not tell the user to run the command themselves — ask if YOU should run it (e.g., \"Ready for me to run ",{"type":38,"tag":53,"props":108,"children":110},{"className":109},[],[111],{"type":44,"value":58},{"type":44,"value":113},"?\" or \"Shall I proceed with ",{"type":38,"tag":53,"props":115,"children":117},{"className":116},[],[118],{"type":44,"value":58},{"type":44,"value":120},"?\"). Wait for their response before proceeding.",{"type":38,"tag":122,"props":123,"children":125},"h2",{"id":124},"prerequisites",[126],{"type":44,"value":127},"Prerequisites",{"type":38,"tag":47,"props":129,"children":130},{},[131,133,138,140,145],{"type":44,"value":132},"The ",{"type":38,"tag":53,"props":134,"children":136},{"className":135},[],[137],{"type":44,"value":58},{"type":44,"value":139}," command requires ",{"type":38,"tag":65,"props":141,"children":142},{},[143],{"type":44,"value":144},"AWS CLI version 2.32.0 or later",{"type":44,"value":146},".",{"type":38,"tag":47,"props":148,"children":149},{},[150],{"type":44,"value":151},"Check the installed version:",{"type":38,"tag":153,"props":154,"children":159},"pre",{"className":155,"code":156,"language":157,"meta":158,"style":158},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","aws --version\n","bash","",[160],{"type":38,"tag":53,"props":161,"children":162},{"__ignoreMap":158},[163],{"type":38,"tag":164,"props":165,"children":168},"span",{"class":166,"line":167},"line",1,[169,174],{"type":38,"tag":164,"props":170,"children":172},{"style":171},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[173],{"type":44,"value":8},{"type":38,"tag":164,"props":175,"children":177},{"style":176},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[178],{"type":44,"value":179}," --version\n",{"type":38,"tag":47,"props":181,"children":182},{},[183,185,194],{"type":44,"value":184},"If the CLI is not installed or is below 2.32.0, inform the user and ask if they'd like to install\u002Fupdate (link them to the ",{"type":38,"tag":186,"props":187,"children":191},"a",{"href":188,"rel":189},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Fuserguide\u002Fgetting-started-install.html",[190],"nofollow",[192],{"type":44,"value":193},"AWS CLI installation guide",{"type":44,"value":195},"), or if they'd prefer to continue without this skill's guidance. If they choose to continue without upgrading, respond to their original request as you normally would without this skill.",{"type":38,"tag":122,"props":197,"children":199},{"id":198},"flow",[200],{"type":44,"value":201},"Flow",{"type":38,"tag":203,"props":204,"children":206},"h3",{"id":205},"lead-with-the-recommendation",[207],{"type":44,"value":208},"Lead with the recommendation",{"type":38,"tag":47,"props":210,"children":211},{},[212,214,219],{"type":44,"value":213},"In your first response, always tell the user that ",{"type":38,"tag":53,"props":215,"children":217},{"className":216},[],[218],{"type":44,"value":58},{"type":44,"value":220}," is the fix — explain that it provides short-term, auto-rotating credentials and that it requires AWS CLI 2.32.0 or later. Do not stop at \"let me check your CLI version\" — name the remediation up front so the user knows where this is going, then describe the precondition checks you'll run before invoking it.",{"type":38,"tag":203,"props":222,"children":224},{"id":223},"precondition-checks-run-silently-before-asking-confirmation",[225],{"type":44,"value":226},"Precondition checks (run silently before asking confirmation)",{"type":38,"tag":47,"props":228,"children":229},{},[230],{"type":44,"value":231},"Run these via the local shell to inform your plan. Report what you find, but do not gate the recommendation on user-supplied output:",{"type":38,"tag":233,"props":234,"children":235},"ol",{},[236,253,302],{"type":38,"tag":75,"props":237,"children":238},{},[239,244,246,251],{"type":38,"tag":53,"props":240,"children":242},{"className":241},[],[243],{"type":44,"value":92},{"type":44,"value":245}," — confirm the CLI is 2.32.0 or later. If not installed or too old, point the user to the ",{"type":38,"tag":186,"props":247,"children":249},{"href":188,"rel":248},[190],[250],{"type":44,"value":193},{"type":44,"value":252}," and stop.",{"type":38,"tag":75,"props":254,"children":255},{},[256,262,264],{"type":38,"tag":53,"props":257,"children":259},{"className":258},[],[260],{"type":44,"value":261},"aws sts get-caller-identity",{"type":44,"value":263}," — check current credentials.\n",{"type":38,"tag":71,"props":265,"children":266},{},[267,285],{"type":38,"tag":75,"props":268,"children":269},{},[270,275,277,283],{"type":38,"tag":65,"props":271,"children":272},{},[273],{"type":44,"value":274},"Succeeds",{"type":44,"value":276},": Show the user their Account and Arn. Ask whether to keep these or set up different credentials. If they want to switch, recommend ",{"type":38,"tag":53,"props":278,"children":280},{"className":279},[],[281],{"type":44,"value":282},"aws login --profile \u003Cname>",{"type":44,"value":284}," so the existing default isn't overwritten.",{"type":38,"tag":75,"props":286,"children":287},{},[288,293,295,300],{"type":38,"tag":65,"props":289,"children":290},{},[291],{"type":44,"value":292},"Fails",{"type":44,"value":294}," (missing or expired): proceed with ",{"type":38,"tag":53,"props":296,"children":298},{"className":297},[],[299],{"type":44,"value":58},{"type":44,"value":301}," on the default profile.",{"type":38,"tag":75,"props":303,"children":304},{},[305,311,313,319,321,327,329,335,337,342],{"type":38,"tag":306,"props":307,"children":308},"em",{},[309],{"type":44,"value":310},"(Only if Step 2 succeeded and the user wants different credentials)",{"type":44,"value":312}," ",{"type":38,"tag":53,"props":314,"children":316},{"className":315},[],[317],{"type":44,"value":318},"aws configure list",{"type":44,"value":320}," — if ",{"type":38,"tag":53,"props":322,"children":324},{"className":323},[],[325],{"type":44,"value":326},"access_key",{"type":44,"value":328}," starts with ",{"type":38,"tag":53,"props":330,"children":332},{"className":331},[],[333],{"type":44,"value":334},"AKIA",{"type":44,"value":336},", explain that long-term access keys are less secure (never expire, persist on disk as secrets, grant indefinite access if leaked) and that ",{"type":38,"tag":53,"props":338,"children":340},{"className":339},[],[341],{"type":44,"value":58},{"type":44,"value":343}," provides short-term credentials that auto-rotate every 15 minutes, expire automatically, and require no manual rotation.",{"type":38,"tag":203,"props":345,"children":347},{"id":346},"confirm-and-run-aws-login",[348],{"type":44,"value":349},"Confirm and run aws login",{"type":38,"tag":47,"props":351,"children":352},{},[353,355,360,362,367,368,374,376,381,383,388],{"type":44,"value":354},"Once preconditions are clear, ask the user for confirmation specifically for the ",{"type":38,"tag":53,"props":356,"children":358},{"className":357},[],[359],{"type":44,"value":58},{"type":44,"value":361}," invocation — and only there. Do not tell the user to run the command themselves; ask if you should run it (e.g., \"Ready for me to run ",{"type":38,"tag":53,"props":363,"children":365},{"className":364},[],[366],{"type":44,"value":58},{"type":44,"value":113},{"type":38,"tag":53,"props":369,"children":371},{"className":370},[],[372],{"type":44,"value":373},"aws login --profile staging",{"type":44,"value":375},"?\"). Wait for their response, then run ",{"type":38,"tag":53,"props":377,"children":379},{"className":378},[],[380],{"type":44,"value":58},{"type":44,"value":382}," (or ",{"type":38,"tag":53,"props":384,"children":386},{"className":385},[],[387],{"type":44,"value":282},{"type":44,"value":389},").",{"type":38,"tag":203,"props":391,"children":393},{"id":392},"verify",[394],{"type":44,"value":395},"Verify",{"type":38,"tag":47,"props":397,"children":398},{},[399,401,406,408,413,415,421,423,428,430,436],{"type":44,"value":400},"After ",{"type":38,"tag":53,"props":402,"children":404},{"className":403},[],[405],{"type":44,"value":58},{"type":44,"value":407}," completes, run ",{"type":38,"tag":53,"props":409,"children":411},{"className":410},[],[412],{"type":44,"value":261},{"type":44,"value":414}," (with ",{"type":38,"tag":53,"props":416,"children":418},{"className":417},[],[419],{"type":44,"value":420},"--profile",{"type":44,"value":422}," if used) to confirm success. If a named profile was used, remind the user to pass ",{"type":38,"tag":53,"props":424,"children":426},{"className":425},[],[427],{"type":44,"value":420},{"type":44,"value":429}," or set ",{"type":38,"tag":53,"props":431,"children":433},{"className":432},[],[434],{"type":44,"value":435},"AWS_PROFILE",{"type":44,"value":146},{"type":38,"tag":122,"props":438,"children":440},{"id":439},"handling-errors",[441],{"type":44,"value":442},"Handling Errors",{"type":38,"tag":203,"props":444,"children":446},{"id":445},"command-not-found-or-version-too-old",[447],{"type":44,"value":448},"\"command not found\" or version too old",{"type":38,"tag":47,"props":450,"children":451},{},[452,454,459],{"type":44,"value":453},"The CLI is not installed or below 2.32.0. Direct the user to install or update: ",{"type":38,"tag":186,"props":455,"children":457},{"href":188,"rel":456},[190],[458],{"type":44,"value":193},{"type":44,"value":146},{"type":38,"tag":203,"props":461,"children":463},{"id":462},"browser-doesnt-open",[464],{"type":44,"value":465},"Browser doesn't open",{"type":38,"tag":47,"props":467,"children":468},{},[469,471,477],{"type":44,"value":470},"Suggest ",{"type":38,"tag":53,"props":472,"children":474},{"className":473},[],[475],{"type":44,"value":476},"aws login --remote",{"type":44,"value":478}," which provides a URL and code for cross-device authentication (e.g., when using a remote server without a browser).",{"type":38,"tag":203,"props":480,"children":482},{"id":481},"permission-error-after-login",[483],{"type":44,"value":484},"Permission error after login",{"type":38,"tag":47,"props":486,"children":487},{},[488,490,496],{"type":44,"value":489},"The IAM identity needs the ",{"type":38,"tag":53,"props":491,"children":493},{"className":492},[],[494],{"type":44,"value":495},"SignInLocalDevelopmentAccess",{"type":44,"value":497}," managed policy attached (to the user, role, or group). Root users do not need it. Tell the user to ask their administrator to add it, or attach it themselves if they have IAM permissions.",{"type":38,"tag":203,"props":499,"children":501},{"id":500},"govcloud-or-china-regions",[502],{"type":44,"value":503},"GovCloud or China regions",{"type":38,"tag":47,"props":505,"children":506},{},[507,512],{"type":38,"tag":53,"props":508,"children":510},{"className":509},[],[511],{"type":44,"value":58},{"type":44,"value":513}," is not available in AWS GovCloud (US) or AWS China regions. Do not mention this exception proactively — only relevant if the user explicitly states they are in one of these partitions.",{"type":38,"tag":122,"props":515,"children":517},{"id":516},"users-with-existing-aws-sso-login-workflows",[518,520,526],{"type":44,"value":519},"Users With Existing ",{"type":38,"tag":53,"props":521,"children":523},{"className":522},[],[524],{"type":44,"value":525},"aws sso login",{"type":44,"value":527}," Workflows",{"type":38,"tag":47,"props":529,"children":530},{},[531,533,538,540,545],{"type":44,"value":532},"If the user mentions ",{"type":38,"tag":53,"props":534,"children":536},{"className":535},[],[537],{"type":44,"value":525},{"type":44,"value":539}," or has an existing SSO configuration, do NOT redirect them to ",{"type":38,"tag":53,"props":541,"children":543},{"className":542},[],[544],{"type":44,"value":58},{"type":44,"value":546},". These are different commands for different situations:",{"type":38,"tag":71,"props":548,"children":549},{},[550,568],{"type":38,"tag":75,"props":551,"children":552},{},[553,558,560,566],{"type":38,"tag":53,"props":554,"children":556},{"className":555},[],[557],{"type":44,"value":525},{"type":44,"value":559}," is for users whose organization has configured AWS IAM Identity Center (SSO). They have profiles in ",{"type":38,"tag":53,"props":561,"children":563},{"className":562},[],[564],{"type":44,"value":565},"~\u002F.aws\u002Fconfig",{"type":44,"value":567}," pointing at an SSO start URL. Respect their established workflow.",{"type":38,"tag":75,"props":569,"children":570},{},[571,573,578,580,586],{"type":44,"value":572},"If their ",{"type":38,"tag":53,"props":574,"children":576},{"className":575},[],[577],{"type":44,"value":525},{"type":44,"value":579}," is failing, help troubleshoot within their context: expired SSO session, revoked authorization, cached token issues (",{"type":38,"tag":53,"props":581,"children":583},{"className":582},[],[584],{"type":44,"value":585},"~\u002F.aws\u002Fsso\u002Fcache\u002F",{"type":44,"value":587},"), or Identity Center configuration changes.",{"type":38,"tag":122,"props":589,"children":591},{"id":590},"fallback-to-aws-configure",[592,594],{"type":44,"value":593},"Fallback to ",{"type":38,"tag":53,"props":595,"children":597},{"className":596},[],[598],{"type":44,"value":599},"aws configure",{"type":38,"tag":47,"props":601,"children":602},{},[603,605,610,612,617],{"type":44,"value":604},"Do NOT mention ",{"type":38,"tag":53,"props":606,"children":608},{"className":607},[],[609],{"type":44,"value":599},{"type":44,"value":611}," in your initial response or include it as a table row alongside ",{"type":38,"tag":53,"props":613,"children":615},{"className":614},[],[616],{"type":44,"value":58},{"type":44,"value":618},". Only offer it as an alternative if:",{"type":38,"tag":233,"props":620,"children":621},{},[622,634],{"type":38,"tag":75,"props":623,"children":624},{},[625,627,632],{"type":44,"value":626},"The user explicitly declines ",{"type":38,"tag":53,"props":628,"children":630},{"className":629},[],[631],{"type":44,"value":58},{"type":44,"value":633}," or asks for alternatives",{"type":38,"tag":75,"props":635,"children":636},{},[637,639,644],{"type":44,"value":638},"The user states they are in GovCloud or China regions (where ",{"type":38,"tag":53,"props":640,"children":642},{"className":641},[],[643],{"type":44,"value":58},{"type":44,"value":645}," is unavailable)",{"type":38,"tag":47,"props":647,"children":648},{},[649],{"type":44,"value":650},"When offering it, explain that long-term access keys are less secure: they persist on disk as plaintext, never expire automatically, and grant indefinite access if leaked.",{"type":38,"tag":122,"props":652,"children":654},{"id":653},"when-not-to-use-this-skill",[655],{"type":44,"value":656},"When NOT to Use This Skill",{"type":38,"tag":71,"props":658,"children":659},{},[660],{"type":38,"tag":75,"props":661,"children":662},{},[663,665],{"type":44,"value":664},"User is setting up CI\u002FCD credentials — they need IAM roles or OIDC federation, not ",{"type":38,"tag":53,"props":666,"children":668},{"className":667},[],[669],{"type":44,"value":58},{"type":38,"tag":122,"props":671,"children":673},{"id":672},"key-points",[674],{"type":44,"value":675},"Key Points",{"type":38,"tag":71,"props":677,"children":678},{},[679,684],{"type":38,"tag":75,"props":680,"children":681},{},[682],{"type":44,"value":683},"Do not front-load troubleshooting — keep the initial response simple and address errors only if they occur",{"type":38,"tag":75,"props":685,"children":686},{},[687,692],{"type":38,"tag":53,"props":688,"children":690},{"className":689},[],[691],{"type":44,"value":58},{"type":44,"value":693}," works with root users, IAM users and federation with IAM",{"type":38,"tag":122,"props":695,"children":697},{"id":696},"additional-resources",[698],{"type":44,"value":699},"Additional Resources",{"type":38,"tag":71,"props":701,"children":702},{},[703,713,722,732],{"type":38,"tag":75,"props":704,"children":705},{},[706],{"type":38,"tag":186,"props":707,"children":710},{"href":708,"rel":709},"https:\u002F\u002Fdocs.aws.amazon.com\u002Fsignin\u002Flatest\u002Fuserguide\u002Fcommand-line-sign-in.html",[190],[711],{"type":44,"value":712},"Sign in through the AWS CLI",{"type":38,"tag":75,"props":714,"children":715},{},[716],{"type":38,"tag":186,"props":717,"children":719},{"href":188,"rel":718},[190],[720],{"type":44,"value":721},"Installing or updating the AWS CLI",{"type":38,"tag":75,"props":723,"children":724},{},[725],{"type":38,"tag":186,"props":726,"children":729},{"href":727,"rel":728},"https:\u002F\u002Fdocs.aws.amazon.com\u002Faws-managed-policy\u002Flatest\u002Freference\u002FSignInLocalDevelopmentAccess.html",[190],[730],{"type":44,"value":731},"SignInLocalDevelopmentAccess managed policy",{"type":38,"tag":75,"props":733,"children":734},{},[735],{"type":38,"tag":186,"props":736,"children":739},{"href":737,"rel":738},"https:\u002F\u002Fdocs.aws.amazon.com\u002FIAM\u002Flatest\u002FUserGuide\u002Fbest-practices.html",[190],[740],{"type":44,"value":741},"IAM security best practices",{"type":38,"tag":743,"props":744,"children":745},"style",{},[746],{"type":44,"value":747},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":749,"total":918},[750,767,780,795,810,820,835,851,868,881,893,908],{"slug":751,"name":751,"fn":752,"description":753,"org":754,"tags":755,"stars":21,"repoUrl":22,"updatedAt":766},"agents-build","add capabilities to existing agent projects","Use when adding capabilities to an existing agent project — memory, app integration, VPC, multi-agent, migration, model changes, browser, code interpreter, or resource removal. Triggers on: \"add memory\", \"remember across sessions\", \"call agent from app\", \"invoke agent from code\", \"auth to call agent\", \"streaming responses\", \"VPC\", \"VPC connectivity\", \"VPC error\", \"can't reach from VPC\", \"multi-agent\", \"A2A\", \"A2A auth\", \"orchestrator not delegating\", \"specialist not called\", \"migrate Bedrock Agent\", \"after import\", \"migration issue\", \"framework for migration\", \"change model\", \"browser tool\", \"code interpreter\", \"delete agent\", \"tear down\", \"agentcore remove\", \"cross-account memory\", \"resource-based policy on memory\", \"pay for x402 content\", \"402 Payment Required\", \"microtransactions\", \"paid API or tool\". Not for connecting to external APIs via Gateway — use agents-connect. Not for scaffolding a new project — use agents-get-started. Not for CLI\u002Fdev server errors — use agents-debug. Strands vs LangGraph in a migration context routes here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[756,759,762,763],{"name":757,"slug":758,"type":15},"Agents","agents",{"name":760,"slug":761,"type":15},"Automation","automation",{"name":20,"slug":8,"type":15},{"name":764,"slug":765,"type":15},"Engineering","engineering","2026-07-12T08:42:53.812877",{"slug":768,"name":768,"fn":769,"description":770,"org":771,"tags":772,"stars":21,"repoUrl":22,"updatedAt":779},"agents-connect","connect agents to external services","Use when connecting your agent to external APIs, tools, or services via Gateway, or restricting tool access with Cedar policies. Handles gateway setup, target types, outbound auth (OAuth, API key, IAM), credentials, and Cedar policy authoring. Triggers on: \"connect to API\", \"add gateway\", \"connect to MCP server\", \"Lambda tools\", \"OpenAPI\", \"gateway target\", \"Cedar policy\", \"restrict tools\", \"policy engine\", \"gateway auth error\", \"store API key\", \"outbound credential\", \"env var API key\", \"API key None after deploy\", \"credential not available after deploy\", \"should this be a gateway target\", \"give my agent tools\", \"add tools to agent\". Not for inbound auth (who can call your agent) — use agents-harden. Not for debugging agent behavior — use agents-debug. Not for VPC networking errors (agent can't reach APIs due to VPC) — use agents-build. Not for creating or hosting a new MCP server project — use agents-get-started.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[773,774,777,778],{"name":757,"slug":758,"type":15},{"name":775,"slug":776,"type":15},"API Development","api-development",{"name":17,"slug":18,"type":15},{"name":20,"slug":8,"type":15},"2026-07-16T06:00:38.866147",{"slug":781,"name":781,"fn":782,"description":783,"org":784,"tags":785,"stars":21,"repoUrl":22,"updatedAt":794},"agents-debug","debug agent and environment issues","Use when your agent or environment is broken — wrong answers, errors, timeouts, tool failures, or CLI issues. Reads traces and logs to diagnose root causes. Also checks prerequisites when the CLI itself isn't working. Triggers on: \"agent not working\", \"wrong answer\", \"agent error\", \"tool call failing\", \"debug agent\", \"check logs\", \"read traces\", \"broken\", \"500 error\", \"424 error\", \"model access denied\", \"command not found\", \"stuck in DELETING\", \"maxVms exceeded\", \"cold start diagnosis\", \"cold start slow\", \"agentcore create error\", \"create failed\", \"exit code 7\", \"connection refused local dev\". Not for deploy failures — use agents-deploy. Not for performance tuning without errors — use agents-optimize. Not for VPC configuration — use agents-build. Not for observability setup or missing logs — use agents-optimize.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[786,787,788,791],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":789,"slug":790,"type":15},"Debugging","debugging",{"name":792,"slug":793,"type":15},"Observability","observability","2026-07-16T06:00:44.679093",{"slug":796,"name":796,"fn":797,"description":798,"org":799,"tags":800,"stars":21,"repoUrl":22,"updatedAt":809},"agents-deploy","deploy AI agents to AWS","Use when deploying your agent to AWS, or when a deploy has failed. Handles pre-flight validation, CDK\u002FIAM\u002Fquota error diagnosis, version management, rollback, and canary deployments. Triggers on: \"deploy my agent\", \"agentcore deploy\", \"deploy failed\", \"CDK error\", \"rollback\", \"canary deploy\", \"pin version\", \"redeploy\", \"deploy stuck\". Not for production hardening — use agents-harden. Not for adding capabilities before deploy — use agents-build or agents-connect. Not for VPC configuration errors — use agents-build.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[801,802,803,806],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":804,"slug":805,"type":15},"CI\u002FCD","ci-cd",{"name":807,"slug":808,"type":15},"Deployment","deployment","2026-07-12T08:42:55.059577",{"slug":811,"name":811,"fn":812,"description":813,"org":814,"tags":815,"stars":21,"repoUrl":22,"updatedAt":819},"agents-get-started","scaffold and deploy new agent projects","Use when a developer wants to create a new agent project or get started with AgentCore. Handles framework selection, project scaffolding, first deploy, and first invocation. Triggers on: \"build an agent\", \"create an agent\", \"get started\", \"new project\", \"agentcore create\", \"which framework\", \"Strands vs LangGraph\", \"hello world agent\", \"first agent\", \"create MCP server\", \"host MCP server\", \"agentcore dev\", \"dev server\", \"what port\", \"local development\". Not for adding capabilities to existing projects — use agents-build or agents-connect. Strands vs LangGraph in a migration context routes to agents-build, not here. Connecting to an existing MCP server routes to agents-connect, not here.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[816,817,818],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":807,"slug":808,"type":15},"2026-07-12T08:42:51.963247",{"slug":821,"name":821,"fn":822,"description":823,"org":824,"tags":825,"stars":21,"repoUrl":22,"updatedAt":834},"agents-harden","harden agents for production","Use when preparing your agent for production — IAM scoping, inbound auth (JWT, SigV4), secrets management, cold start optimization, session lifecycle, rate limiting, input validation, and quota guidance. Triggers on: \"production checklist\", \"harden agent\", \"production ready\", \"secure agent\", \"inbound auth\", \"going live\", \"cold start optimization\", \"session lifecycle\", \"StopRuntimeSession\", \"quota\", \"throttling\", \"maxVms\", \"rate limit\", \"security audit of outbound API calls\", \"gateway target audit for production\", \"restrict who can call\", \"lock down endpoint\", \"only our app can call\". Not for Cedar tool-restriction policies — use agents-connect. Not for quality measurement — use agents-optimize. Not for outbound credential storage or API key wiring — use agents-connect. Not for A2A agent-to-agent auth — use agents-build. Cold start observation and diagnosis (not optimization) routes to agents-debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[826,827,828,831],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":829,"slug":830,"type":15},"Best Practices","best-practices",{"name":832,"slug":833,"type":15},"Security","security","2026-07-16T06:00:42.174705",{"slug":836,"name":836,"fn":837,"description":838,"org":839,"tags":840,"stars":21,"repoUrl":22,"updatedAt":850},"agents-optimize","optimize agent quality and performance","Use when measuring or improving agent quality and performance — set up evaluators, online monitoring, CI\u002FCD quality gates, observability, or cost optimization. Triggers on: \"evaluate my agent\", \"add evaluator\", \"measure quality\", \"quality gate\", \"run evals\", \"agent too slow\", \"why is it slow\", \"reduce latency\", \"set up observability\", \"CloudWatch dashboard\", \"how much does my agent cost\", \"cost optimization\", \"logs not showing up\", \"logs missing\", \"spans not found\", \"eval failing\", \"eval error\", \"dev traces\", \"local traces\", \"agentcore dev traces\", \"traces to CloudWatch\". Not for debugging errors or crashes — use agents-debug. Slow but correct routes here; broken routes to debug.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[841,842,843,846,847],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":844,"slug":845,"type":15},"Evals","evals",{"name":792,"slug":793,"type":15},{"name":848,"slug":849,"type":15},"Performance","performance","2026-07-12T08:42:56.488105",{"slug":852,"name":852,"fn":853,"description":854,"org":855,"tags":856,"stars":21,"repoUrl":22,"updatedAt":867},"amazon-aurora-mysql","manage Amazon Aurora MySQL clusters","Amazon Aurora MySQL — creates, modifies, and advises on Aurora MySQL clusters specifically (MySQL-compatible engine, Aurora serverless, parallel query). Trigger for Aurora MySQL cluster operations, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or MySQL upgrade planning. Aurora MySQL uses full (VPC-based) configuration — express configuration is PostgreSQL-only. For Aurora PostgreSQL, use amazon-aurora-postgresql instead. Contains safety guardrails and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[857,858,861,864],{"name":20,"slug":8,"type":15},{"name":859,"slug":860,"type":15},"Database","database",{"name":862,"slug":863,"type":15},"MySQL","mysql",{"name":865,"slug":866,"type":15},"Serverless","serverless","2026-07-12T08:43:13.27939",{"slug":869,"name":869,"fn":870,"description":871,"org":872,"tags":873,"stars":21,"repoUrl":22,"updatedAt":880},"amazon-aurora-postgresql","configure Amazon Aurora PostgreSQL clusters","Amazon Aurora PostgreSQL — creates, modifies, and advises on Aurora PostgreSQL clusters specifically (PostgreSQL-compatible engine, Aurora serverless, express configuration, pgvector, Babelfish). Trigger for Aurora PostgreSQL cluster operations, express-configuration quick-start, ACU sizing, I\u002FO-Optimized storage, commitment pricing, or PostgreSQL upgrade planning. For Aurora MySQL, use amazon-aurora-mysql instead. Contains safety guardrails, express-first routing, and response templates that override defaults.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[874,875,876,879],{"name":20,"slug":8,"type":15},{"name":859,"slug":860,"type":15},{"name":877,"slug":878,"type":15},"PostgreSQL","postgresql",{"name":865,"slug":866,"type":15},"2026-07-16T06:00:34.789624",{"slug":882,"name":882,"fn":883,"description":884,"org":885,"tags":886,"stars":21,"repoUrl":22,"updatedAt":892},"amazon-bedrock","build generative AI apps with Amazon Bedrock","Builds generative AI applications on Amazon Bedrock. Covers model invocation (Converse API, InvokeModel), RAG with Knowledge Bases, Bedrock Agents, Guardrails, and AgentCore. Use when invoking models, setting up Knowledge Bases, creating agents, applying guardrails, deploying to AgentCore, migrating\u002Fporting\u002Fconverting a Bedrock Agent (including inline agents) to an AgentCore Harness, troubleshooting Bedrock errors (ThrottlingException, AccessDeniedException), or choosing models (Claude, Llama, Nova, Titan). ALSO USE for prompt caching setup and debugging, quota health checks and throttling diagnosis, cost attribution and tracking, migrating between Claude model generations (4.5 to 4.6 to 4.7), chunking strategies, API selection (Converse vs InvokeModel), guardrail capabilities, and model selection. Also covers AgentCore Payments setup (x402, microtransactions, Payment Manager, Connector, Instrument, Coinbase CDP, Stripe Privy, 402 Payment Required, pay for content, paid endpoint, agent payments). NOT for custom model training, Rekognition, or Comprehend.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[887,888,889],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":890,"slug":891,"type":15},"LLM","llm","2026-07-25T05:30:35.20899",{"slug":894,"name":894,"fn":895,"description":896,"org":897,"tags":898,"stars":21,"repoUrl":22,"updatedAt":907},"amazon-documentdb","manage Amazon DocumentDB clusters","Manages Amazon DocumentDB end-to-end — serverless-on-8.0 cluster setup, TLS\u002FVPC\u002Fdriver config, flexible-schema and vector-search data modeling, MongoDB compatibility assessment, DMS-based migration, slow-query diagnosis, major version upgrades (4.0→5.0→8.0), Well-Architected reviews (41-check wa_review.py), cost estimation, and security hardening. Retrieve for every DocumentDB question and when the user asks to set up or migrate MongoDB to AWS — DocumentDB is AWS's MongoDB-compatible managed database. Triggers: JSON document store, document database, MongoDB on AWS, Nested fields, Lambda cannot connect, TLS handshake, VPC port 27017, IAM auth, Secrets Manager, encryption at rest, $graphLookup, flexible schema, COLLSCAN, compound index, DMS migration, CDC cutover, $vectorSearch, RAG, Global Clusters, DR replication, cost sizing, audit, health check, production-readiness.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[899,900,901,904],{"name":20,"slug":8,"type":15},{"name":859,"slug":860,"type":15},{"name":902,"slug":903,"type":15},"MongoDB","mongodb",{"name":905,"slug":906,"type":15},"NoSQL","nosql","2026-07-12T08:43:00.455878",{"slug":909,"name":909,"fn":910,"description":911,"org":912,"tags":913,"stars":21,"repoUrl":22,"updatedAt":917},"amazon-dynamodb","design and debug DynamoDB data layers","Designs, reviews, and debugs DynamoDB data layers from design axioms — enumerates access patterns, chooses partition\u002Fsort keys and GSIs, decides single-table vs. multi-table, configures Streams, Global Tables, TTL, and zero-ETL integrations to OpenSearch\u002FRedshift\u002FSageMaker Lakehouse, and produces a defensible data-layer design with a monthly cost estimate and optional live validation. Applies whenever a user is designing, reviewing, or refactoring anything backed by DynamoDB — schemas, access patterns, GSIs, single- vs. multi-table choices, Streams consumers, transactional outboxes, Global Tables, zero-ETL pipelines — even when they don't say \"axioms\" or \"design review.\" Also applies when debugging hot partitions, throttling, unbounded Scans, LWW conflicts, or surprise bills on DynamoDB workloads.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[914,915,916],{"name":20,"slug":8,"type":15},{"name":859,"slug":860,"type":15},{"name":905,"slug":906,"type":15},"2026-07-16T06:00:37.690386",115,{"items":920,"total":970},[921,928,935,942,949,955,962],{"slug":751,"name":751,"fn":752,"description":753,"org":922,"tags":923,"stars":21,"repoUrl":22,"updatedAt":766},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[924,925,926,927],{"name":757,"slug":758,"type":15},{"name":760,"slug":761,"type":15},{"name":20,"slug":8,"type":15},{"name":764,"slug":765,"type":15},{"slug":768,"name":768,"fn":769,"description":770,"org":929,"tags":930,"stars":21,"repoUrl":22,"updatedAt":779},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[931,932,933,934],{"name":757,"slug":758,"type":15},{"name":775,"slug":776,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":8,"type":15},{"slug":781,"name":781,"fn":782,"description":783,"org":936,"tags":937,"stars":21,"repoUrl":22,"updatedAt":794},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[938,939,940,941],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":789,"slug":790,"type":15},{"name":792,"slug":793,"type":15},{"slug":796,"name":796,"fn":797,"description":798,"org":943,"tags":944,"stars":21,"repoUrl":22,"updatedAt":809},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[945,946,947,948],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":804,"slug":805,"type":15},{"name":807,"slug":808,"type":15},{"slug":811,"name":811,"fn":812,"description":813,"org":950,"tags":951,"stars":21,"repoUrl":22,"updatedAt":819},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[952,953,954],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":807,"slug":808,"type":15},{"slug":821,"name":821,"fn":822,"description":823,"org":956,"tags":957,"stars":21,"repoUrl":22,"updatedAt":834},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[958,959,960,961],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":829,"slug":830,"type":15},{"name":832,"slug":833,"type":15},{"slug":836,"name":836,"fn":837,"description":838,"org":963,"tags":964,"stars":21,"repoUrl":22,"updatedAt":850},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[965,966,967,968,969],{"name":757,"slug":758,"type":15},{"name":20,"slug":8,"type":15},{"name":844,"slug":845,"type":15},{"name":792,"slug":793,"type":15},{"name":848,"slug":849,"type":15},114]