Skip to content
Skill

Incident triage

Guides an agent through localizing an active incident to a service and error pattern

Incident triage is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Incident triage

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".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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):

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Incident triage 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.

More from Pranavj17/mcp-server-graylog

  1. Lets your agent search and trace production logs in Graylog via its MCP server

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Follows one trace ID across services in Graylog to find where a request failed

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Diagnoses failing Graylog MCP tool calls across connectivity, auth and query issues

    • Open source
    • 6 GitHub stars
    • Developer tools