用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/nirecom/agents --skill aws-scan-resources命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Edit source code for the current task. Delegates editing and lint/typecheck/self-repair to a subagent.
Plan and write test cases with high reasoning effort. Test iteration runs in a subagent to minimize confirmations.
Conduct a decision-tree interview with the user to lock in requirements, motivation, scope, and non-goals before planning.
基于 SOC 职业分类
正在显示 SKILL.md
| name | aws-scan-resources |
| description | Enumerate AWS compute, storage, network, and IAM resources and write a structured inventory to AWS_STATE_DIR. |
| model | sonnet |
| effort | medium |
| context | fork |
ASR-1. Verify: aws CLI, AWS_PROFILE, AWS_STATE_DIR.
ASR-2. Enumerate with read-only CLI (pass --profile $AWS_PROFILE --region $AWS_DEFAULT_REGION on every call):
aws ec2 describe-instances --query 'Reservations[].Instances[].{id:InstanceId,state:State.Name,type:InstanceType}'aws ecs list-clusters + aws ecs list-services --cluster <name>aws lambda list-functions --query 'Functions[].{name:FunctionName,runtime:Runtime}'aws s3api list-buckets --query 'Buckets[].Name'aws ec2 describe-volumes --query 'Volumes[].{id:VolumeId,size:Size,state:State}'aws rds describe-db-instances --query 'DBInstances[].{id:DBInstanceIdentifier,engine:Engine}'aws ec2 describe-vpcs, aws ec2 describe-security-groupsaws iam list-users, aws iam list-roles, aws iam list-policies --scope Local
ASR-3. Write raw data to $AWS_STATE_DIR/resources-<YYYYMMDD>.json. Single-region scope.
ASR-4. Write human-readable summary to $AWS_STATE_DIR/resources-<YYYYMMDD>.md:Skip if $AWS_STATE_DIR/resources-<YYYYMMDD>.json exists and is less than 4 hours old.