mcpField
A
aws-cloud-ops

aws-cloud-ops

github.com/oimiragieoCloud & DevOps4469 installsUpdated 17w ago
Repository

About aws-cloud-ops

aws-cloud-ops is an agent skill for AWS operations that uses AWS CLI v2 across several services. It presents tools by service category and blocks IAM write operations.

Key features

  1. 01Manage CloudWatch logs, metrics, and alarms
  2. 02Perform S3 object operations
  3. 03Inspect and invoke Lambda functions
  4. 04Manage EC2 instances
  5. 05Read IAM users, roles, and policies
  6. 06Require confirmation for destructive operations

Use cases

  1. 01Investigate CloudWatch logs and metrics
  2. 02Sync directories or copy S3 objects
  3. 03Inspect and start or stop EC2 instances

MCP support

The README does not describe an MCP integration.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/oimiragieo/agent-studio --skill aws-cloud-ops

After installing, type/aws-cloud-opsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

commands/
aws-cloud-ops.md
hooks/
post-execute.cjs
pre-execute.cjs
references/
research-requirements.md
rules/
aws-cloud-ops.md
schemas/
input.schema.json
output.schema.json
scripts/
main.cjs
templates/
implementation-template.md

Details

From the project README

AWS Cloud Operations Skill

Installation

The skill invokes the AWS CLI v2. Install and configure:

  • Linux x86: Download AWS CLI v2, unzip, then sudo ./aws/install
  • macOS: curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" then run the installer
  • Windows: Download MSI from AWS CLI v2 or use msiexec; or install via package managers

Configure: aws configure (access key, secret, region). Verify: aws --version

Cheat Sheet & Best Practices

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.

Certifications & Training

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.

Hooks & Workflows

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.

Overview

Provides 90%+ context savings vs raw AWS MCP server. Multi-service support with progressive disclosure by service category.

Requirements

  • AWS CLI v2
  • Configured credentials (AWS_PROFILE or ~/.aws/credentials)
  • AWS_REGION environment variable

Tools (Progressive Disclosure)

CloudWatch Operations
ToolDescriptionConfirmation
logs-groupsList log groupsNo
logs-tailTail log streamNo
logs-filterFilter log eventsNo
metrics-listList metricsNo
metrics-getGet metric dataNo
alarm-listList alarmsNo
alarm-createCreate alarmYes
S3 Operations
ToolDescriptionConfirmation
s3-lsList buckets/objectsNo
s3-cpCopy objectsYes
s3-syncSync directoriesYes
s3-rmDelete objectsYes
Lambda Operations
ToolDescriptionConfirmation
lambda-listList functionsNo
lambda-getGet function detailsNo
lambda-invokeInvoke functionYes
lambda-logsGet function logsNo
EC2 Operations
ToolDescriptionConfirmation
ec2-listList instancesNo
ec2-describeDescribe instanceNo
ec2-startStart instanceYes
ec2-stopStop instanceYes
sg-listList security groupsNo
IAM Operations (Read-Only)
ToolDescriptionConfirmation
iam-usersList usersNo
iam-rolesList rolesNo
iam-policiesList policiesNo

Quick Reference

# 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

Configuration

  • AWS_PROFILE: Named profile to use
  • AWS_REGION: Target region (e.g., us-east-1)
  • AWS_DEFAULT_OUTPUT: Output format (json/table/text)

Security

⚠️ Never hardcode credentials ⚠️ Use IAM roles when possible ⚠️ IAM write operations are blocked

Agent Integration

  • devops (primary): Cloud operations
  • cloud-integrator (primary): Multi-cloud
  • incident-responder (secondary): Troubleshooting

Troubleshooting

IssueSolution
Access deniedCheck IAM permissions
Region errorSet AWS_REGION
CredentialsRun aws configure

Memory Protocol (MANDATORY)

Before starting: Read .claude/context/memory/learnings.md

After completing:

  • New pattern -> .claude/context/memory/learnings.md
  • Issue found -> .claude/context/memory/issues.md
  • Decision made -> .claude/context/memory/decisions.md

ASSUME INTERRUPTION: If it's not in memory, it didn't happen.

Comments

Markdown supported