AWS CloudWatch Monitoring
A reference skill for CloudWatch metrics, logs, alarms and dashboards with ready-to-run CLI and boto3 examples.
Data & AnalyticsIntermediate★ 1,150⑂ 444AI score 8/10Last updated: Aug 24, 2026
What it does
- Summarizes CloudWatch core concepts (metrics, namespaces, dimensions, log groups/streams, alarm states) so the assistant uses precise terminology.
- Ships copy-paste patterns for metric alarms, Lambda error-rate math alarms, Logs Insights queries, metric filters, custom metric publishing, and dashboard creation in both AWS CLI and boto3.
- Includes a troubleshooting section for missing metrics, alarms stuck in INSUFFICIENT_DATA, logs not appearing, and cost spikes, each with a diagnostic command.
- Lists operational and cost best practices: retention policies, avoiding dimension explosion, anomaly detection, subscription filters.
Who it's for
- Backend, DevOps and SRE engineers who configure monitoring on AWS themselves.
- Developers debugging Lambda or EC2 issues through log queries.
- Teams auditing and reducing a growing CloudWatch bill.
Examples
- "Alarm me via SNS when this EC2 instance goes over 80% CPU" → generates the exact put-metric-alarm call.
- "Show ERROR lines from the last hour of my Lambda logs" → uses start-query plus get-query-results.
- "Build a dashboard with Lambda invocations and recent errors" → writes dashboard.json and runs put-dashboard.
· · · 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 /tmp/aws-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/aws-agent-skills/skills/cloudwatch ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Prerequisites: install the AWS CLI and configure credentials with
aws configure(runpip install boto3if you plan to use the Python snippets). - Clone the repository:
git clone https://github.com/itsmostafa/aws-agent-skills.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy just this skill:
cp -r aws-agent-skills/skills/cloudwatch ~/.claude/skills/ - Restart Claude Code and ask something like "create a CloudWatch alarm for my Lambda errors" to trigger it.
- Review any generated command before running it against a production account, or test in a sandbox account first.
View source on GitHub ↗License: MIT