aws
Files
SKILL.mdagentsreferencesscripts
Install
Install only this skill with npx skills
npx skills add alisonaquinas/llm-ci-dev --skill 'aws' -g -y
Install the containing skill bundle
/plugin install ci-cd@llm-skills
This skill is bundled inside ci-cd. Use
npx skills when you only want this skill, or install the bundle once to make every included skill available through the plugin marketplace flow. Browse the full skill bundle repository at github.com/alisonaquinas/llm-ci-dev.Invoke
Invoke this skill after installation
/ci-cd:aws
SKILL.md
name: aws
description: Operate AWS CLI (aws) for authentication checks, profile and region context inspection, service command planning, and safe command execution. Use when tasks mention AWS CLI commands, profiles/regions, STS identity checks, or AWS service operations from terminal workflows.
AWS CLI
Intent Router
| Request | Reference | Load When |
|---|---|---|
| Install tool, first-time setup | references/install-and-setup.md | User needs to install AWS CLI or do initial configuration |
| Command patterns, JMESPath | references/command-cookbook.md | User needs S3/EC2/IAM/Lambda patterns, query syntax, or command examples |
| Authentication, credentials, SSO | references/auth-and-config.md | User needs credential chain info, SSO setup, MFA, or troubleshooting auth errors |
Workflow
- Run preflight before AWS CLI workflows.
- Check authentication and identity (
sts get-caller-identity). - Confirm active profile and region context.
- Choose a service command track and inspect first.
- Require explicit confirmation before mutating commands.
# Verify identity, list profiles, and confirm S3 access
aws sts get-caller-identity
aws configure list-profiles
aws s3 ls
Preflight
Use bundled scripts:
scripts/aws-preflight.shscripts/aws-auth-status.shscripts/aws-context.shscripts/aws-diagnostics.sh [--json] [--out <file>]
Core Command Tracks
- Identity and context:
aws sts get-caller-identity,aws configure list-profiles,aws configure get region - Service inspection:
aws <service> list-*,aws <service> describe-*,aws <service> get-* - Output and filtering:
Use
--query(JMESPath) and--output json|table|yaml. - Profile and region targeting:
Use
--profileand--regionexplicitly for multi-account workflows.
Safety Guardrails
- Inspect commands first, then propose mutations.
- Ask for explicit confirmation before
create,put,update,delete,terminate, or policy changes. - Avoid exposing credential values or sensitive account details.
- Use the narrowest scope possible (resource ARN/ID, profile, and region).
Troubleshooting
- If identity checks fail, verify credentials/profile and re-run
scripts/aws-auth-status.sh. - If region is missing, set
AWS_REGIONor configure region for the active profile. - If endpoint/network calls fail, capture diagnostics first and retry when connectivity is available.
# Diagnose auth failures: show current credentials and active profile config
aws configure list
aws sts get-caller-identity --profile default
References
references/command-cookbook.md- AWS CLI v2 command reference: https://docs.aws.amazon.com/cli/latest/reference/