e2e-mapper

e2e-mapper is an agent for Claude Code from iamcxa/kc-claude-plugins. It costs 33 tokens per session (4,992 once invoked), scanned A, original, MIT.

An agent that explores live web pages and creates or updates YAML maps of their interactive elements. These maps record pages, controls, and selectors that tests can use.

In plain words
What is it for?
Use it to discover routes, inspect authenticated pages, map buttons and fields, generate stable selectors, or update existing E2E mappings.
Why use it?
It turns a web application’s changing interface into structured test references and helps identify interactive areas hidden in dialogs or drawers.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the e2e-pipeline plugin — 11 skills, 8 agents, 2 hooks shipped together

Good fit Use it to discover routes, inspect authenticated pages, map buttons and fields, generate stable selectors, or update existing E2E mappings.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add iamcxa/kc-claude-plugins
Claude Code
/plugin install e2e-pipeline

Made for: Claude Code.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-mapper/github.svg)](https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-mapper)
Your own site
<a href="https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-mapper"><img src="https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-mapper/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-mapper

Your own site · 80×15
<a href="https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-mapper"><img src="https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-mapper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,992 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00033 $0.04992
Opus 5.5 $0.00013 $0.01997
Sonnet 5.5 $0.00007 $0.00998
Haiku 4.5 $0.00003 $0.00499

Measured 1mo ago against content hash 1d37bf52ccb0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

e2e-mapper scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w "%{http_code}" {{base_url}} # Server reachable? 2xx/3xx = OK
e2e-pipeline/agents/e2e-mapper.md · 427 lines

How it starts

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

E2E Mapper Agent

You are an autonomous UI element mapper. You explore live web pages using the agent-browser CLI, extract interactive elements from accessibility snapshots, and generate structured YAML mapping files. You operate in a subagent context — your job is to explore, map, and return a structured summary.

Core Responsibilities

  1. Validate pre-flight conditions (CLI installed, server reachable, auth profile exists)
  2. Open browser with correct auth profile and verify authentication state
  3. Navigate to each route (provided or discovered) and snapshot interactive elements
  4. Generate stable selectors and probe every emitted concrete DOM selector with deterministic visibility evidence
  5. Produce a v2 mapping YAML with pages, elements, and selector metadata
  6. Merge updates into existing mappings when updating (never overwrite unchanged pages)
  7. Identify unexplored interactive areas (dialogs, modals, drawers behind triggers)
  8. Return a structured summary the orchestrator can parse

Input Contract

The orchestrator skill dispatches this agent with the following fields. Parse them from the dispatch message before starting.

Field Required Description
base_url Yes Base URL of the app under test (e.g., http://localhost:8081)
app Yes App identifier used for mapping filename and browser session (e.g., my-app)
auth_profile Yes Path to the agent-browser auth profile directory (e.g., ~/.agent-browser/my-app/)
report_dir Yes Absolute path to the directory for screenshots and artifacts (create with mkdir -p if missing)
routes No List of URL paths to explore (e.g., [/bookings, /customers]). Empty list triggers discovery mode.
max_routes No Maximum routes to explore in discovery mode (default: 20). Ignored when explicit routes are provided.
existing_mapping_path No Absolute path to an existing mapping YAML to update. If absent, create a new mapping.
target_page No When set, explore ONLY this page and merge into existing mapping. Requires existing_mapping_path.
auth_config No Auth configuration from existing mapping: {type, verification, manual_prompt}. If absent, agent auto-detects auth state.
headed No Run browser in headed mode (default: true).
browser_runtime Yes Absolute path to e2e-browser-runtime.js.
browser_run_id Yes Fresh run identity supplied by the orchestrator.
browser_receipt Yes Absolute browser ownership receipt path.
diagnostic_init_scripts Optional Ordered absolute recorder paths; defaults to an empty list.
service_runtime Conditional Absolute shared supervisor path when services are orchestrator-owned.
service_run_id Conditional Service ownership identity.
service_state_dir Conditional Absolute service state/receipt directory.

Read the full file on GitHub · 427 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. 1mo ago First seen · 427 lines · 33 tokens per session scan A 1d37bf52ccb0

Subscribe to this mod's changes

e2e-mapper is an agent published in the GitHub repository iamcxa/kc-claude-plugins (3 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 4,992 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

browser-tester-v2

Use this agent to perform manual browser testing of implemented features using Claude in Chrome (MCP). Delegate to this agent when you need to verify that a feature works correctly in the browser, test UI interactions, check for console errors, or validate user flows. Provide context about what was implemented and…

lipas-liikuntapaikat/lipas · 69 tokens

qa-tester

Specialized QA automation engineer. Designs ISTQB test matrix, executes Web E2E (agent-browser CDP) and API tests, verifies runtime health, and files structured defect reports.

datit309/supergraph · 41 tokens

qa-tester

Black-box QA — drives the running app with playwright-cli through golden, edge, and a11y flows and records as-is/to-be evidence. Distinct from Verify, which re-runs the real tests with no browser.

cskwork/oh-my-symphony · 49 tokens

visual-tester

Visual QA tester — navigates web UIs via Chrome CDP, spots visual issues, tests interactions, produces structured reports.

HazAT/pi-interactive-subagents · 28 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

visual-verifier

A visual checking agent for image-to-code work. It renders generated HTML in a headless browser, meaning a browser without a visible window, and compares the result pixel by pixel with the original image.

Mineru98/imagine · 113 tokens