Best use case
awscli is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
AWS CLI command-line interface. Use for AWS automation.
Teams using awscli should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/awscli/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How awscli Compares
| Feature / Agent | awscli | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
AWS CLI command-line interface. Use for AWS automation.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# AWS CLI The AWS CLI allows you to control AWS services from the command line. In 2025, usage is centered around **AWS IAM Identity Center** (formerly SSO) for secure, short-lived credentials. ## When to Use - **Scripting**: Automate S3 uploads (`aws s3 sync`). - **DevOps**: Debugging permissions or inspecting resources without the Console UI. - **CI/CD**: Deploying CloudFormation/CDK stacks (though specialized tools are often better). ## Quick Start ```bash # Install v2 curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" sudo installer -pkg AWSCLIV2.pkg -target / # Configure with SSO (Recommended 2025) aws configure sso # SSO session name: my-session # SSO start URL: https://my-org.awsapps.com/start # SSO region: us-east-1 # Registration scopes: sso:account:access ``` ```bash # Login daily aws sso login --profile my-profile ``` ## Core Concepts ### Profiles Managed in `~/.aws/config`. Allow switching between Prod, Staging, and Dev accounts easily. `export AWS_PROFILE=prod` ### Query (`--query`) Built-in JMESPath filtering. Use it instead of piping to `jq` for simple lookups. `aws ec2 describe-instances --query "Reservations[*].Instances[*].PublicIpAddress"` ### S3 Web Viewer `aws s3 presign s3://my-bucket/file.txt` generates a temporary public URL. ## Best Practices (2025) **Do**: - **Use AWS SSO**: Stop using long-lived `aws_access_key_id` CSVs. They are the #1 cause of hacks. - **Use `aws-vault`**: If you _must_ use keys, wrap them in `aws-vault` to store them in the OS keychain. - **Update v2**: Ensure you are on v2.x. v1 is deprecated. **Don't**: - **Don't parse text output**: Always use `--output json` and a parser (`jq` or `--query`). Text output format changes. ## References - [AWS CLI Documentation](https://aws.amazon.com/cli/)
Related Skills
template
Expert [skill-name] assistance covering [feature 1], [feature 2], and [feature 3]. Use when [working with X], [debugging Y], or [implementing Z].
zsh
Zsh shell with oh-my-zsh. Use for terminal shell.
zed
Zed high-performance collaborative editor. Use for fast editing.
xcode
Xcode Apple development IDE with simulators. Use for iOS/macOS development.
webstorm
WebStorm JavaScript IDE with debugging. Use for web development.
webpack
Webpack module bundler with loaders and plugins. Use for bundling.
warp
Warp modern terminal with AI. Use for terminal work.
vscode
Visual Studio Code editor with extensions and debugging. Use for code editing.
vite
Vite fast build tool with HMR. Use for modern frontend builds.
visual-studio
Visual Studio IDE for Windows with debugging and profiling. Use for .NET development.
vim
Vim text editor with motions, macros, and plugins. Use for terminal editing.
turbopack
Turbopack Rust-powered bundler. Use for fast builds.