auto-alarms

auto-alarms is a skill for Claude Code from easingthemes/dx-aem-flow. It costs 59 tokens per session (1,236 once invoked), scanned A, original, MIT.

A setup tool for AWS CloudWatch alarms and Amazon SNS email alerts. CloudWatch monitors AWS resources, while SNS sends notifications.

In plain words
What is it for?
Use it to create four alarms for dead-letter queue depth, workflow-router errors, pull-request-router errors, and throttling, then subscribe an email address to alerts.
Why use it?
It adds monitoring for an AI automation system, so errors, queued failures, and throttling can be reported instead of discovered later.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash lambda/cloudwatch/setup-alarms.sh --email "<email>".

Part of the dx-automation plugin — 11 skills shipped together

Good fit Use it to create four alarms for dead-letter queue depth, workflow-router errors, pull-request-router errors, and throttling, then subscribe an email address to alerts.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/easingthemes/dx-aem-flow
agentmods
npx agentmods add skills/easingthemes/dx-aem-flow/auto-alarms

Made for: Claude Code.

Or install dx-automation, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auto-alarms

README.md
[![agentmods](https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/auto-alarms/github.svg)](https://agentmods.dev/skills/easingthemes/dx-aem-flow/auto-alarms)
Your own site
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/auto-alarms"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/auto-alarms/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auto-alarms

Your own site · 80×15
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/auto-alarms"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/auto-alarms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,236 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01236
Opus 5 $0.00030 $0.00618
Sonnet 5 $0.00012 $0.00247
Haiku 4.5 $0.00006 $0.00124

Measured 8d ago against content hash dc07f9669f7c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

auto-alarms scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dx-automation/skills/auto-alarms/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You create CloudWatch alarms and subscribe an email address to alerts. Wraps lambda/cloudwatch/setup-alarms.sh with audit logging.

0. Prerequisites

Read .ai/automation/infra.json. Check automationProfile:

  • If consumer (or legacy pr-only/pr-delegation): "This repo uses the consumer profile — CloudWatch alarms are managed by the hub project. Do NOT configure alarms from this repo." STOP.
source .ai/lib/audit.sh
export AUDIT_LOG_PREFIX=infra

Confirm monitoring config from infra.json:

  • monitoring.snsTopic.name — SNS topic name (<prefix>-alerts)
  • region

1. Collect Email

If user passed --email <address>, use it. Otherwise ask:

Alert email address? CloudWatch alarms will notify this email for DLQ depth, Lambda errors, and throttles. You'll need to confirm the subscription in your email.

2. Run Setup Script

cd .ai/automation
bash lambda/cloudwatch/setup-alarms.sh --email "<email>"

The script:

  1. Creates the SNS topic <prefix>-alerts (idempotent)
  2. Subscribes the email to the topic
  3. Creates 4 CloudWatch alarms (reads definitions from lambda/cloudwatch/alarms.json, prefixes with resource prefix from infra.json)
  4. Links each alarm to the SNS topic

Report the script's output.

3. Update infra.json

After the script runs, the SNS topic ARN is returned. Update infra.json:

  • monitoring.snsTopic.arn → the created/retrieved ARN

4. Summary Report

## CloudWatch Monitoring Configured

**SNS topic:** <prefix>-alerts
**Alert email:** <email> (confirm subscription in your inbox)

| Alarm | Trigger | Severity |
|-------|---------|----------|
| <prefix>-dlq-depth | DLQ > 5 messages | Warning |
| <prefix>-lambda-errors-wi-router | WI-Router Lambda errors > 3/hour | Critical |
| <prefix>-lambda-errors-pr-router | PR-Router Lambda errors > 3/hour | Critical |
| <prefix>-lambda-throttles | Any Lambda throttled | Warning |

**infra.json** updated with SNS ARN.
**Audit log:** `.ai/logs/infra.<week>.jsonl`

### Next step
`/auto-test --dryRun` — Verify end-to-end (local dry run)

### Operational commands
- `/auto-status` — Current DLQ depth, token budget, rate limits
- `/auto-doctor` — Full health check
- See `docs/runbook.md` for alert response procedures

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 110 lines · 59 tokens per session scan A dc07f9669f7c

Subscribe to this mod's changes

auto-alarms is a skill published in the GitHub repository easingthemes/dx-aem-flow (6 stars, last pushed 7d ago), licensed MIT. It adds 59 tokens to every session and 1,236 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens