Translates SigNoz alert rule configurations into plain-language explanations: signal, threshold, evaluation behavior, notification routing, and fire-frequency summary. Use when asked to interpret or audit an existing alert.
Ships in signoz. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Decode an existing SigNoz alert's configuration into a plain-language
explanation. The skill is read-only and stays focused on the rule
itself: what it watches, when it fires, where it notifies. A single
line of fire-frequency data is included to ground the explanation, but
this skill does not investigate any specific fire; that is
signoz-investigating-alerts's job.
This skill calls SigNoz MCP server tools (signoz_get_alert,
signoz_list_alert_rules, signoz_get_alert_history). Before running
the workflow, confirm the signoz_* tools are available. If they are
not, run signoz-mcp-setup first to initialize or repair the MCP connection.
Do not guess at alert configuration from the rule name alone.
Use this skill when the user wants to:
Do NOT use when the user wants to:
signoz-creating-alerts.signoz-investigating-alerts.signoz_update_alert directly.| Input | Required | Source if missing |
|---|---|---|
| Alert identifier (rule ID or name) | yes | $ARGUMENTS, recent context, or fuzzy match |
If the input is missing or ambiguous, this skill is best-effort (not strict; read-only operations are cheap to recover from):
If the user provided a rule ID (UUID or legacy numeric ID), skip to Step 2. Otherwise:
signoz_list_alert_rules with filter set to one distinctive word
of the name (a bare word matches name, description, and labels, ignoring
case) and follow pagination.nextOffset while pagination.hasMore is true.signoz_get_alert with the rule id. This is mandatory: the
list response does not include the full condition / thresholds /
notification settings, and explanations based on the name alone are
guesses.signoz://alert/instructions before decoding the rule, unless
already read in this conversation. It defines the fields Step 4 explains:
formulas and selectedQueryName, units, recoveryTarget, rolling and
cumulative evaluation, notificationSettings, routing labels, and
anomaly scoring.signoz://alert/examples only when the rule's shape is still
unclear after the guide.If the client cannot read signoz:// resources, decode with the hints in
Step 4 and say which field you could not interpret.
Call signoz_get_alert_history with timeRange: "7d", state: "firing",
order: "desc", and a large limit. While the result's completeness note
reports more results, fetch the next page exactly as the note says. The
history is complete only when the note says all matching results were
returned (hasMore=false). An absent nextCursor alone does not show that:
the note can instead say the tool could not count the returned rows and more
may exist. Treat that note, a failed call, or a pagination stopped early as
incomplete history.
For "resolved" / "recovered", use state: "inactive"; recovering is a
transient keep-firing state, not resolution.
Derive a single rule-level line from the complete set. History rows are emitted
per label-group fingerprint, so never equate row count with alert-fire count.
Count distinct rule transitions where overallStateChanged: true and
overallState: "firing" (deduplicate rows from the same transition timestamp):
Fired N times in the last 7d (last fire: ).
If the user asks about a particular service/host/group instead, partition by
fingerprint and count that series' rows where stateChanged: true and
state: "firing"; include its labels and call the result a series fire, not
a rule-wide fire. A grouped rule can have many series transitions while the
overall rule remains continuously firing.
If the complete history has no firing transitions, report what the tool returned: "No firing events were returned for the last 7d." Do not shorten this to "has not fired" or "never fired". Complete history can still miss fires because of retention or because the rule was recreated under a new ID. Add that caveat when the user relies on the answer, for example when they expected the alert to fire. If the history is incomplete, say so and report any count as "at least N". Report an exact count, zero included, only from a history the tool reported as complete.
Report these as separate facts, each from its own source:
signoz_get_alert_history.state from signoz_get_alert, or current
instances from signoz_list_alerts.disabled, thresholds, and routing from
signoz_get_alert.Do not derive one from another. A disabled rule can still have earlier fires
in the lookback, and an empty history does not show the rule is inactive now.
Do not drill into specific fires here; that's signoz-investigating-alerts.
Lead with a TL;DR that directly answers the question the user asked, not a generic alert summary. Some users read nothing else.
Match the TL;DR shape to the user's question:
"What does this alert do?" / "Explain X": describe what fires:
TL;DR: Fires when
<condition>for<scope>, notifies<channel>.<fire-frequency line>.
"Is it configured correctly?" / "Audit this" / "Anything I should change?": lead with the verdict and the top 1–3 changes, not the description of what fires:
TL;DR: Mostly well-configured, but recommend: (1) add
alertOnAbsent(currently a crashed service stays silent); (2) add arecoveryTarget(the value hovers near the threshold and the rule flaps); (3) split critical to PagerDuty (both tiers currently route to Slack).<fire-frequency line>.
"How does X work?" / "Explain the count guard": answer the mechanism in 1–2 sentences before any framing:
TL;DR: Query A selects
p99(duration_nano)andcount(); itshaving: count() > 50clause drops any 1-minute bucket with ≤50 spans before evaluation, so low-traffic minutes can't fire the alert.
"What's the threshold?" / focused config question: state the exact thing they asked about:
TL;DR: Threshold is 3 standard deviations (z-score), not a raw rate value. Daily seasonality means the model compares each hour against historical norms for that hour.
Always include the fire-frequency line and disabled status if
non-default; those ground every kind of TL;DR. But put the answer to
the user's specific question first.
After the TL;DR, write the explanation in prose, organized into the four sections below. Skip any section that has nothing meaningful to add: empty severity labels, default notification settings, and vanilla annotations don't deserve a header.
1. What it watches: one short paragraph. Combine signal type
(metrics / logs / traces / exceptions), what the query measures, and
scope. Translate the query to operational language; for formulas, name
each sub-query (A, B, …) and state what F1 (or whichever
selectedQueryName triggers) computes, e.g. "F1 = A × 100 / B → error
percentage". Put the filter into words and enumerate IN / NOT IN value
lists so the user can verify them. Name each groupBy dimension and its
practical effect ("fires separately per service" for service.name). A
trace query without isEntryPoint = true OR isRoot = true covers every span
the service records: describe its count, rate, or latency as span-level, not
as requests.
For anomaly rules (ruleType: anomaly_rule), explicitly state that
the threshold is in standard deviations from the learned pattern, not
the raw value; this is the most common point of confusion. Include
seasonality and how the target's magnitude shifts sensitivity (closer to
0 → more noise; further from 0 → only extreme deviations). The score is
signed: above with target 3 fires only on rises, below with target -3
only on drops, and outside_bounds with target 3 on either. Say which
directions the rule catches.
2. When it fires: one paragraph covering threshold + timing. Decode the threshold spec into plain English using these mappings:
op codes: 1 above, 2 below, 3 equal, 4 not equal, 5
above-or-equal, 6 below-or-equal, 7 outside-bounds
(outside_bounds in payloads).matchType codes: 1 at_least_once (any point in window), 2
all_the_times (entire window), 3 on_average (window average), 4
in_total (window sum), 5 last (most recent point).State each threshold tier's name, target, unit, and attached channels.
State the threshold in its targetUnit (e.g. "fires when p99 exceeds
500 ms", not "…exceeds 500 000 000 ns"); a tier with no targetUnit is in
the query unit, compositeQuery.unit. Note recoveryTarget if set
(hysteresis); if absent, mention flap risk when the value hovers near the
boundary. For evaluation.kind: "rolling", describe timing as "checks every
<frequency> over the last <evalWindow>". For "cumulative", say the
rule totals from the schedule's reset point (for example daily at 00:00 in
its timezone) and checks every <frequency>. With at_least_once a
single-point breach triggers, while all_the_times requires the full window.
3. Where it notifies: decode effective routing, not just fields in
isolation. If notificationSettings.usePolicy is true, say that org policy
matches the rule/static/dynamic labels and that threshold channels are ignored.
Otherwise a rule of any type, anomaly_rule included, routes only through
each threshold tier's channels. If a tier has no channels, call it unrouted
or misconfigured.
Resolve names from the fully paginated signoz_list_notification_channels
result if needed. Also explain notificationSettings.groupBy (bundling) and
renotify (interval + states). Skip this section only when routing is already
unambiguous in the TL;DR.
4. Notable concerns: flag only what's non-default and worth the user's attention. Don't list every absent field; focus on the high-impact ones:
alertOnAbsent missing when the signal is critical: silent data
loss (crashed service, broken instrumentation) won't trigger the
alert. Always call this out for production-tier rules.alertOnAbsent: true but nodata not in renotify.alertStates:
the absent-data fire pages once and then goes silent (easy to miss).signoz_create_alert schema
shows {{$labels.service_name}} for the service.name label and
signoz://alert/examples writes {{$service.name}}, so do not call
either form broken from the config alone. Flag a variable only when it
names something the rule does not produce (not a groupBy key, $value,
or $threshold). A static rule label is not available to an annotation.having on an aggregation a logs or traces query does not select:
the alert guide requires a having.expression aggregation to be in that
query's own aggregations. Flag count() > N on a query whose
aggregations lack count(); another query's count() does not supply it.labels.severity that differs from a tier name: the label
does not set a fired alert's severity. Each fire carries the severity
of the tier that fired, and SigNoz drops a rule label of that name from
fired alerts; the label only sets what the alert-rule list shows. A
missing labels.severity is not a routing gap.groupBy (e.g. pod.name × partition) →
notification-storm risk during cluster-wide events.matchType (e.g.
description says "for over 5 minutes" but matchType=at_least_once
fires on first breach within the window).payments); call this out.If none of these apply, omit the section rather than pad it.
If the user asked only "what does this alert do", stop here. The audit (Step 5) is for "is it configured correctly" / "audit this" / "anything I should change" requests.
Assess only when asked or when the request implies it (audit, review, "is this configured correctly"). Ground the assessment in the config, and apply the Step 4 concerns (absent data, groupBy cardinality) as well:
at_least_once is sensitive (catches transients);
all_the_times is conservative; on_average smooths noise.at_least_once can be noisy.
Long window can delay detection.annotations are empty or
default, suggest adding context.limit/order on a grouped query: only the top-N series they
select, ranked over the whole window, are evaluated, so series beyond N
are never evaluated and a below rule ordered descending can miss every
breaching series. Unless top-N alerting is the intent, recommend removing
both.IN / NOT IN filters with explicit
value lists, flag values that look out of place or missing values
that seem expected.Surface up to 3 follow-up intents based on what the explanation revealed: investigating a recent fire, running the underlying query to see current values, adjusting a threshold, or creating a related alert for a coverage gap. Do not pad to 3. Skip follow-ups when the user is purely inspecting ("what does this alert do?") and signals no further intent. Offering no follow-ups is better than offering wrong ones.
signoz_get_alert. Do not
base explanations on the rule name or list response alone; if the name
says "checkout" but the filter targets payments, call that out.op, matchType, filter
expressions, and query JSON into operational language. Show raw JSON
only if the user asks. For formula alerts, show what A, B, and F1 each
compute; don't gloss over a formula as "error rate".signoz-investigating-alerts; changes belong to signoz_update_alert.signoz_list_alert_rules to the end without a filter.evalWindow or a
cumulative schedule every frequency, with a matchType. It has no
Prometheus-style for duration; don't describe it in Prometheus terms.User: "Explain my checkout error rate alert"
Agent:
signoz_list_alert_rules with filter: "checkout" → finds
"High Error Rate - Checkout" id 42.
signoz_get_alert id=42 → traces formula (A errored spans / B
total spans × 100), single critical threshold at 5%, op=1,
matchType=1, channel pagerduty-oncall.
signoz_get_alert_history id=42 timeRange=7d state=firing order=desc
→ fired 3 times, last fire 2h ago.
Replies:
TL;DR: Fires when checkout's span error rate (errored spans / all spans) exceeds 5% at any point in the last 5 min, pages
pagerduty-oncall. Fired 3 times in the last 7d (last 2h ago).What it watches: traces from
service.name = 'checkout'. Query A counts spans withhas_error = true, query B counts all spans, F1 = A × 100 / B is the error percentage; the alert triggers on F1.When it fires:
op=above,matchType=at_least_once, target 5%. Checks every 1 min over the last 5 min; a single elevated minute fires it.Notable: no
recoveryTarget(could flap near 5%); noalertOnAbsent(a checkout outage that drops traffic to zero won't trigger this rule).
Offers: "Want me to investigate the fire from 2h ago?"
User: "Explain alert rule 17 - is it well configured?"
Agent:
signoz_get_alert id=17 → metrics, system.cpu.utilization,
two thresholds (warning 80%, critical 90%), matchType=3 on_average,
filter deployment.environment.name = 'production', groupBy
host.name.
signoz_get_alert_history id=17 → complete pages, no firing events
returned for the last 7d.
The user asked "is it well configured?"; the TL;DR leads with the verdict, not a generic description. Then explanation + full audit:
TL;DR: Mostly well-configured (dual-threshold +
on_averageis the right call for CPU), but two gaps to fix: (1) noalertOnAbsent(a crashed agent silently stops reporting and this rule won't catch it); (2) annotations are default (a runbook URL would help on-call). No firing events were returned for the last 7d. That alone does not show production is healthy or the thresholds are too loose, and history may not be retained for the full window.What it watches:
system.cpu.utilizationondeployment.environment.name = 'production', grouped byhost.name(fires per host).When it fires:
op=above,matchType=on_average, two tiers (warning 80%, critical 90%) over a 5-min window. Short spikes don't fire; smoothing is correct for CPU.Notable concerns: same as TL;DR fixes above; nothing else non-default.
Offers next steps.
User: "Help me understand this anomaly detection alert" (alert id 88)
Agent:
signoz_get_alert id=88 → ruleType: anomaly_rule,
schemaVersion: v2alpha1, seasonality=daily, one tier with
op: outside_bounds, target 3, metric http.server.request.duration,
scope service.name = 'api-gateway'.
History: fired 1 time in last 7d.
Replies:
TL;DR: Fires when api-gateway request latency deviates by more than 3 standard deviations (not raw latency, not a fixed value) from its learned daily pattern. Fired once in the last 7d.
What it watches:
http.server.request.durationforservice.name = 'api-gateway', evaluated as a Z-score anomaly with daily seasonality: the model learns the typical pattern for each hour of day, so peak-hour latency won't false-trigger if it matches the historical norm for that hour.When it fires: when |Z-score| > 3 (
outside_bounds), i.e. the value is more than 3 standard deviations above or below the expected pattern, so both spikes and drops fire. Lower target → more sensitive (more noise); higher → only extreme deviations. The threshold is not in seconds or milliseconds.
Offers to investigate the recent fire.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/signoz:signoz-explaining-alerts <alert name or rule id>from signoz
signoz@otelyssey is listed by using-system/otelyssey — review the source before installing
npx claudepluginhub using-system/otelyssey --plugin signoz13 skills in this plugin
/signoz-creating-alertsCreate a new SigNoz alert rule from a natural-language intent: threshold, anomaly, log-volume, error-rate, latency, or absent-data alerts across metrics, logs, traces, and exceptions. Make sure to use this skill whenever the user says "alert me when…", "notify me if…", "set up monitoring for…", "page me on…", "create an alert for…", or asks for a new alert/notification rule, even if they don't say the word "alert" explicitly. Also use it when someone asks to be notified about error rates, latency spikes, log volume, CPU/memory pressure, or anomalous behavior on a service or host.
/signoz-creating-dashboardsCreate a new SigNoz dashboard from a natural-language intent: import a curated template (PostgreSQL, Redis, JVM, k8s, hostmetrics, APM, LLM, etc.) when one fits, or build a custom dashboard from scratch with metric / trace / log panels. Make sure to use this skill whenever the user says "create a dashboard for…", "set up monitoring for…", "build me a dashboard…", "I need observability for…", "import a dashboard template", or asks to track / visualize a service, database, cluster, or AI/LLM platform, even if they don't explicitly say "dashboard". Also use it when someone wants to "monitor", "watch", or "see metrics for" a technology and the natural answer is a dashboard.
Other plugins' skills for the same job