e2e-runner

e2e-runner is an agent for Claude Code, Kiro from affaan-m/ECC. It costs 69 tokens per session (1,587 once invoked), scanned A, original, MIT.

An end-to-end testing agent for checking complete user journeys in a running application, such as signing in or completing a purchase. It uses Agent Browser first and Playwright as a fallback; these are tools for controlling a browser in tests.

In plain words
What is it for?
Use it to create, update, and run end-to-end tests, capture screenshots, videos, and traces, connect tests to CI/CD pipelines, and produce HTML or JUnit reports.
Why use it?
It helps find broken user flows and keeps browser tests useful when the interface changes, including by identifying unstable tests and collecting test evidence.

Agent for Claude CodeKiro

Written for Claude Code and Kiro: shipped in a Claude Code plugin, but also installed under .kiro/.

Part of the ecc plugin — 81 skills, 58 commands, 71 agents, 1 MCP server shipped together

Good fit Use it to create, update, and run end-to-end tests, capture screenshots, videos, and traces, connect tests to CI/CD pipelines, and produce HTML or JUnit reports.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/affaan-m/ecc/e2e-runner
About the project

ECC is a toolkit that organizes and improves how coding agents work through skills, memory, security checks, research practices, and related extensions. It is for developers using agents such as Claude Code, Codex, OpenCode, and Cursor.

affaan-m/ECC · 314,584 stars · on GitHub · ecc.tools

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/affaan-m/ECC

Made for: Claude Code, Kiro.

Or install ecc, the plugin that ships this one along with the rest of its 81 skills, 58 commands, 71 agents, 1 MCP server.

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-runner

README.md
[![agentmods](https://agentmods.dev/badge/agents/affaan-m/ecc/e2e-runner/github.svg)](https://agentmods.dev/agents/affaan-m/ecc/e2e-runner)
Your own site
<a href="https://agentmods.dev/agents/affaan-m/ecc/e2e-runner"><img src="https://agentmods.dev/badge/agents/affaan-m/ecc/e2e-runner/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-runner

Your own site · 80×15
<a href="https://agentmods.dev/agents/affaan-m/ecc/e2e-runner"><img src="https://agentmods.dev/badge/agents/affaan-m/ecc/e2e-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 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,587 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. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review
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.00069 $0.01587
Opus 5.5 $0.00028 $0.00635
Sonnet 5.5 $0.00014 $0.00317
Haiku 4.5 $0.00007 $0.00159

Measured 12d ago against content hash 89d6ed658833, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

e2e-runner 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 12d 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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

.kiro/agents/e2e-runner.md · 135 lines

How it starts

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

E2E Test Runner

You are an expert end-to-end testing specialist. Your mission is to ensure critical user journeys work correctly by creating, maintaining, and executing comprehensive E2E tests with proper artifact management and flaky test handling.

Core Responsibilities

  1. Test Journey Creation — Write tests for user flows (prefer Agent Browser, fallback to Playwright)
  2. Test Maintenance — Keep tests up to date with UI changes
  3. Flaky Test Management — Identify and quarantine unstable tests
  4. Artifact Management — Capture screenshots, videos, traces
  5. CI/CD Integration — Ensure tests run reliably in pipelines
  6. Test Reporting — Generate HTML reports and JUnit XML

Primary Tool: Agent Browser

Prefer Agent Browser over raw Playwright — Semantic selectors, AI-optimized, auto-waiting, built on Playwright.

# Setup
npm install -g agent-browser && agent-browser install

# Core workflow
agent-browser open https://example.com
agent-browser snapshot -i          # Get elements with refs [ref=e1]
agent-browser click @e1            # Click by ref
agent-browser fill @e2 "text"      # Fill input by ref
agent-browser wait visible @e5     # Wait for element
agent-browser screenshot result.png

Fallback: Playwright

When Agent Browser isn't available, use Playwright directly.

npx playwright test                        # Run all E2E tests
npx playwright test tests/auth.spec.ts     # Run specific file
npx playwright test --headed               # See browser
npx playwright test --debug                # Debug with inspector
npx playwright test --trace on             # Run with trace
npx playwright show-report                 # View HTML report

Alternative: e2e

Use e2e when the flow runs on iOS or Android, or when you want tests written as plain-language goals. An agent step that a later assertion verifies records its actions, and later runs replay them with no model calls until the app changes.

# Setup: asks for web or mobile and a model provider, then writes a config and an example test
npx e2e init
# In an agent shell with no terminal, skip the prompts (Web engine by default).
# --skills none --mcp none keeps init from adding an agent skill or MCP server; ask the user before enabling them.
npx e2e init --yes --skills none --mcp none --install                   # Web
npx e2e init --yes --engine mobile --skills none --mcp none --install   # iOS or Android

npx e2e run                                  # Run all E2E tests
npx e2e run tests/checkout.e2e.ts --headed   # Run specific file, see browser
npx e2e run --last-failed                    # Re-run failed tests
npx e2e run --no-cache                       # Run agent steps live instead of replaying
npx e2e run --repeat-each 5 --no-cache       # Check for flakiness with live agent runs

Read the full file on GitHub · 135 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. 12d ago Changed · +25 lines 89d6ed658833
  2. 3mo ago First seen · 110 lines · 69 tokens per session scan A d718e3ae859f

Subscribe to this mod's changes

e2e-runner is an agent published in the GitHub repository affaan-m/ECC (314,584 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 1,587 once invoked, about $0.0003 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-30.

Related

e2e-runner compared with agents from other repositories

e2e-runner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
e2e-runneraffaan-m/ECCAgent315ktodayMITA69Claude Code, Kiro
visual-qa-subagentclosedloop-ai/claude-pluginsAgent122todayApache-2.0A17Claude Code
e2e-runnerxu-xiang/everything-claude-code-zhAgent2.0k9mo agoMITA84Claude Code
integration-testing-orchestratoreunomia-bpf/agentsightAgent812yesterdayMITA0Claude Code
pre-explorerclosedloop-ai/claude-pluginsAgent122todayApache-2.0A48Claude Code
amend-extractorclosedloop-ai/claude-pluginsAgent122todayApache-2.0A23Claude Code
project-doc-ingestorclosedloop-ai/claude-pluginsAgent122todayApache-2.0A19Claude Code