auto-alarms

auto-alarms is a skill for Claude Code from easingthemes/dx-aem-flow. It costs 59 tokens per session (1,244 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: disable-model-invocation 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 — 10 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 10 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,244 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.01244
Opus 5.5 $0.00024 $0.00498
Sonnet 5.5 $0.00012 $0.00249
Haiku 4.5 $0.00006 $0.00124

Measured 1mo ago against content hash ce199b6672fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 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 · 111 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. 1mo ago Changed · +1 lines ce199b6672fb
  2. 3mo 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 (9 stars, last pushed 3d ago), licensed MIT. It adds 59 tokens to every session and 1,244 once invoked, about $0.0002 per session on Opus 5.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

auto-alarms compared with skills from other repositories

auto-alarms next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auto-alarmseasingthemes/dx-aem-flowSkill93d agoMITA59Claude Code
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill26ktodayApache-2.0A118Claude Code, Codex
gke-reliabilitygoogle/skillsSkill26ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill26ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code