aws-infra
由 bmdhodl 提供
DevOps & Cloud简介
Chat-based AWS infrastructure assistance using AWS CLI and console.
描述
该技能的功能
Chat-based interface for querying and auditing AWS resources via the local AWS CLI. Defaults to read-only operations across EC2, S3, IAM, Lambda, ECS/EKS, RDS, CloudWatch, and billing. Any write or destructive action requires explicit user confirmation before execution.
Answers AWS resource questions directly in chat without switching between the console, CLI docs, and terminal tabs.
何时使用
- Listing all EC2 instances and their current status in a region
- Auditing S3 buckets for public access exposure
- Checking IAM user permissions and active policies
- Querying CloudWatch logs for recent Lambda errors
- Reviewing current AWS spend and cost breakdowns by service
示例工作流
User asks: Which of my S3 buckets have public access enabled?
- 1
Runs aws sts get-caller-identity to confirm active account and region
- 2
Runs aws s3api list-buckets to retrieve all bucket names
- 3
Checks public access block configuration for each bucket via aws s3api get-public-access-block
- 4
Compiles buckets where any block setting is false or missing
A list of bucket names with public access enabled, along with the specific block settings that are off
前置要求
- AWS account with IAM credentials that have read access to target services
- AWS CLI installed and configured via ~/.aws/config or AWS_PROFILE/AWS_REGION environment variables
安装
clawhub install bmdhodl/aws-infra运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。