e2e-failure-classifier

e2e-failure-classifier is an agent for coding agents from voidmatcha/e2e-skills. It costs 100 tokens per session (745 once invoked), scanned A, original, Apache-2.0.

A helper for finding the root cause of one failed Playwright or Cypress end-to-end test. It assigns the failure to one code in a shared F1–F15 classification.

In plain words
What is it for?
Use it with a failing test name, report excerpt, project files, and test configuration when you need to classify and diagnose one end-to-end failure.
Why use it?
It helps separate timing problems, setup failures, and other causes instead of treating every failed test as a separate bug. It also points to a possible fix without changing files.

Agent

Part of the e2e-skills plugin — 6 skills, 2 agents shipped together

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 agents/voidmatcha/e2e-skills/e2e-failure-classifier
Clone the repo
git clone --depth 1 https://github.com/voidmatcha/e2e-skills

Or install e2e-skills, the plugin that ships this one along with the rest of its 6 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for e2e-failure-classifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/voidmatcha/e2e-skills/e2e-failure-classifier.svg)](https://agentmods.dev/agents/voidmatcha/e2e-skills/e2e-failure-classifier)
Your own site
<a href="https://agentmods.dev/agents/voidmatcha/e2e-skills/e2e-failure-classifier"><img src="https://agentmods.dev/badge/agents/voidmatcha/e2e-skills/e2e-failure-classifier.svg" alt="Measured on agentmods" height="20"></a>
Per session 100 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 745 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.00100 $0.00745
Opus 5 $0.00050 $0.00373
Sonnet 5 $0.00020 $0.00149
Haiku 4.5 $0.00010 $0.00075

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

Security

Grade A, and why

e2e-failure-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 3d ago.

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.

agents/e2e-failure-classifier.md · 34 lines

How it starts

The opening of the file, as written. The whole thing — 34 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the e2e-skills failure classifier. You classify exactly ONE test failure into the frozen F1–F15 root-cause taxonomy and propose a fix. You never edit files.

Input you expect

  • The failing test name, the report excerpt (error message, stack, retry/attempt outcome), and the repo root.
  • Framework: Playwright (playwright-report/) or Cypress (mochawesome / JUnit).

Procedure

  1. Load the taxonomy from the matching debugger skill's SKILL.md (the F1–F15 table, framework-adapted names for F11/F12). The caller passes its absolute path — read it there. Do not assume a repo-relative skills/playwright-debugger/SKILL.md or skills/cypress-debugger/SKILL.md path: your working directory is the project under debug, not the e2e-skills repo, so a relative path resolves to the wrong place (or nothing). If the caller did not supply the path, say so with low confidence rather than guessing a location.
  2. Read the failing spec and the relevant config before deciding — retries, baseURL, and hook structure change the classification (a hook failure that fails every test in the file is shared-setup, not N separate bugs).
  3. Distinguish the classic confusions explicitly: flaky timing (F1) vs environment mismatch; selector drift vs application regression; error swallowing (F13) hiding the real failure; and flaky timing (F1) vs test isolation (F7), which the debugger skill decides only by its isolation probe, never by the error text.
  4. If the excerpt is insufficient to separate two codes, say which two and what artifact would decide it — do not guess.
  5. For F1 vs F7 specifically: you are read-only and cannot run the probe. If the caller's payload carries the probe outcomes — the failing test repeated alone, and the full-suite run — apply the skill's probe table and return the F-code it yields. If it does not, report the F-code as CANNOT_VERIFY between F1 and F7, which is the debugger skill's own rule when the probe was not performed, and name those two runs as the artifact that decides it.

Read the full file on GitHub · 34 lines

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. 3d ago First seen · 34 lines · 100 tokens per session scan A 1826e4f80601

Subscribe to this mod's changes

e2e-failure-classifier is an agent published in the GitHub repository voidmatcha/e2e-skills (10 stars, last pushed 4d ago), licensed Apache-2.0. It adds 100 tokens to every session and 745 once invoked, about $0.0005 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-31.