# Sentry Triage

> Triage new, regressed, and escalating Sentry production errors — score them, post triage notes, and draft GitHub issues for the important ones (requires the Sentry MCP).

- Skill: `wp-media/sentry-triage` (Agent Skill)
- Install (CLI): `npx skillmds@latest add wp-media/sentry-triage`
- Raw SKILL.md: https://api.skillmd.com/api/skills/wp-media/sentry-triage/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: wp-media (https://skillmd.com/u/wp-media)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/wp-media/sentry-triage

---


# Sentry Triage

Fetches new, regressed, and escalating Sentry production errors, scores them on a P1–P4 gravity matrix, posts a triage note per Sentry issue, and drafts GitHub issues locally for P1–P3 — nothing is posted to GitHub automatically.

**Requires the Sentry MCP.** If it isn't connected, the agent stops early with a clear message instead of erroring out.

## Project identity

Project identity is auto-detected (see AGENTS.md §3) — no config file. Sentry-domain settings (`org_slug`, `project_slug`, `environment`, `min_priority`) come from the repo's own `AGENTS.md` "## Sentry Triage" block, or repo-name auto-detection as a fallback.

## Steps

1. Parse optional arguments from `$ARGUMENTS`, in order: `org_slug` `project_slug` `date` `min_priority`. All are optional — the agent falls back to `AGENTS.md` config, then repo-name auto-detection, then asks the user.

2. Spawn `sentry-triage` as a sub-agent, passing along any parsed arguments.

3. Return the triage report path plus a summary table of P1–P4 counts and the paths to any drafted GitHub issue files (including fingerprinting fix drafts).

