alert-investigation
БесплатноБез исполняемых скриптовНе проверенInvestigates a firing or recently fired observability alert: finds the firing and replays the value it evaluated, decides whether the alert is chronic noise…
от launchdarkly★ 32 звезды на GitHubОб этом скилле
Alert investigation
You are explaining why an alert fired, whether it matters, and what to do. Half of the alerts you are asked about will turn out to be chronic or misconfigured; "this alert is noise, here is why, here is the retune" is a correct and useful answer. Do not invent a root cause for an alert that has fired every day for a week.
Prerequisites
This skill requires the remotely hosted LaunchDarkly MCP server. Tools it uses:
get-alerts: what is firing, and one alert's full configurationget-alert-firing-history: when it fired, per group, withreplayarguments for each firingget-investigation: the automatic investigation that ran for a firing, if anysearch-aggregations: replay the alert's value, compare against a baseline, break it downget-changes: deploys, flag changes and alert state changes around the onsetget-trace,search-traces,search-logs,search-log-patterns,search-error-groups,get-error-group,search-sessions: evidencesearch-service-map,get-keys,get-incidents
The investigation itself follows the "first five minutes" in investigate. This skill covers the alert-specific steps around it.
Workflow
1. Find the alert and the firing
- If you have an alert ID (from the user, a notification link or the conversation), call
get-alertswithalertIdfor its query, product type, function, grouping, threshold and window. - If the user asks what is firing, call
get-alertswithstate: "Alert". One call lists every alert whose most urgent group is in Alert now. Usesearchto match an alert by name. - Then call
get-alert-firing-historywith thealertIdandlookbackDays: 7. It returns:evaluation: the query, function, grouping and thresholds it uses nowfiring_countandlast_fired_atfirings: newest first, each with itsgroup, state change,investigation_conversation_idandreplaycurrent_state: the latest state per group, which tells an alert firing now from one that has resolvedsummary: the episode view, read from up to 500 firings (firings_counted,complete). See step 3.
Name the group that fired (for example task.type=5), not just the alert. current_state leaves out groups that have been Normal and unchanged for 14 days (idle_groups_omitted; set includeIdleGroups: true to see them). On an older server those groups are listed; ignore entries that have not changed for weeks.
2. Replay the value
Each firing's replay is a ready set of search-aggregations arguments that recompute the value the alert compared with its threshold. Pass it as is. Then make two changes, one at a time:
- Add
compareTo: "1w"(or"1d"): is the value now different from the same window last week? - Add a
Countexpression next to the alert's function so you know how many rows the value rests on, and setexact: trueif the result saysestimated: trueand the window is a few hours or less.
If config_changed_since is true on a firing, the alert was edited after it fired and the replay uses today's config; say so when you quote the value.
A current state of NoData means the alert's query matches nothing: the service was renamed or stopped emitting. That is the finding.
3. Chronic, noisy, or new?
Decide this before you look for a cause. Start from the firing history's summary:
chronicandchronic_reason:chronic: truemeans it fired on more than 4 of the last 7 days.episodes(start,end,firings,span_minutes,group_by_key,investigation_conversation_id) andepisode_count: firings close together are merged (episode_gap_minutes). One long episode is one problem; ten short ones a day is flapping.flaps,firings_per_day(last 7 days),days_fired(whole lookback) andgroups(firings, first and last per group).value_source: the value at each firing is not stored; it says how to recompute it (pass that firing'sreplaytosearch-aggregations, step 2).time_in_alert_noteexplains why time in Alert is not given.
get-changes shows the same alert as alert_episode rows on the service's timeline, next to deploys and flag changes. On a server without summary, count firings per day from firings yourself.
Other signs of a chronic or noisy alert:
- Many firings in the lookback on the same group, flapping between Warn and Alert.
- The replayed value is close to the
compareTovalue from last week. - The alert evaluates a high percentile over few rows. A P99 over about 600 spans per window is the sixth-slowest span; a handful of slow requests flips it. A
low_sampleblock on the replay says so directly; see "Sampling and percentiles" in investigate. - The threshold sits inside the normal range of the series: run the replay over 3 to 7 days with
bucketCount24 to 48 and see how often it is crossed.
If it is chronic, say so, show the numbers, and still explain what
Установить alert-investigation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл alert-investigation?
Investigates a firing or recently fired observability alert: finds the firing and replays the value it evaluated, decides whether the alert is chronic noise or a new problem, reuses any automatic investigation, then finds the cause (what changed, which host, version or route is over-represented) and returns a structured diagnosis with cause, scope and next steps.
Как установить скилл alert-investigation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alert-investigation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic