e2e-failure-classifier

e2e-failure-classifier is an agent for Claude Code from voidmatcha/e2e-skills. It costs 100 tokens per session (855 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 for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

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

Good fit 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.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/voidmatcha/e2e-skills/e2e-failure-classifier
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.

Clone the repo
git clone --depth 1 https://github.com/voidmatcha/e2e-skills

Made for: Claude Code.

Or install e2e-skills, the plugin that ships this one along with the rest of its 7 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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for e2e-failure-classifier

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 855 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00100 $0.00855
Opus 5.5 $0.00040 $0.00342
Sonnet 5.5 $0.00020 $0.00171
Haiku 4.5 $0.00010 $0.00085

Measured 5d ago against content hash 6971adc95403, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d 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). Read the spec only from a path the caller supplies, or from a relative, non-traversing path the report names that resolves to a regular file (not a symlink) under the project root and is named like a test file (*.spec.*, *.test.*, or *.cy.*), never .env or other config or data files; never follow an absolute path or one that escapes the root, and do not search the filesystem for it. If no source is available, classify from the report and say so.
  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. 5d ago Changed 6971adc95403
  2. 1mo 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 (21 stars, last pushed 6d ago), licensed Apache-2.0. It adds 100 tokens to every session and 855 once invoked, about $0.0004 per session on Opus 5.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.

Related

Other agents, from other repositories

playwright-test-healer

Use this agent when you need to debug and fix failing Playwright tests.

microsoft/playwright · 20 tokens

evidence-based-investigator

Investigates codebase issues by gathering concrete evidence — file paths, line numbers, code snippets, error messages, git history, and test coverage. Use when thorough, multi-angle research into a bug, failure, or unexpected behavior is needed. Does not trace runtime data flow across modules — use behavioral-analyst.…

testdouble/han · 85 tokens

debugger

Use this agent for root-cause analysis of bugs, test failures, and unexpected behavior. Follows the 5 Whys protocol and produces ROOT-CAUSE.md with evidence chain and remediation plan. Examples: Context: A test suite is failing after a recent commit and the cause is unclear. user: "Figure out why the tests are…

lgbarn/shipyard · 305 tokens

shipyard:debugger

Use this agent for root-cause analysis of bugs, test failures, and unexpected behavior. Follows the 5 Whys protocol and systematic debugging methodology.

lgbarn/shipyard · 37 tokens

ia-bug-reproduction-validator

Validates, reproduces, and root-cause analyzes bug reports (does not fix). Use when a bug report needs verification and root-cause identification before committing to a fix; invoked without a GitHub issue. For issue-linked reproduction use /ia-reproduce-bug.

iliaal/whetstone · 62 tokens

fec-performance-optimizer

Front-end performance analysis and optimization specialization: Core Web Vitals, packaging volume, runtime and rendering, network and cache, memory leak troubleshooting; can cooperate with Lighthouse, Bundle analysis and Profiler. Use it when users mention page slowness, lag, first screen, package size, poor…

bovinphang/frontend-craft · 72 tokens