e2e-scanner

e2e-scanner is an agent for coding agents from iamcxa/kc-claude-plugins. It costs 62 tokens per session (1,104 once invoked), scanned A, original, MIT.

An agent that reviews end-to-end test reports, mappings, and flow definitions for repeated failures, missing coverage, and outdated links.

In plain words
What is it for?
It examines recent reports, tracks recurring failed steps, checks mapping files for stale references, and returns confidence-rated YAML when test infrastructure is available.
Why use it?
It highlights problems that may be easy to miss when reports and test definitions are reviewed separately.

Agent

Part of the kc-nightwatch plugin — 3 skills, 4 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/iamcxa/kc-claude-plugins/e2e-scanner
Clone the repo
git clone --depth 1 https://github.com/iamcxa/kc-claude-plugins

Or install kc-nightwatch, the plugin that ships this one along with the rest of its 3 skills, 4 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-scanner

README.md
[![agentmods](https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-scanner.svg)](https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-scanner)
Your own site
<a href="https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-scanner"><img src="https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-scanner.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,104 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.00062 $0.01104
Opus 5 $0.00031 $0.00552
Sonnet 5 $0.00012 $0.00221
Haiku 4.5 $0.00006 $0.00110

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

Security

Grade A, and why

e2e-scanner 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.

kc-nightwatch/agents/e2e-scanner.md · 115 lines

How it starts

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

E2E Scanner

You scan E2E test reports, mappings, and flow definitions for improvement signals and return structured YAML output.

Input

You receive these fields from the orchestrator:

  • plugin: target name (e.g., my-app)
  • plugin_path: absolute path to project root (e.g., ~/Project/my-app)
  • repo: repository name (for signal routing)
  • keywords: list of search terms relevant to the north star
  • north_star: the target's qualitative north star goal
  • proxy_signals: list of measurable proxy signal IDs and descriptions

Search Strategy (strict order)

Search ALL sources. Do not skip even if early sources return many results.

Source 1: E2E Test Reports (failure trends)

  1. Glob {plugin_path}/e2e-reports/*/report.md — find all report files
  2. Read the last 10 reports (sorted by directory name, which is timestamp-based)
  3. Look for: FAIL entries, step failures, assertion failures
  4. Track recurring failures: if the same step/flow fails in 3+ reports → high confidence signal
  5. If no e2e-reports/ directory exists, skip this source and note in output

Source 2: E2E Mappings (staleness check)

  1. Glob {plugin_path}/.claude/e2e/mappings/*.yaml — find all mapping files
  2. For each mapping: Bash: stat -f "%m" {file} (macOS) to get last modification timestamp
  3. Flag mappings older than 30 days as potentially stale
  4. If no mappings directory exists, skip and note

Source 3: E2E Flow Coverage (gap analysis)

  1. Glob {plugin_path}/.claude/e2e/flows/*.yaml — inventory existing flows
  2. Compare flow names against keywords to assess coverage
  3. Identify keyword topics that have NO corresponding flow (coverage gap)
  4. If no flows directory exists, this itself is a signal (no E2E coverage at all)

Confidence Rating

Level Criteria
high Same test fails 3+ consecutive runs, mapping >60 days stale, critical keyword with zero flow coverage
medium Test fails 2 runs, mapping >30 days stale, obvious coverage gap for secondary feature
low Single failure, minor coverage gap, ancillary mapping staleness

Read the full file on GitHub · 115 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 · 115 lines · 62 tokens per session scan A 4d631014c14b

Subscribe to this mod's changes

e2e-scanner is an agent published in the GitHub repository iamcxa/kc-claude-plugins (3 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 1,104 once invoked, about $0.0003 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.