Install
$ agentstack add skill-cookiemonsterdev-agents-skills-aws-cli-docs ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
AWS CLI questions are easy to answer from stale memory or v1 syntax. Use this skill to ground answers in the official AWS CLI documentation and return the closest authoritative page instead of guessing service-specific console steps.
When to Use
Use this skill when the request is about:
- Installing, upgrading, or uninstalling AWS CLI version 2
- Configuring credentials, profiles, regions, and output formats
- Authentication with access keys, IAM roles, SSO, or external credential processes
- Command structure, parameters, pagination, filtering, and output control
- JMESPath
--query,--output, and return codes - Interactive features: command prompts, wizards, and aliases
- Retries, proxies, endpoints, and environment variables
- Shell completion and scripting patterns
- Migrating scripts from AWS CLI v1 to v2
- Troubleshooting install, configure, or runtime errors
- Service-specific CLI command syntax (via the command reference)
Do not use this skill for:
- AWS SDK application code unless the question is specifically about shared AWS CLI/SDK configuration or credentials.
- AWS Management Console UI walkthroughs when the user needs CLI commands instead.
- Infrastructure-as-code tools (CloudFormation, CDK, Terraform) unless the question is about invoking AWS via the CLI.
- Non-AWS command-line tools such as
kubectl,docker, orredis-cli.
Workflow
1. Classify the request
Decide which bucket the question belongs to before searching:
- Getting started and installation
- Configuration, credentials, and profiles
- Command usage, parameters, and structure
- Output formatting, filtering, and pagination
- Authentication (SSO, roles, external processes)
- Interactive features and scripting helpers
- Migration from CLI v1 to v2
- Troubleshooting and return codes
- Service-specific command reference
If you need a quick starting point, load references/topic-map.md and jump to the closest section.
2. Search official AWS CLI docs first
- Treat
docs.aws.amazon.com/cli/latestas the source of truth for AWS CLI. - Prefer the user guide at for concepts and workflows.
- Prefer the command reference at for service operation syntax.
- Search with the user's exact terms plus focused CLI phrases such as
--profile,--query,aws configure sso,credential_process, or--no-cli-pager. - When multiple pages are plausible, compare 2-3 candidate pages and pick the one that most directly answers the user's question.
- For v1-to-v2 migration questions, check the migration guide before answering from v1 behavior.
3. Open the best page before answering
- Read the most relevant page, and the exact section when practical.
- Use the topic map only to narrow the search space or surface likely starting pages.
- For service commands, open the specific service page in the command reference (for example
aws s3,aws ec2,aws iam). - If a page appears renamed, moved, or incomplete, say that explicitly and return the nearest authoritative pages instead of guessing.
4. Answer with docs-grounded guidance
- Start with a direct answer in plain language.
- Include exact AWS CLI docs links, not just the docs homepage.
- Only provide command examples when the user asks for them or when the docs page makes an example necessary.
- Make any inference explicit. Good phrasing:
According to AWS CLI docs, ...Inference: this likely means ...
Answer Shape
Use a compact structure unless the user asks for depth:
- Direct answer
- Relevant docs
- Example commands, only if needed
- Explicit inference callout, only if you had to connect multiple docs pages
Keep citations close to the claim they support.
Search and Routing Tips
- For install questions, prefer Getting Started and install pages before troubleshooting.
- For credential questions, check configuration precedence (command line > environment > credentials file > config file).
- For output questions, prefer output format and JMESPath filtering docs before improvising
jqpipelines. - For SSO questions, prefer SSO configuration docs over legacy access-key-only setup.
- For scripting questions, note return codes, pagination (
--no-paginate), and--cli-read-timeoutas documented. - For service syntax questions, use
aws helppatterns documented in the command reference. - Default to AWS CLI version 2 unless the user explicitly needs version 1.
Common Mistakes
- Answering from memory without verifying the current AWS CLI docs
- Linking the AWS CLI landing page when a narrower user guide or command reference page exists
- Mixing AWS CLI v1 and v2 syntax or pagination behavior
- Putting secrets in shell history when the docs recommend profiles, SSO, or
credential_process - Forgetting that
--regionand--profileare common global options across services - Treating console-only workflows as CLI equivalents without checking the command reference
Bundled Reference
Read references/topic-map.md only as a compact index of likely doc entry points. It is intentionally incomplete and should never replace the live AWS CLI docs as the final authority.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: cookieMonsterDev
- Source: cookieMonsterDev/agents-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.