Incidents

From wyre-technology/msp-claude-plugins · View interactive version

Incidents is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. Better Stack incidents: incident records raised by uptime monitors or reported manually, and the triage, acknowledgment, and resolution lifecycle.

How to use this skill

Skill file

Better Stack Incidents

Overview

Incidents in Better Stack are triggered automatically when uptime monitors detect downtime, or created manually for ad-hoc issues. Each incident tracks the timeline from detection through acknowledgment to resolution, with associated monitors, status page updates, and on-call notifications.

Anti-triggers

with no threat model, no indicators, and no remediation flow; use

huntress-incidents.

incident commanders, customer comms, or postmortems rather than a

failing check, use rootly-incidents or pagerduty-incidents.

autotask, halopsa, or connectwise-psa.

betterstack-status-pages.

Key Concepts

Incident Lifecycle

  1. Triggered - Monitor detects downtime and creates an incident
  2. Acknowledged - On-call responder acknowledges the incident
  3. Resolved - The issue is fixed and the incident is closed
  4. Auto-resolved - Monitor detects recovery and automatically resolves

Incident Attributes

Incident Severity

Better Stack does not enforce severity levels on incidents directly -- severity is determined by the monitor's configuration and escalation policy. However, incidents from monitors with shorter check intervals and immediate escalation are implicitly higher priority.

API Patterns

List Incidents

betterstack_list_incidents

Parameters:

Example response:

{
  "data": [
    {
      "id": "67890",
      "type": "incident",
      "attributes": {
        "name": "Example Website is down",
        "cause": "HTTP 503 Service Unavailable",
        "started_at": "2026-03-27T08:15:00Z",
        "acknowledged_at": null,
        "resolved_at": null,
        "call": true,
        "sms": true,
        "email": true
      },
      "relationships": {
        "monitor": {
          "data": { "id": "12345", "type": "monitor" }
        }
      }
    }
  ]
}

Get Incident Details

betterstack_get_incident

Parameters:

Acknowledge Incident

betterstack_acknowledge_incident

Parameters:

Resolve Incident

betterstack_resolve_incident

Parameters:

Common Workflows

Daily Incident Triage

  1. Call betterstack_list_incidents with date filters for the current period
  2. Identify unacknowledged incidents (acknowledged_at is null)
  3. Group incidents by monitor to identify patterns
  4. Acknowledge incidents that are being investigated
  5. Resolve incidents that have auto-recovered

Incident Investigation

  1. Get incident details with betterstack_get_incident
  2. Identify the associated monitor and check its current status
  3. Review the incident timeline (started, acknowledged, resolved)
  4. Check if the monitor has recovered or is still down
  5. Cross-reference with logs using betterstack_query_logs
  6. Acknowledge the incident if actively investigating
  7. Resolve once the root cause is addressed

Post-Incident Review

  1. List incidents for the review period
  2. Calculate mean time to acknowledge (MTTA) and mean time to resolve (MTTR)
  3. Identify monitors with recurring incidents
  4. Review escalation policy effectiveness
  5. Update monitors and alerts based on findings

Error Handling

Incident Not Found

Cause: Invalid incident ID or incident was deleted

Solution: List incidents to verify the correct ID

Incident Already Resolved

Cause: Attempting to acknowledge or resolve an already-resolved incident

Solution: Check incident status before taking action

Incident Already Acknowledged

Cause: Attempting to acknowledge an already-acknowledged incident

Solution: Proceed to resolve if the issue is fixed

Best Practices

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.