respond
[experimental] Investigate and respond to a production incident. Pulls context, finds similar past incidents, suggests solutions, and enables coordination. Forked-subagent flow may not have MCP access in all Claude Code contexts -- prefer /rootly:status + /rootly:brief for now.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 29
- Forks
- 156
01 前言 Front Matter
- name
- respond
- agent
- rootly:incident-investigator
- context
- fork
- description
- [experimental] Investigate and respond to a production incident. Pulls context, finds similar past incidents, suggests solutions, and enables coordination. Forked-subagent flow may not have MCP access in all Claude Code contexts -- prefer /rootly:status + /rootly:brief for now.
- allowed-tools
- [ "mcp__rootly__*" ]
- argument-hint
- [ "incident-id" ]
- disable-model-invocation
- true
03 SKILL.md 正文
Incident Response (experimental)
Experimental: this skill uses
context: forkto delegate to theincident-investigatoragent. In some Claude Code contexts the forked subagent does not inherit the plugin's MCP tools, in which case the agent will stop and report rather than fall back to bash/curl. If that happens, use the inline alternatives:
/rootly:brief <incident>— stakeholder summary/rootly:status— service health/rootly:oncall— current responders
You are helping the user investigate and respond to a production incident. This runs in a forked context to keep incident data separate from the main coding session.
Workflow
1. Identify the Incident
If $ARGUMENTS contains an incident reference:
- If it is already a UUID (36-char hex with hyphens), use it directly with
mcp__rootly__getIncident. - If it looks like a sequential reference (
4460,#4460,INC-4460), resolve to UUID via MCP:- Normalize it to the exact incident number format
INC-<number>(for example,4460becomesINC-4460). - Call
mcp__rootly__list_incidentswithpage_size=100,page_number=1, andsort=-created_at. - Scan the returned
incidentsarray for an exactincident_numbermatch. If found, use the correspondingincident_idas the UUID. - If page 1 does not contain the match, use page 1's newest
incident_numberto estimate the likely page for the target incident number, then callmcp__rootly__list_incidentsfor that page and at most one adjacent page. - On every page, match only on
incidents[*].incident_numberand use the pairedincident_idwhen you find the exact match. - If the exact incident number is still not found quickly, stop and ask the user for the incident UUID instead of scanning indefinitely.
- Normalize it to the exact incident number format
- Use the resolved UUID for all subsequent MCP calls.
- Never use
mcp__rootly__search_incidentsfor numeric incident resolution, because that tool searches title/summary text rather than incident numbers. - Never walk paginated lists indefinitely. If the sequential number isn't found in the bounded lookup above, ask the user for the UUID.
If no incident ID provided:
- Call
mcp__rootly__search_incidentsfiltered to active status (started) - If no active incidents, report "No active incidents found" and stop
- If multiple active incidents, list them sorted by severity (critical first, then high, then medium, then low) and ask the user to select one
- For long lists, show critical/high severity first with a note about additional lower-severity incidents
2. Gather Full Context
Once you have the incident ID:
- Call
mcp__rootly__getIncidentto get the full incident record - Call
mcp__rootly__get_alert_by_short_idor search alerts for associated alert details and timeline - Call
mcp__rootly__find_related_incidentsto find historically similar incidents - Call
mcp__rootly__suggest_solutionsto get resolution recommendations - Call
mcp__rootly__get_oncall_handoff_summaryfor current team status
3. Present Response Brief
## Incident Response Brief
### Summary
**[Incident title]** (ID: [id])
- **Status**: [status] | **Severity**: [severity]
- **Started**: [time] ([duration] ago)
- **Affected services**: [list]
### Timeline
[Key events from alert and incident data, chronological]
### Related Historical Incidents
[Top matches from find_related_incidents]
- [Incident title] ([date]) - Confidence: [score] - Resolution: [what fixed it]
[If all scores < 0.3: "Low confidence matches -- manual investigation recommended"]
### Suggested Solutions
[From suggest_solutions, ranked by confidence]
1. [Solution] (confidence: [score], source: [incident/runbook])
### Current Responders & On-Call
- **Assigned**: [responders]
- **On-call**: [name] (since [time])
- **Next handoff**: [time]
### Available Actions
The following actions require your explicit approval:
- Update severity
- Add responder
- Post status update
- Escalate to next on-call
4. Human-in-the-Loop for Write Operations
CRITICAL: NEVER execute write operations automatically. Always present them as recommendations and wait for explicit user confirmation.
Write operations include:
updateIncident(changing severity, status, or any incident field)- Adding or removing responders
- Posting status updates
- Escalating incidents
- Any other mutation of Rootly data
When the user approves an action, execute it and report the result.
5. Error Handling
- MCP tool errors: Report the specific error message and suggest manual steps (e.g., "Check the Rootly dashboard directly")
- Low confidence results: If
find_related_incidentsreturns scores below 0.3, explicitly flag: "These matches are low confidence -- consider manual investigation" - Missing data: If any tool call returns empty results, note it and continue with available data rather than failing entirely
04 同仓库更多 Skills
business-data
暂无简介
workflow
Creates durable, resumable workflows using Vercel's Workflow SDK. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow sdk", "queue", "event", "push", "subscribe", or step-based orchestration.
workflow
Vercel Workflow SDK expert guidance. Use when building durable workflows, long-running tasks, API routes or agents that need pause/resume, retries, step-based execution, or crash-safe orchestration with Vercel Workflow.
verification
Full-story verification — infers what the user is building, then verifies the complete flow end-to-end: browser → API → data → response. Triggers on dev server start and 'why isn't this working' signals.
vercel-storage
Vercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.
vercel-services
Configure and troubleshoot Vercel Services for multiple frontends and backends in one project. Use when composing a polyglot or multi-service application on one Vercel deployment; defining the `services` key, service-targeted rewrites, or service bindings in `vercel.json`; or running all services with `vercel dev`.