incident-classifier

An incident triage tool that classifies errors by type, severity, and suggested remediation. Incident triage means sorting a production problem by urgency and deciding how it should be handled.

In plain words
What is it for?
Use it to analyze HTTP errors and common failures such as timeouts, authentication problems, rate limits, memory exhaustion, deadlocks, and low disk space.
Why use it?
It gives error logs and incidents a consistent priority instead of requiring manual interpretation each time.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/apiliumcode/mayros/incident-classifier
Any agent
npx skills add ApiliumCode/mayros --skill incident-classifier
Clone the repo
git clone --depth 1 https://github.com/ApiliumCode/mayros

Made for: Claude Code, Codex.

Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 320 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00017 $0.00320
Opus 5 $0.00009 $0.00160
Sonnet 5 $0.00003 $0.00064
Haiku 4.5 $0.00002 $0.00032

Measured 2d ago against content hash 3ba0f622e4a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

incident-classifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (skill.test.ts, skill.ts, types.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/official/incident-classifier/SKILL.md · 37 lines

What it actually says

incident-classifier

Classify errors and incidents by type, severity, and remediation steps using HTTP status codes and error pattern analysis.

When to Use

Use when triaging production incidents, analyzing error logs, or building automated incident response workflows. The skill recognizes HTTP status codes (400-504) and 8 common error type patterns including timeouts, authentication failures, rate limits, network errors, validation issues, memory exhaustion, deadlocks, and disk space problems.

Instructions

  1. Recall previous incident history with skill_memory_context using predicate incident:history
  2. For each error or incident, the skill classifies it by type and assigns a severity level (P0-P4)
  3. Critical findings (P0/P1) are asserted with skill_assert using predicate incident:classified with proof required
  4. Informational findings use predicate incident:finding without proof
  5. Query incident history to track patterns and recurring issues over time
Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 37 lines · 17 tokens per session scan A 3ba0f622e4a2

Subscribe to this mod's changes

incident-classifier is a skill published in the GitHub repository ApiliumCode/mayros (12 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 320 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.