using-cloud-cli
Installation
SKILL.md
Cloud CLI Patterns
Credentials may be pre-configured. Verify identity before touching resources. Use --help or Context7 for syntax.
Safety and Identity
Before destructive commands (delete, destroy, rm, terminate, IAM changes, bucket/object deletion):
Do not present executable delete commands as the next action until identity and candidate resources have been shown and the user has explicitly confirmed the exact resources. A safe answer may show inventory/dry-run commands first, then say deletion commands come only after confirmation.
- Confirm the active cloud target:
- AWS:
aws sts get-caller-identityplus explicit--profileand--regionwhen relevant. - GCP:
gcloud config get-value accountandgcloud config get-value project, or pass explicit--project.
- AWS:
- Inventory candidate resources with non-destructive list/describe commands.
- Present the exact command, account/profile, project, region/zone, and resources affected.
- Require explicit user confirmation before execution. Do not rely on
--quiet, default profiles, or implicit projects for destructive work.