auto-alarms

Create CloudWatch alarms and SNS email subscriptions from infra.json configuration.

6|3|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/easingthemes/dx-aem-flow --skill auto-alarms
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: auto-alarms
Source: https://github.com/easingthemes/dx-aem-flow/tree/main/plugins/dx-automation/skills/auto-alarms
Command: npx skills add https://github.com/easingthemes/dx-aem-flow --skill auto-alarms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates CloudWatch alarm setup and SNS subscriptions for AI automation monitoring, eliminating manual configuration and ensuring consistent alerting across deployments.

Core Features & Use Cases

  • Creates four CloudWatch alarms (DLQ depth, WI-Router errors, PR-Router errors, throttles) and subscribes an alert email to an SNS topic.
  • Reads configuration from .ai/automation/infra.json and updates it with the created alarm ARN.
  • Idempotent operations: existing alarms and topic are reused or updated to reflect current settings.
  • Includes audit logging via the audit.sh workflow to provide traceability.

Quick Start

Execute the auto-alarms workflow with an optional --email parameter to create the SNS topic, subscribe the recipient, and deploy the four CloudWatch alarms.

Frequently Asked Questions about auto-alarms

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

FAQPage Schema
How do I automate CloudWatch alarm setup for AWS Lambda automation pipelines?▼

Automate CloudWatch alarm setup by deploying a workflow that creates four default alarms for DLQ depth, router errors, and throttles, then links them to an SNS email subscription. This eliminates manual AWS console configuration for AI automation monitoring.

What's the best way to get SNS email alerts for Lambda dead-letter queue depth and throttles?▼

Get SNS email alerts by subscribing an alert email to an SNS topic linked to CloudWatch alarms. The automation creates topic subscriptions for DLQ depth, WI-Router errors, PR-Router errors, and Lambda throttles to ensure consistent deployment alerting.

Does this CloudWatch alarm automation require manual infra.json configuration updates?▼

No manual infra.json updates are needed. The automation reads configuration from .ai/automation/infra.json and automatically updates the file with the created SNS topic ARN after deploying the CloudWatch alarms.

Can I reuse existing SNS topics and CloudWatch alarms across multiple deployments?▼

Yes, operations are idempotent. Existing CloudWatch alarms and SNS topics are reused or updated to reflect current settings, preventing duplicate alerting resources when you redeploy your AWS automation pipelines.

How do I monitor AI automation pipelines for router errors using CloudWatch and SNS?▼

Monitor AI automation pipelines by creating dedicated CloudWatch alarms for WI-Router errors and PR-Router errors. The workflow links these alarms to an SNS topic, sending alert emails when router error thresholds are breached.

Does the SNS alarm setup provide traceability for AWS infrastructure changes?▼

Traceability is provided through the audit.sh workflow. This audit logging mechanism records the automated CloudWatch alarm and SNS topic creation actions, ensuring you can track infrastructure changes across deployments.