cloudwatch

Create metric alarms and query logs with AWS CloudWatch Insights.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/tjl8787/mycodex-skills --skill cloudwatch-tjl8787
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cloudwatch
Source: https://github.com/tjl8787/mycodex-skills/tree/main/skills/cloudwatch
Command: npx skills add https://github.com/tjl8787/mycodex-skills --skill cloudwatch-tjl8787

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you monitor your AWS resources and applications by collecting metrics, logs, and events, enabling you to troubleshoot and optimize your environment.

Core Features & Use Cases

  • Metrics Monitoring: Track key performance indicators like CPU utilization, error rates, and latency.
  • Log Analysis: Query and analyze logs for troubleshooting and debugging.
  • Alarming: Set up automated alerts for critical events and thresholds.
  • Dashboards: Visualize your monitoring data for a clear overview.
  • Use Case: Automatically create an alarm that notifies you via SNS when your Lambda function's error rate exceeds 5% over a 1-minute period.

Quick Start

Use the cloudwatch skill to create a metric alarm for high CPU utilization on an EC2 instance.

Frequently Asked Questions about cloudwatch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an AWS CloudWatch alarm for high CPU utilization on an EC2 instance?

To create a CloudWatch alarm for high EC2 CPU utilization, configure a metric alarm that monitors the CPUUtilization metric and triggers an automated alert via SNS when it breaches your defined threshold.

How do I query AWS CloudWatch logs for troubleshooting application errors?

Query CloudWatch logs for troubleshooting by using CloudWatch Insights to search, filter, and analyze log events, enabling you to quickly isolate application errors and debug performance issues.

Can I use AWS CLI and boto3 to publish custom metrics to CloudWatch?

Yes, you can publish custom metrics to CloudWatch using AWS CLI and boto3, allowing you to track application-specific performance indicators that are not automatically collected by default AWS services.

What is the best way to monitor AWS Lambda function error rates using CloudWatch?

The best way to monitor Lambda error rates is to set up a CloudWatch metric alarm that calculates the error percentage over a specified period and sends an SNS notification when it exceeds your threshold.

How do CloudWatch metric filters help with proactive issue detection?

CloudWatch metric filters extract numerical values from log data to create custom metrics, enabling proactive issue detection by triggering alarms based on specific text patterns or error events before they impact performance.

Do I need to install additional dependencies to track AWS resource metrics with CloudWatch?

No additional dependencies are required to track AWS resource metrics, as CloudWatch natively collects standard metrics from your AWS resources and applications, though AWS CLI or boto3 is needed for custom metric publishing.