重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
aws-cloud-ops by oimiragieo/agent-studio
npx skills add https://github.com/oimiragieo/agent-studio --skill aws-cloud-ops该技能调用 AWS CLI v2。请安装并配置:
sudo ./aws/installcurl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" 然后运行安装程序msiexec;或通过包管理器安装配置:aws configure(访问密钥、密钥、区域)。验证:aws --version
身份与配置: aws sts get-caller-identity — 我是谁; — 列出配置文件。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
aws configure list-profilesS3: aws s3 ls;aws s3 cp <本地路径> s3://桶名/;aws s3 sync ./目录 s3://桶名/;aws s3 rm s3://桶名/键名。
Lambda: aws lambda list-functions;aws lambda invoke --function-name 函数名 output.json;aws lambda get-function --function-name 函数名。
CloudWatch: aws cloudwatch list-metrics;aws cloudwatch get-metric-statistics;aws cloudwatch describe-alarms;使用 put-metric-alarm 设置告警。
EC2: aws ec2 describe-instances;使用 --instance-ids 参数执行 start-instances/stop-instances/terminate-instances。
最佳实践: 优先使用 IAM 角色而非长期密钥;设置 AWS_REGION/AWS_PROFILE;使用 --output json 和 --query 限制响应大小;执行破坏性操作前先运行 describe 确认资源。
免费资源: AWS Skill Builder — 考试准备、Cloud Quest、Cloud Essentials。云从业者认证 (CLF-C02): 云概念、安全/合规、技术/服务、计费(约需 6 个月经验)。解决方案架构师助理认证: 下一步;可在 Skill Builder 上准备。
技能数据: 映射到 S3、Lambda、CloudWatch、EC2、IAM;安全最佳实践;无硬编码凭据。
建议的钩子: 部署前:验证凭据 (aws sts get-caller-identity)。成本跟踪钩子:可选的 CloudWatch/计费检查。无强制钩子;当 devops 代理被路由处理 AWS 任务时使用。
工作流: 与 devops 代理配合使用(上下文相关:aws_project)。流程:检测 AWS 项目 → 加载 aws-cloud-ops 技能 → 通过技能脚本运行 CLI。如需调试 AWS 资源,请参阅 operations/incident-response。
相比原始的 AWS MCP 服务器,可节省 90% 以上的上下文开销。支持多服务,并按服务类别渐进式披露。
| 工具 | 描述 | 确认 |
|---|---|---|
| logs-groups | 列出日志组 | 否 |
| logs-tail | 跟踪日志流 | 否 |
| logs-filter | 过滤日志事件 | 否 |
| metrics-list | 列出指标 | 否 |
| metrics-get | 获取指标数据 | 否 |
| alarm-list | 列出告警 | 否 |
| alarm-create | 创建告警 | 是 |
| 工具 | 描述 | 确认 |
|---|---|---|
| s3-ls | 列出存储桶/对象 | 否 |
| s3-cp | 复制对象 | 是 |
| s3-sync | 同步目录 | 是 |
| s3-rm | 删除对象 | 是 |
| 工具 | 描述 | 确认 |
|---|---|---|
| lambda-list | 列出函数 | 否 |
| lambda-get | 获取函数详情 | 否 |
| lambda-invoke | 调用函数 | 是 |
| lambda-logs | 获取函数日志 | 否 |
| 工具 | 描述 | 确认 |
|---|---|---|
| ec2-list | 列出实例 | 否 |
| ec2-describe | 描述实例 | 否 |
| ec2-start | 启动实例 | 是 |
| ec2-stop | 停止实例 | 是 |
| sg-list | 列出安全组 | 否 |
| 工具 | 描述 | 确认 |
|---|---|---|
| iam-users | 列出用户 | 否 |
| iam-roles | 列出角色 | 否 |
| iam-policies | 列出策略 | 否 |
# 列出 EC2 实例
aws ec2 describe-instances --output table
# 跟踪 CloudWatch 日志
aws logs tail /aws/lambda/my-function --follow
# 列出 S3 存储桶
aws s3 ls
# 调用 Lambda 函数
aws lambda invoke --function-name my-func output.json
⚠️ 切勿硬编码凭据 ⚠️ 尽可能使用 IAM 角色 ⚠️ IAM 写入操作已被阻止
| 问题 | 解决方案 |
|---|---|
| 访问被拒绝 | 检查 IAM 权限 |
| 区域错误 | 设置 AWS_REGION |
| 凭据问题 | 运行 aws configure |
开始前: 阅读 .claude/context/memory/learnings.md
完成后:
.claude/context/memory/learnings.md.claude/context/memory/issues.md.claude/context/memory/decisions.md假设中断:如果不在记忆中,则视为未发生。
每周安装数
64
代码仓库
GitHub 星标数
19
首次出现
2026年1月27日
安全审计
安装于
github-copilot63
gemini-cli62
cursor62
kimi-cli61
amp61
codex61
The skill invokes the AWS CLI v2. Install and configure:
sudo ./aws/installcurl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" then run the installermsiexec; or install via package managersConfigure: aws configure (access key, secret, region). Verify: aws --version
Identity & config: aws sts get-caller-identity — who am I; aws configure list-profiles — list profiles.
S3: aws s3 ls; aws s3 cp <local> s3://bucket/; aws s3 sync ./dir s3://bucket/; aws s3 rm s3://bucket/key.
Lambda: aws lambda list-functions; aws lambda invoke --function-name X output.json; aws lambda get-function --function-name X.
CloudWatch: aws cloudwatch list-metrics; aws cloudwatch get-metric-statistics; aws cloudwatch describe-alarms; put-metric-alarm for alerts.
EC2: aws ec2 describe-instances; start-instances/stop-instances/terminate-instances with --instance-ids.
Best practices: Use IAM roles over long-lived keys; set AWS_REGION/AWS_PROFILE; use --output json and --query to limit response size; run destructive ops only after describe to confirm resources.
Free: AWS Skill Builder — exam prep, Cloud Quest, Cloud Essentials. Cloud Practitioner (CLF-C02): Cloud concepts, security/compliance, technology/services, billing (~6 months exposure). Solutions Architect Associate: Next step; prep on Skill Builder.
Skill data: Map to S3, Lambda, CloudWatch, EC2, IAM; security best practices; no hardcoded credentials.
Suggested hooks: Pre-deploy: validate credentials (aws sts get-caller-identity). Cost-tracking hook: optional CloudWatch/billing checks. No mandatory hook; use when devops is routed for AWS tasks.
Workflows: Use with devops (contextual: aws_project). Flow: detect AWS project → load aws-cloud-ops → run CLI via skill script. See operations/incident-response if debugging AWS resources.
Provides 90%+ context savings vs raw AWS MCP server. Multi-service support with progressive disclosure by service category.
| Tool | Description | Confirmation |
|---|---|---|
| logs-groups | List log groups | No |
| logs-tail | Tail log stream | No |
| logs-filter | Filter log events | No |
| metrics-list | List metrics | No |
| metrics-get | Get metric data | No |
| alarm-list | List alarms | No |
| alarm-create | Create alarm | Yes |
| Tool | Description | Confirmation |
|---|---|---|
| s3-ls | List buckets/objects | No |
| s3-cp | Copy objects | Yes |
| s3-sync | Sync directories | Yes |
| s3-rm | Delete objects | Yes |
| Tool | Description | Confirmation |
|---|---|---|
| lambda-list | List functions | No |
| lambda-get | Get function details | No |
| lambda-invoke | Invoke function | Yes |
| lambda-logs | Get function logs | No |
| Tool | Description | Confirmation |
|---|---|---|
| ec2-list | List instances | No |
| ec2-describe | Describe instance | No |
| ec2-start | Start instance | Yes |
| ec2-stop | Stop instance | Yes |
| sg-list | List security groups | No |
| Tool | Description | Confirmation |
|---|---|---|
| iam-users | List users | No |
| iam-roles | List roles | No |
| iam-policies | List policies | No |
# List EC2 instances
aws ec2 describe-instances --output table
# Tail CloudWatch logs
aws logs tail /aws/lambda/my-function --follow
# List S3 buckets
aws s3 ls
# Invoke Lambda
aws lambda invoke --function-name my-func output.json
⚠️ Never hardcode credentials ⚠️ Use IAM roles when possible ⚠️ IAM write operations are blocked
| Issue | Solution |
|---|---|
| Access denied | Check IAM permissions |
| Region error | Set AWS_REGION |
| Credentials | Run aws configure |
Before starting: Read .claude/context/memory/learnings.md
After completing:
.claude/context/memory/learnings.md.claude/context/memory/issues.md.claude/context/memory/decisions.mdASSUME INTERRUPTION: If it's not in memory, it didn't happen.
Weekly Installs
64
Repository
GitHub Stars
19
First Seen
Jan 27, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykWarn
Installed on
github-copilot63
gemini-cli62
cursor62
kimi-cli61
amp61
codex61