alert-subscribe-copilot

alert-subscribe-copilot is a skill for Claude Code, Codex from ccfos/nightingale. It costs 137 tokens per session (2,126 once invoked), scanned A, original, Apache-2.0.

A Nightingale assistant for alert subscriptions, which filter alert events and send matching copies to another notification destination. It also supports escalation, such as notifying a supervisor when an alert remains unhandled.

In plain words
What is it for?
Creating, editing, and troubleshooting alert forwarding, team copies, and delayed escalation rules.
Why use it?
It avoids duplicating alert rules when the same event needs to reach another team or follow-up destination.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

Nightingale is an open-source monitoring and alerting system that connects to stored metrics and log data, evaluates alert rules, and distributes notifications. Operations teams use it to manage alarms and explore observability data alongside existing data sources and collectors. Catalogue add-ons provide skills for operating Nightingale.

ccfos/nightingale · 13,280 stars · on GitHub · n9e.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ccfos/nightingale/alert-subscribe-copilot
Any agent
npx skills add ccfos/nightingale --skill alert-subscribe-copilot
Clone the repo
git clone --depth 1 https://github.com/ccfos/nightingale

Made for: Claude Code, Codex.

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 alert-subscribe-copilot

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccfos/nightingale/alert-subscribe-copilot.svg)](https://agentmods.dev/skills/ccfos/nightingale/alert-subscribe-copilot)
Your own site
<a href="https://agentmods.dev/skills/ccfos/nightingale/alert-subscribe-copilot"><img src="https://agentmods.dev/badge/skills/ccfos/nightingale/alert-subscribe-copilot.svg" alt="Measured on agentmods" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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.00137 $0.02126
Opus 5 $0.00068 $0.01063
Sonnet 5 $0.00027 $0.00425
Haiku 4.5 $0.00014 $0.00213

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

Security

Grade A, and why

alert-subscribe-copilot scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `http-api.md` | HTTP API paths (for A2A / external agents), tryrun validation endpoint | Only for external A2A scenarios or when providing the user with curl commands |
aiagent/skill/embedded/builtin/alert-subscribe-copilot/SKILL.md · 93 lines

How it starts

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

Nightingale (n9e) Alert Subscription Rule Copilot

A subscription rule filters alert events by condition, clones a copy, and forwards it to the associated notification rule. Typical scenarios: cross-team CC, alert escalation (notify a supervisor only after N minutes of persistence), and aggregating events from scattered rules into a single outlet.

Supporting materials (load on demand with read_file, set base to this skill name)

File Content When to read
reference.md Full config field table, new vs. old notification version differences, redefine fields, complete examples When you're unsure about a field while assembling config
troubleshooting.md Subscription-not-taking-effect troubleshooting chain (in engine matching order), behavioral semantics, gotcha table When the user says "I subscribed but didn't receive anything"
http-api.md HTTP API paths (for A2A / external agents), tryrun validation endpoint Only for external A2A scenarios or when providing the user with curl commands

Prerequisites

You are the in-app AI assistant for n9e, running inside the n9e process and already authenticated as the current user. Operate directly via the built-in tools — do not log in, do not call HTTP APIs, and do not use http_fetch against your own endpoints (the HTTP flow in http-api.md is for external A2A agents).


Mental model

  • Subscription happens at the notification stage (alert/dispatch/dispatch.go:handleSubs): the original event still travels its own notification path as usual; each matching subscription clones a copy of the event, rewrites it per the subscription config, and then runs it through the notification chain again. A subscription is additive — it does not intercept and does not replace the original notification.
  • Match conditions are AND'd together and checked in order: enabled → datasource → prod → cate → tags → business group name → duration → severity. Failing any single gate skips that subscription.
  • A subscription's group_id is the management ownership (permissions) and does not participate in event matching — a subscription inherently receives events across business groups; to "subscribe only to a certain business group's events", use the busi_groups filter condition.
  • New routing (notify_version=1): the cloned event's notification outlet is rewritten to the subscription's specified notify_rule_ids; the cloned event's callbacks are cleared by default, to prevent re-hitting the original rule's callbacks.
  • Changes take effect within 9 seconds at most (the in-memory cache polling cycle).

Read the full file on GitHub · 93 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 93 lines · 137 tokens per session scan A be85eebc4ff7

Subscribe to this mod's changes

alert-subscribe-copilot is a skill published in the GitHub repository ccfos/nightingale (13,280 stars, last pushed 2d ago), licensed Apache-2.0. It adds 137 tokens to every session and 2,126 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cis-aws-database-10.8

Ensure Monitoring and Alerting is Enabled.

CyberStrikeus/CyberStrike · 17 tokens

monitoring

Use when setting up uptime and health monitoring, alerts, or on-call basics for a service already in production, so you learn it is down before customers do — health and readiness probes, alerting on SLO error-budget burn rather than raw counts, curing alert fatigue, on-call rotation with escalation, and a status…

ericrisco/rsc-harness · 88 tokens

grafana-expert

Expert-level Grafana dashboards, visualization, data sources, alerting, and production operations. Use when the user mentions dashboards, visualization, monitoring, observability, or alerting, or when the task involves Grafana Architecture, Installation on Kubernetes, Data Sources, or Dashboard JSON.

personamanagmentlayer/pcl · 61 tokens

datadog

Full-stack observability with Datadog APM, logs, metrics, synthetics, and RUM. Use when implementing monitoring, tracing, alerting, or cost optimization for production systems.

bobmatnyc/claude-mpm-skills · 43 tokens

monitoring-expert

Expert-level monitoring and observability with Prometheus, Grafana, logging, and alerting. Use when the user mentions observability, Prometheus, Grafana, logging, metrics, or alerting, or when the task involves The Three Pillars of Observability, Monitoring Fundamentals, Prometheus Configuration, or Alert Rules.

personamanagmentlayer/pcl · 70 tokens

prometheus-expert

Expert-level Prometheus monitoring, metrics collection, PromQL queries, alerting, and production operations. Use when the user mentions monitoring, metrics, observability, alerting, or PromQL, or when the task involves Prometheus Architecture, Installation on Kubernetes, ServiceMonitor, or PromQL Queries.

personamanagmentlayer/pcl · 65 tokens