DevOps & CloudDocumentedScanned
aws-infra
Chat-based AWS infrastructure assistance using AWS CLI and console context.
Share:
Installation
npx clawhub@latest install aws-infraView the full skill documentation and source below.
Documentation
AWS Infra
Overview
Use the local AWS CLI to answer questions about AWS resources. Default to read‑only queries. Only propose or run write/destructive actions after explicit user confirmation.Quick Start
~/.aws/config.aws sts get-caller-identity
Safety Rules (must follow)
- Treat all actions as read‑only unless the user explicitly requests a change and confirms it.
- For any potentially destructive change (delete/terminate/destroy/modify/scale/billing/IAM credentials), require a confirmation step.
- Prefer
--dry-runwhen available and show the plan before execution. - Never reveal or log secrets (access keys, session tokens).
Task Guide (common requests)
- Inventory / list: use
list/describe/getcommands. - Health / errors: use CloudWatch metrics/logs queries.
- Security checks: IAM, S3 public access, SG exposure, KMS key usage.
- Costs: Cost Explorer / billing queries (read‑only).
- Changes: show exact CLI command and require confirmation.
Region & Profile Handling
- If the user specifies a region/profile, honor it.
- Otherwise use
AWS_PROFILE/AWS_REGIONif set, then fall back to~/.aws/config. - When results are region‑scoped, state the region used.
References
Seereferences/aws-cli-queries.md for common command patterns.
Assets
assets/icon.svg— custom icon (dark cloud + terminal prompt)