AWS CloudWatch Monitoring Skill
A practical CloudWatch reference that generates alarms, Logs Insights queries and dashboards via AWS CLI or boto3.
Dev & CodingIntermediate★ 1,162⑂ 445AI score 8/10Last updated: Oct 5, 2026
What it does
- Grounds Claude in CloudWatch fundamentals: metrics (namespace, dimensions, statistics), log groups/streams, alarm states and alarm types.
- Supplies ready-to-run AWS CLI commands and boto3 snippets for
put-metric-alarm,put-log-alarm,put-metric-filter,put-metric-dataandput-dashboard. - Includes common patterns such as metric-math error-rate alarms, Logs Insights queries with polling for results, and JSON dashboard bodies.
- Adds a troubleshooting section with debug commands for missing metrics, alarms stuck in INSUFFICIENT_DATA, absent log events and cost spikes.
Who it's for
- Backend, DevOps and SRE engineers who own alarms and dashboards on AWS.
- Developers who regularly dig through Lambda/EC2/ECS logs with Logs Insights.
- Cloud owners tuning log retention and CloudWatch spend.
Example uses
- "Alarm me on SNS when MyFunction's Lambda error rate exceeds 5%" → produces a metric-math alarm definition.
- "Find ERROR lines in /aws/lambda/MyFunction over the last hour" → produces the
start-query+get-query-resultsflow. - "My alarm sits in INSUFFICIENT_DATA — why?" → walks dimension mismatches, warm-up windows and scheduled-query role permissions.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/itsmostafa/aws-agent-skills/HEAD/skills/cloudwatch/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/cloudwatch folder from the GitHub repo itsmostafa/aws-agent-skills into my ~/.claude/skills/cloudwatch/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/itsmostafa/aws-agent-skills.git && mkdir -p ~/.claude/skills && cp -r aws-agent-skills/skills/cloudwatch ~/.claude/skills/cloudwatch⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal (macOS/Linux) or WSL/Git Bash on Windows.
- Clone the repository:
git clone https://github.com/itsmostafa/aws-agent-skills.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r aws-agent-skills/skills/cloudwatch ~/.claude/skills/cloudwatch - Make sure the AWS CLI is installed and credentials are configured with
aws configure(for the Python examples, runpip install boto3). - Restart Claude Code and ask something like "create a CloudWatch alarm for my Lambda" — the skill loads automatically.
View source on GitHub ↗License: MIT