g1joshi/agent-skills/awscli
Claude Code and agent skill by g1joshi/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Expert AWS CLI assistance covering command-line options, profiles, JMESPath output queries (--query), and scripting automation. Use when querying AWS resources, automating deployments, and managing cloud services.
Install
npx vskill@latest install g1joshi/agent-skills/awscliSKILL.md
AWS CLI
The AWS Command Line Interface (CLI) enables programmatic management of AWS resources, with first-class support for AWS IAM Identity Center and credential automation.
When to Use
- Scripting & Automating AWS Operations: Managing cloud resources from shell scripts and CI/CD runners via
aws. - Querying AWS Resources with JMESPath: Filtering and extracting precise JSON properties using
--query. - High-Speed S3 File Synchronization: Syncing gigabytes of assets with parallel multi-part transfers (
aws s3 sync). - AssumeRole & Temporary Credential Management: Generating STS temporary tokens for secure script execution.
Quick Start
Core Concepts
JMESPath Filtering & Formatting
Querying specific fields without installing jq:
High-Throughput S3 Synchronization
Syncing build artifacts with cache headers:
AssumeRole with AWS STS
Assuming cross-account deployment roles securely:
Common Patterns
Advanced JMESPath Filtering and Table Formatting
Problem: Inspecting hundreds of EC2 instances or S3 buckets returns overwhelming JSON output.
Solution: Use --query with JMESPath projections:
Best Practices
Do:
- Target AWS CLI v2 (
aws --version) which includes native SSO and Pager integration. - Use
--query(JMESPath) for client-side filtering and--filtersfor server-side filtering. - Configure AWS IAM Identity Center (
aws configure sso) instead of long-lived access keys. - Disable paging in automated shell scripts by setting
export AWS_PAGER="".
Don't:
- Commit
~/.aws/credentialsor access keys to Git repositories. - Use
aws s3 cpin loops for multi-file transfers; useaws s3 syncfor automated diffing. - Parse AWS CLI JSON output with brittle
greporawk; use--output textwith--queryorjq.
Troubleshooting
| Error | Cause | Solution | |
|---|---|---|---|
The config profile (...) could not be found | Profile name not declared in ~/.aws/config or ~/.aws/credentials. | Run aws configure --profile <name> or verify AWS_PROFILE env var. | |
An error occurred (RequestLimitExceeded) | Script calling AWS CLI in a tight loop without rate limiting. | Add sleep delays or use AWS SDK with exponential backoff. | |
Invalid value for --query: Syntax error | JMESPath query has unescaped quotes or invalid projection syntax. | Test query string incrementally: start with Reservations[0]. |
References
Security
- Security scanPassed, 85 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/devops/awscli/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/g1joshi/agent-skills/awscli)