webapp-e2e-harness

webapp-e2e-harness is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 116 tokens per session (1,153 once invoked), scanned A, original, Apache-2.0.

A scaffold for Playwright end-to-end tests of a local web application. End-to-end tests operate the app as a user would, checking the whole flow through the browser.

In plain words
What is it for?
Use it to create a Python-based Playwright test suite, run flows against a local URL, reuse an authentication state, and prepare tests for a build process.
Why use it?
Browser tests often break when selectors change or when every test repeats login. This setup promotes meaningful selectors and reuse of saved login state, while leaving the actual test assertions for you to complete.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/e2e_scaffold.py --url http://127.0.0.1:8000 --out e2e.

Good fit Use it to create a Python-based Playwright test suite, run flows against a local URL, reuse an authentication state, and prepare tests for a build process.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit
agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/webapp-e2e-harness

Made for: Claude Code, Codex.

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 webapp-e2e-harness

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/webapp-e2e-harness/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/webapp-e2e-harness)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/webapp-e2e-harness"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/webapp-e2e-harness/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 webapp-e2e-harness

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/webapp-e2e-harness"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/webapp-e2e-harness.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,153 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.00116 $0.01153
Opus 5.5 $0.00046 $0.00461
Sonnet 5.5 $0.00023 $0.00231
Haiku 4.5 $0.00012 $0.00115

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

Security

Grade A, and why

webapp-e2e-harness 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 2mo 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.

site/skills/programming/testing/webapp-e2e-harness/SKILL.md · 83 lines

How it starts

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

Webapp E2E Harness (Playwright End-to-End Test Scaffold)

Generates a runnable Playwright e2e test suite (Python edition, no node required), with three built-in disciplines that keep tests from rotting: semantic-first selectors, login-state reuse, and anti-scrape etiquette. Adapted from anthropics/skills webapp-testing plus skill-forge's Playwright thinking, trimmed to an offline scaffold + handling guide.

The core judgment: the biggest cost of e2e tests isn't writing them, it's maintaining them. Selector drift, re-login on every case, and getting 429'd by anti-scraping — these three decide whether tests survive a second refactor. This skill writes the handling into the scaffold itself, not just an empty shell.

Red line: the script is offline (it only writes files, makes no network requests); actually running the tests is done by the user via run_e2e.sh; it dry-runs by default and only writes files with --write; credentials go only through env.

Input Checklist

Input Required Description
Target base URL No Defaults to http://127.0.0.1:8000, overridable via E2E_BASE_URL
Output directory No Defaults to e2e/

Pre-flight Checks

  1. Is the app under test already running locally? (The script doesn't start the service for you; start it first.)
  2. Is pytest + playwright installed? If not, run_e2e.sh's first step installs them, but the browser binary needs python3 -m playwright install chromium.
  3. Is there a login state? If so, prepare auth.json (produced by the first codegen login).

Workflow

# 1. Dry run: see which files would be generated
python3 scripts/e2e_scaffold.py --url http://127.0.0.1:8000 --out e2e

# 2. Actually generate
python3 scripts/e2e_scaffold.py --url http://127.0.0.1:8000 --out examples/e2e --write   # real generation writes examples/e2e/; in CI use a temp directory

# 3. Run in one step (install deps + install browser + pytest)
E2E_BASE_URL=http://127.0.0.1:8000 bash e2e/run_e2e.sh

Read the full file on GitHub · 83 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. 2mo ago Changed · -8 lines · -8 tokens per session 03e14730e15e
  2. 2mo ago First seen · 91 lines · 124 tokens per session scan A 5d80bf9221ed

Subscribe to this mod's changes

webapp-e2e-harness is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 116 tokens to every session and 1,153 once invoked, about $0.0005 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-09-23.

Related

webapp-e2e-harness compared with skills from other repositories

webapp-e2e-harness next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
webapp-e2e-harnessMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A116Claude Code, Codex
dogfoodNousResearch/hermes-agentSkill267ktodayMITA18Claude Code, Codex
e2e-testingaffaan-m/ECCSkill313k7d agoMITA53Claude Code, Codex
langbot-testinglangbot-app/LangBotSkill19ktodayApache-2.0A58Claude Code, Codex
browser-testlangwatch/langwatchSkill5.1ktodayApache-2.0A85Claude Code
playwright-cliVoltAgent/voltagentSkill11k24d agoMITA52Claude Code
penguin-testing-electronPrism-Shadow/penguin-harnessSkill3.4ktodayApache-2.0A84Claude Code, Codex