e2e-flow-writer

e2e-flow-writer is an agent for Claude Code from iamcxa/kc-claude-plugins. It costs 41 tokens per session (3,416 once invoked), scanned A, original, MIT.

An agent that writes YAML instructions for end-to-end tests from a feature description, code context, and page mapping. YAML is a plain-text format commonly used for structured configuration.

In plain words
What is it for?
Use it to turn acceptance criteria into browser or command-line test flows, including the concrete fields, pages, submissions, and redirects to test.
Why use it?
Writing browser flows by hand can lead to invalid page or element names and steps that do not match the application. This agent checks the available routes and controls before creating the flow file.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the e2e-pipeline plugin — 11 skills, 8 agents, 2 hooks 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-flow-writer
Clone the repo
git clone --depth 1 https://github.com/iamcxa/kc-claude-plugins

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-flow-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-flow-writer.svg)](https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-flow-writer)
Your own site
<a href="https://agentmods.dev/agents/iamcxa/kc-claude-plugins/e2e-flow-writer"><img src="https://agentmods.dev/badge/agents/iamcxa/kc-claude-plugins/e2e-flow-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,416 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00041 $0.03416
Opus 5 $0.00020 $0.01708
Sonnet 5 $0.00008 $0.00683
Haiku 4.5 $0.00004 $0.00342

Measured 5d ago against content hash b9a907ba6533, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

e2e-flow-writer 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 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.

Makes network callslowCapability

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

- Shell commands to execute (curl, psql, npm, bun, scripts)
e2e-pipeline/agents/e2e-flow-writer.md · 261 lines

How it starts

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

E2E Flow Writer Agent

You are an autonomous flow YAML generator. You analyze codebase context and mapping files to produce E2E test flows. You operate in a subagent context — your job is to read, analyze, construct a flow, and write it. You NEVER open a browser or run any shell commands.

Core Responsibilities

  1. Parse the mapping YAML to understand available pages, elements, and URL patterns (skip if cli_only)
  2. Parse the codebase context summary to understand routes, components, and API endpoints
  3. Do targeted code reads (max 10 files) to understand form fields, submit handlers, redirects
  4. Construct a flow YAML that maps the description to concrete steps (browser + external, or external-only)
  5. Validate every page/element name against the mapping (skip if cli_only)
  6. Write the flow YAML file

Input Contract

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

Field Required Description
description Yes What to test — feature description or acceptance criteria
mapping_path If browser Absolute path to the mapping YAML file. Omitted when cli_only: true.
context_summary Yes Codebase scan results from skill (routes, components, API endpoints)
output_dir Yes Absolute path to .claude/e2e/flows/ directory
flow_name No Override auto-naming. Default: <kebab-description>-<timestamp>.yaml
source_text No Plan/spec/PR diff full text for criteria extraction
smoke_mode No If true, generate visit-all-pages flow from mapping
cli_only No If true, generate only Execute external / Verify external steps. No mapping needed.

Procedure

Step 1 — Parse Inputs

  1. If cli_only: Skip mapping read. Set app to project directory name. Skip to step 2. Otherwise: Read the mapping YAML at mapping_path:
    • Extract app, base_url, auth config
    • Build a page inventory: { page_name: { url_pattern, elements: [name, selector, description] } }
  2. Parse context_summary text:
    • Extract route → file path mappings
    • Extract component → field/handler mappings
    • Extract API endpoint list
  3. If source_text provided, extract numbered acceptance criteria or UI change descriptions
  4. If smoke_mode, skip to Step 3 (Smoke).
  5. If cli_only, skip to Step 3 (CLI-only).

Read the full file on GitHub · 261 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 First seen · 261 lines · 41 tokens per session scan A b9a907ba6533

Subscribe to this mod's changes

e2e-flow-writer is an agent published in the GitHub repository iamcxa/kc-claude-plugins (3 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 3,416 once invoked, about $0.0002 per session on Opus 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

qa

Use when testing application quality via browser dogfood, E2E tests, or API smoke tests. Navigates the app with the available browser tool, takes screenshots, checks console errors, and runs relevant E2E tests. Read-only — reports issues but never edits code. Also use when the user says 'test this', 'dogfood', 'QA'…

exceptionless/Exceptionless · 85 tokens

e2e-verifier

FlutterアプリのE2E動作検証エージェント。MCP(dart-mcp + Marionette)を使い、シミュレーター上でUI操作・検証を行う。mobile-automationスキルから呼び出される。.

K9i-0/ccpocket · 65 tokens

test-reporter

Agent "test-reporter" from nrslib/takt, covering e2e test reporter and instructions.

nrslib/takt · 0 tokens

integration-testing-orchestrator

Use this agent when you need to coordinate end-to-end testing across multiple components, optimize build systems, validate deployments, or ensure proper integration between eBPF programs, Rust collector, and frontend components. Examples: Context: User has made changes to both eBPF programs and Rust collector and…

eunomia-bpf/agentsight · 0 tokens

electron-e2e-test-runner

Use this agent when you need to run, debug, or troubleshoot end-to-end Electron tests. This includes handling test execution, interpreting test results, and resolving common Electron testing issues like process launch failures, test timeouts, or environment setup problems. Examples:\n\n \nContext: The user is working…

sahithvibudhi/vibe-tree · 365 tokens

Testing Agent

Ensures quality through comprehensive testing strategies, test automation, and quality assurance processes.

dmoskov/shadowsky · 18 tokens