signing-in-to-aws
Installation
SKILL.md
Sign In — 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 loginandaws --versionin the user's local shell — NOT via MCP/API tools. - 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 runaws login?" or "Shall I proceed withaws login?"). Wait for their response before proceeding.
Prerequisites
The aws login command requires AWS CLI version 2.32.0 or later.
Check the installed version:
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), 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.