# Incident triage

> Incident triage is an open-source agent skill for developer tools. Guides an agent through localizing an active incident to a service and error pattern. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Pranavj17/mcp-server-graylog/tree/main/skills/incident-triage
- **Repository:** https://github.com/pranavj17/mcp-server-graylog
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** incident-triage
- **Collection:** https://github.com/Pranavj17/mcp-server-graylog
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill gives the agent a short, ordered playbook for live failures such as error spikes, fired alerts or a service going down. It starts by counting error logs per service over the last 30 minutes, then compares that count against the preceding window to separate new failures from ongoing noise or shared dependency problems.

From there the agent samples error messages from the worst service, looks for one dominant pattern, a repeating trace ID or a crash loop, and checks for startup markers shortly before the spike to see whether a recent deploy is the likely trigger. If errors cluster on a single pod, the skill points toward a restart rather than a code change.

The workflow is written around Graylog-style log tools, namely aggregate_logs and search_logs_relative, and it hands off to a separate trace-debugging skill when a single trace ID dominates. It stops after about five tool calls and reports what was found, or asks the user about recent changes if the pattern stays unclear.

## When your agent uses it

> Use when the user reports an active incident — errors spiking, an alert fired, "something just broke." Helps localize the failure to a service and pattern before deep-diving. Triggers on "errors spiking", "outage", "incident", "something just broke", "alert fired", "service down".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Pranavj17/mcp-server-graylog/tree/HEAD/skills/incident-triage)
- [License: MIT](https://github.com/Pranavj17/mcp-server-graylog/tree/HEAD/skills/incident-triage)

## Features

- **Service-level error counting:** Aggregates error-level logs by service over a 30-minute window to find the top suspects.
- **Baseline comparison:** Compares the current window against the previous half hour to tell new failures from ongoing ones.
- **Error pattern sampling:** Pulls sample error messages from the worst service and classifies them as localized, repeating or crash-loop.
- **Deploy detection:** Searches for startup markers just before a spike to flag a likely recent deployment.
- **Pod correlation:** Checks whether errors concentrate on one pod, suggesting a restart instead of a code fix.
- **Defined stop conditions:** Sets clear points for when to report, escalate to a shared dependency, or ask the user.

## Good for

- Errors spiked on the checkout service, figure out which service is failing
- An alert just fired, find out whether a recent deploy caused it
- Something just broke in production, narrow it down to one pod or service
- Service is down, check whether a shared database or auth dependency is the cause

## Install

### Claude Code

This skill ships in the `graylog-log-search` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Pranavj17/mcp-server-graylog
/plugin install graylog-log-search@pranavj17
```

Or copy only this skill to `~/.claude/skills/incident-triage`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/incident-triage &&
cp -R "$tmp/skills/incident-triage" ~/.claude/skills/incident-triage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/incident-triage` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/incident-triage` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/incident-triage &&
cp -R "$tmp/skills/incident-triage" ~/.agents/skills/incident-triage &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/incident-triage` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/incident-triage` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/incident-triage &&
cp -R "$tmp/skills/incident-triage" ~/.cursor/skills/incident-triage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/incident-triage` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Pranavj17/mcp-server-graylog.git --path skills/incident-triage
```

Or copy the folder to `~/.gemini/skills/incident-triage` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/incident-triage`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/incident-triage &&
cp -R "$tmp/skills/incident-triage" ~/.copilot/skills/incident-triage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/incident-triage` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Pranavj17/mcp-server-graylog.git
```

Then copy `mcp-server-graylog/skills/incident-triage` into your agent's skills folder as `incident-triage`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What tools does Incident triage need?

The playbook calls aggregate_logs and search_logs_relative, which are log search tools. The skill does not list any allowed tools or scripts.

### When does Incident triage trigger?

It triggers on phrases such as errors spiking, outage, incident, something just broke, alert fired and service down.

### Does Incident triage change anything?

It only reads and analyzes logs and reports findings. It suggests actions like a rollback, a pod restart or a targeted code review, which the user carries out.

### How long does an investigation take?

The skill aims to finish in under five tool calls and stops early if it finds a localized cause or a shared dependency issue.

### How do I install Incident triage in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/incident-triage to use it in all your projects, or to .claude/skills/incident-triage in one project. Or install the graylog-log-search plugin, which includes it: /plugin marketplace add Pranavj17/mcp-server-graylog, then /plugin install graylog-log-search@pranavj17.

### Does Incident triage run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Incident triage?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Incident triage?

The closest alternatives to Incident triage are Incident triage, Trace debugging, Observability gap, Agent introspection debugging and AWS cloudwatch investigation.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Incident triage](https://ai-powered.com/skills/incident-triage-rpraharaj): Incident triage is an open-source agent skill for developer tools.
- [Trace debugging](https://ai-powered.com/skills/trace-debugging): Trace debugging is an open-source agent skill for developer tools.
- [Observability gap](https://ai-powered.com/skills/observability-gap): Observability gap is an open-source agent skill for developer tools.
- [Agent introspection debugging](https://ai-powered.com/skills/agent-introspection-debugging): Agent introspection debugging is an open-source agent skill for developer tools.
- [AWS cloudwatch investigation](https://ai-powered.com/skills/aws-cloudwatch-investigation): AWS cloudwatch investigation is an open-source agent skill for cloud and infrastructure.
- [Principle fix root causes](https://ai-powered.com/skills/principle-fix-root-causes): Principle fix root causes is an open-source agent skill for developer tools.
- [Arch linux triage](https://ai-powered.com/skills/arch-linux-triage): Arch linux triage is an open-source agent skill for developer tools.
- [Enterprise agent ops](https://ai-powered.com/skills/enterprise-agent-ops): Enterprise agent ops is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/incident-triage
