Agent Skill · Harness

incident-response

Incident response and analysis via Harness MCP. Correlate incidents with recent deployments, assess blast radius and downstream service impact, and generate comprehensive postmortem documents. Use when asked to investigate an incident, determine if a deployment caused an issue, assess blast radius, or create a postmortem. Do NOT use for pipeline debugging (use debug-pipeline instead) or SLO management (use manage-slos instead). Trigger phrases: incident, deployment correlation, blast radius, postmortem, root cause, service impact, outage analysis, rollback decision, incident timeline, deployment caused, which deploy.

Provider: Harness Path in repo: skills/incident-response/SKILL.md

Skill body

Incident Response

Correlate incidents with deployments, assess blast radius, and generate postmortem documents using Harness MCP.

Instructions

Step 1: Establish Scope

Confirm the affected service, environment, and incident details.

Call MCP tool: harness_list
Parameters:
  resource_type: "service"
  org_id: "<organization>"
  project_id: "<project>"

Step 2: Identify the Incident Response Task

Determine which workflow the user needs:

  1. Deployment-to-Incident Correlation – Determine if a recent deployment caused the incident
  2. Blast Radius Assessment – Map affected services and downstream impact
  3. Postmortem Generation – Create a structured postmortem document

Step 3: Correlate Deployment to Incident

Gather from the user:

Pull recent deployments:

Call MCP tool: harness_list
Parameters:
  resource_type: "execution"
  org_id: "<organization>"
  project_id: "<project>"
  status: "Success"

For each recent deployment, check:

Build a deployment timeline:

  1. List all deployments to the affected environment in the last N hours
  2. Mark the incident start time on the timeline
  3. Identify the most likely causal deployment (closest before incident start)
  4. Check if a rollback was performed and whether it resolved the issue

Present findings with confidence level: HIGH (deployment matches timing + service), MEDIUM (timing matches but different service), LOW (no deployment correlation found).

Step 4: Assess Blast Radius

Gather from the user:

Map the impact:

Call MCP tool: harness_status
Parameters:
  org_id: "<organization>"
  project_id: "<project>"

Assess:

Classify severity:

Recommend immediate actions based on blast radius:

Step 5: Generate Postmortem

Gather from the user:

Structure the postmortem:

1. Executive Summary – What happened, customer impact, duration (2-3 sentences)

2. Timeline – Build from Harness pipeline events and alert timestamps:

Pull timeline data:

Call MCP tool: harness_list
Parameters:
  resource_type: "execution"
  org_id: "<organization>"
  project_id: "<project>"

3. Root Cause Analysis – Which deployment or change triggered the incident and why

4. Impact Assessment – Affected services, environments, and approximate user impact

5. Action Items – Categorized as:

6. Lessons Learned – What went well, what didn’t, and what was lucky

Examples

Performance Notes

Troubleshooting

No Deployment Found in Correlation Window

Blast Radius Assessment Missing Services

Postmortem Missing Timeline Events

Skill frontmatter

metadata: {"author"=>"Harness", "version"=>"1.0.0", "mcp-server"=>"harness-mcp-v2"} license: Apache-2.0 compatibility: Requires Harness MCP v2 server (harness-mcp-v2)