Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/thimslugga-aws-login
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: cloud, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/aws-login
What's inside
- Skill name
aws-login- Description
- "Gets AWS credentials for CLI/SDK 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."
- License
- MIT
- Instructions
- 96 lines in SKILL.md · view on GitHub
Before installing
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (1)
- SKILL.md
SKILL.md (first lines)
# AWS Login — Get CLI/SDK Credentials Help 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. **Important:** - You MUST run `aws --version` and `aws login` in the user's local shell — NOT via MCP/API tools. - You MUST ask the user for confirmation before running `aws login`. You MUST 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. ## When NOT to Use This Skill - User is setting up CI/CD credentials — they need IAM roles or OIDC federation, not `aws login` ## Prerequisites The `aws login` command requires **AWS CLI version 2.32.0 or later**. Check the installed version: ```bash aws --version ``` If the CLI is not installed or is below 2.32.0, inform the user and ask if they'd like to install/update (link them to the [AWS CLI installation guide](https://docs.aws.amazon.com/cli/latest/userguide/getting-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. ## Flow ### Lead with the recommendation In 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. ### Pre-condition checks (run silently before asking confirmation) Run these via the local shell to inform your plan. Report what you find, but do not gate the recommendation on user-supplied output: 1. `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://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) and stop. 2. `aws sts get-caller-identity` — check current credentials. - **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 <name>` so the existing default isn't overwritten. - **Fails** (missing or expired): proceed with `aws login` on the default profile. 3. *(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. ### Confirm and run aws login Once 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 <name>`). ### Verify After `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`. ## Handling Errors ### "command not found" or version too old The CLI is not installed or below 2.32.0. Direct the user to install or update: [AWS CLI installation guide](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html). ### Browser doesn't open Suggest `aws login --remote` which provides a URL and code for cross-device authentication (e.g., when using a remote server without a browser). ### Permission error after login The 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. ### GovCloud, China, EUSC, ISO, ISOB, ISOE or ISOF partitions `aws login` is not available in GovCloud, China, EUSC, ISO, ISOB, ISOE or ISOF partitions. You MUST NOT mention this exception proactively — only relevant if the user explicitly states they are in one of these partitions. ## Users With Existing `aws sso login` Workflows If 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: - `aws sso login` is for users whose organization has configured AWS IAM Identity Center (SSO). They have profiles in `~/.aws/config` pointing at an SSO start URL. Respect their established workflow. - If their `aws sso login` is failing, help troubleshoot within their context: expired SSO session, revoked authorization, cached token issues (`~/.aws/sso/cache/`), or Identity Center configuration changes. ## Fallback to `aws configure` DO 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: 1. The user explicitly declines `aws login` or asks for alternatives. 2. The user states they are in GovCloud, China, EUSC, ISO, ISOB, ISOE or ISOF partitions (where `aws login` is unavailable). 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. ## Key Points - You MUST not front-load troubleshooting — keep the initial response simple and address errors only if they occur - `aws login` works with root users, IAM users and federation with IAM ## Additional Resources - [Sign in through the AWS CLI](https://docs.aws.amazon.com/signin/latest/userguide/command-line-sign-in.html) - [Installing or updating the AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) - [SignInLocalDevelopmentAccess managed policy](https://docs.aws.amazon.com/aws-managed-policy/latest/reference/SignInLocalDevelopmentAccess.html) - [IAM security best practices](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)
From thimslugga/agent-skills, MIT.
More from thimslugga/agent-skills
- 0.529score
aws-iam
thimslugga
Verified corrections for IAM behaviors that AI agents frequently get wrong — policy evaluation edge cases, trust policy gotchas, STS session limits…
SkillBFreshness: BClaude Code +9 - 0.524score
chrome-devtools
thimslugga
Use when interacting with, testing, or debugging a browser page through Chrome DevTools MCP, including UI behavior, screenshots, console and network issues…
SkillBFreshness: BClaude Code +9 - 0.521score
agents-md-refactor
thimslugga
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles.
SkillBFreshness: BClaude Code +9 - 0.521score
anti-ui-slop
thimslugga
Stop Codex, Claude Code, and Kiro from shipping generic UI.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 11, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/thimslugga/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from thimslugga
- 0.570score
adr
thimslugga
Create and maintain Architecture Decision Records (ADRs).
SkillAFreshness: AClaude Code +9 - 0.567score
golang-pro
thimslugga
Write, edit, update, or review Go code to a consistent professional standard: gofumpt-formatted, go vet clean, golangci-lint clean under a curated config.
SkillAFreshness: AClaude Code +9 - 0.565score
gauntlet-loop
thimslugga
Turns any goal into one short, paste-ready "gauntlet loop" prompt - a prompt that makes an agent set a concrete quality bar, split the work into small…
SkillAFreshness: AClaude Code +9 - 0.565score
ast-grep-outline
thimslugga
Use when exploring or modifying a codebase and you need a cheap structural map of files, directories, imports, exports, or direct members before reading full…
SkillAFreshness: AClaude Code +9 - 0.540score
impeccable
thimslugga
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or…
SkillAFreshness: AClaude Code +9 - 0.529score
redshift-api
thimslugga
Run SQL against Amazon Redshift — submit statements, poll status, page through results, and browse databases/schemas/tables.
SkillBFreshness: BClaude Code +9
Cite this page
aws-login skill. Agent Mart. https://agentmart.dev/skills/thimslugga-aws-login (last updated 2026-10-24)