telemetry-incident-response
БесплатноБез исполняемых скриптовНе проверенHow to work an alert that TaskTrooper Telemetry opened - a task titled "Incident:" whose brief says Telemetry opened it. Find the root cause with the…
от makifbaysal★ 123 звезды на GitHubОб этом скилле
Telemetry incident response
When a monitor or an SLO in the connected TaskTrooper Telemetry fires, the system opens a TaskTrooper incident and hands you a card titled Incident: …. Its brief names the service, the endpoint, the telemetry incident id and a rules-engine first pass. That first pass is a hypothesis. You own the alert from here to the end: diagnose it from the telemetry, then route it, and you never edit code yourself.
If a telemetry_* tool answers that telemetry is not connected or rejected its key, nothing can be diagnosed from it. Say that on the card, call propose_incident_remedy (kind config) asking the user to reconnect it in Settings, TaskTrooper Telemetry, and stop. Do not diagnose from the code alone and present it as a finding.
1. Diagnose (read only, in this order)
get_incidentwith the TaskTrooper id from the brief, thentelemetry_get_incidentwith the telemetry id: start time, value and peak, the monitor, the timeline. ItsrootCauseis a lead to verify, never the conclusion.telemetry_list_incidentsfor the same service: an earlier incident with the same shape means the previous fix did not hold; say why this time differs.telemetry_get_servicewith the service name: error rate, latency, the endpoints ranked with their ids, deploys, dependencies. Pick arangethat covers the start (6h for something that began two hours ago). Thentelemetry_explain_endpointfor the slowest or most failing endpoint (itsidslug or "METHOD /route") for the root-cause comparison: the top child is the dependency that got slower or errored, a large own-time delta is the endpoint's own code. No baseline requests means no comparison; retrybaseline: "1d"or"7d", else say the baseline is missing.telemetry_search_traceswitherrors_only(errors) orsort: "slowest"andmin_ms(latency), the endpoint in"METHOD /route"form,limit5 to 10. Open one or two withtrace_idand find the failing or slow span: its dependency, status, db statement, exception.telemetry_search_logswith thetrace_idfirst, then the service withlevel: "error"and separately"warn"(levels are exact), and aqtaken from the exception.telemetry_list_errorsfor the service, then one group withfingerprint: which exception, since when (afirstSeenjust after a deploy is a new error from that deploy), the stack.telemetry_list_deploysfor the service and for the dependency the trace pointed at: a deploy right before the start is a correlation, not proof. Thenlist_deploymentsandget_deploy_impacton our side to tie it to a release and a task.- When it points at infrastructure:
telemetry_api_getwithinfra/hosts,infra/databases,infra/k8s/pods,infra/clustersand so on.
Rules: cite or do not claim (a trace id, a log timestamp, a deploy version, an error fingerprint for every statement of cause). An empty result after an endpoint filter is suspect, not healthy: the route form and the slug are different things. If a result says truncated, narrow and call again before concluding. Log values arrive masked; a masked value is not a bug. If the evidence is thin, the cause is unknown and you say which signal is missing.
2. Classify
| Cause | Examples | Who acts |
|---|---|---|
| Our code | exception from a new deploy, slow query we wrote, bad retry loop, regression in an endpoint | the developer, through a task you open |
| Infrastructure or configuration | database out of connections or disk, node pressure, expired certificate, missing or rotated secret, wrong env var, quota | the user |
| Capacity | sustained saturation with no code change | the user (scale), possibly a code task to reduce load |
| A vendor or dependency | third-party API down, cloud region incident | the user (switch, wait, escalate) |
| Unknown | not enough telemetry | the user, with exactly what to turn on |
A rollback is a fix for code that just shipped: if the deploy right before the start is the cause and the component has a bound release, say so on the card and use the normal release path (rollback_release, which proposes to the user when auto rollback is off).
3a. Our code: open the developer's task
create_board_task with task_type: "bug" and assignee set to the component's developer (backend, frontend, mobile, data or game by the component's area, resolved with list_team), in the repository of the affected code (list_repositories if it is not the card's own). The description carries the whole case so the developer needs none of the telemetry tools:
- what broke, when, how bad (error rate, latency, affected endpoint), in two sentences;
- the evidence: trace ids, the failing span, log lines with timestamps, the error fingerprint and stack, the deploy and the task that shipped it;
- the fix you expect and the test that proves it (the failing request, the missing guard);
- the telemetry incident id, so the card
Установить telemetry-incident-response в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл telemetry-incident-response?
How to work an alert that TaskTrooper Telemetry opened - a task titled "Incident:" whose brief says Telemetry opened it. Find the root cause with the telemetry_* tools, then either open the right developer's task with the findings or tell the user what only they can fix.
Как установить скилл telemetry-incident-response?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл telemetry-incident-response запускает скрипты?
Нет, скилл состоит только из инструкций (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