🧪 Skills
AWS CloudWatch
--- name: aws-cloud-watch description: Query AWS CloudWatch metrics for ECS/EC2/RDS and return charts. --- # AWS CloudWatch Skill Use this skill to fetch CloudWatch metrics for ECS / EC2 / RDS and r
v0.0.1
Description
name: aws-cloud-watch description: Query AWS CloudWatch metrics for ECS/EC2/RDS and return charts.
AWS CloudWatch Skill
Use this skill to fetch CloudWatch metrics for ECS / EC2 / RDS and return text summaries.
Entry
Preferred entry script:
node {baseDir}/src/skill.mjs --service ecs --metric cpu --resource <cluster-name> --hours 1
Environment
Required (AK/SK):
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEY
Optional:
AWS_REGION(default:us-west-2)
Usage (internal)
Run the CLI script in {baseDir}:
node {baseDir}/src/cli.js --service ecs --metric CPUUtilization --resource <cluster-name-or-arn> --hours 1
node {baseDir}/src/cli.js --service ecs --metric cpu --resource <cluster-name>
You can define metric aliases in {baseDir}/config.json (see config.example.json).
Supported services
ecs(cluster-level metrics)ec2rds
Defaults
- Region:
us-west-2 - Period: 300 seconds (5 minutes)
- Time window: 1 hour
Notes
- ECS metrics are cluster-level unless Container Insights is enabled.
- If the metric is unavailable, return a clear message.
- Text-only output (no chart rendering).
- Uses SigV4 signing via native crypto (no AWS SDK, no external packages).
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!