Agent skill · DevOps & Cloud

cloudwatch

AWS CloudWatch monitoring for logs, metrics, alarms, and dashboards. Use when setting up monitoring, creating alarms, querying logs with Insights, configuring metric filters, building dashboards, or troubleshooting application issues.

itsmostafagithub.com/itsmostafaGitHub ↗
claude-codecodexMIT
Install
npx skills add itsmostafa/aws-agent-skills --skill cloudwatch --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/cloudwatch/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,139
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# AWS CloudWatch Amazon CloudWatch provides monitoring and observability for AWS resources and applications. It collects metrics, logs, and events, enabling you to monitor, troubleshoot, and optimize your AWS environment. ## Table of Contents - [Core Concepts](#core-concepts) - [Common Patterns](#common-patterns) - [CLI Reference](#cli-reference) - [Best Practices](#best-practices) - [Troubleshooting](#troubleshooting) - [References](#references) ## Core Concepts ### Metrics Time-ordered data points published to CloudWatch. Key components: - **Namespace**: Container for metrics (e.g., `AWS/Lambda`) - **Metric name**: Name of the measurement (e.g., `Invocations`) - **Dimensions**: Name-value pairs for filtering (e.g., `FunctionName=MyFunc`) - **Statistics**: Aggregations (Sum, Average, Min, Max, SampleCount, pN) ### Logs Log data from AWS services and applications: - **Log groups**: Collections of log streams - **Log streams**: Sequences of log events from same source - **Log events**: Individual log entries with timestamp and message ### Alarms Automated actions based on metric thresholds: - **States**: OK, ALARM, INSUFFICIENT_DATA - **Actions**: SNS notifications, Auto Scaling, EC

What's inside
Steps it walks through
  1. Table of Contents
  2. Core Concepts
  3. Metrics
  4. Logs
  5. Alarms
  6. Common Patterns
  7. Create a Metric Alarm
  8. Lambda Error Rate Alarm
  9. Query Logs with Insights
  10. Create Metric Filter
  11. Publish Custom Metrics
  12. Create Dashboard
  13. CLI Reference
  14. Metrics Commands
Ships with 1 file
  • alarms-metrics.md
Commands it runs
CPU utilization alarm for EC2
aws cloudwatch put-metric-alarm \
Find errors in Lambda logs
aws logs start-query \
fields @timestamp, @message
Get query results
aws logs get-query-results --query-id <query-id>
Create metric filter for error count
aws logs put-metric-filter \
cat > dashboard.json << 'EOF'
More from aws-agent-skills
All skills →
About this skill
What does the cloudwatch skill do?

AWS CloudWatch monitoring for logs, metrics, alarms, and dashboards. Use when setting up monitoring, creating alarms, querying logs with Insights, configuring metric filters, building dashboards, or troubleshooting application issues.

How do I install it?

Run `npx skills add itsmostafa/aws-agent-skills --skill cloudwatch --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From itsmostafa/aws-agent-skills, a repository with 1,139 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going