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.
git clone --depth 1 https://github.com/matteocervelli/llmsnpx agentmods add skills/matteocervelli/llms/e2e-test-writerWrote 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.
[](https://agentmods.dev/skills/matteocervelli/llms/e2e-test-writer)<a href="https://agentmods.dev/skills/matteocervelli/llms/e2e-test-writer"><img src="https://agentmods.dev/badge/skills/matteocervelli/llms/e2e-test-writer/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.
<a href="https://agentmods.dev/skills/matteocervelli/llms/e2e-test-writer"><img src="https://agentmods.dev/badge/skills/matteocervelli/llms/e2e-test-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.04490 |
| Opus 5.5 | $0.00013 | $0.01796 |
| Sonnet 5.5 | $0.00006 | $0.00898 |
| Haiku 4.5 | $0.00003 | $0.00449 |
Grade A, and why
e2e-test-writer 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 733 lines — stays where its author put it; the contents beside it link to each section on GitHub.
E2E Test Writer Skill
Purpose
This skill provides comprehensive guidance for writing end-to-end tests using Playwright, following best practices including page object model pattern, proper test isolation, and maintainable test architecture.
When to Use
- Implementing E2E tests for new features
- Testing user workflows and journeys
- Validating browser interactions
- Testing responsive design across devices
- Regression testing after changes
- CI/CD test automation
E2E Testing Workflow
1. Setup Playwright Project
Initialize Playwright:
# Install Playwright
npm init playwright@latest
# Or add to existing project
npm install -D @playwright/test
npx playwright install
Project Structure:
tests/
├── e2e/
│ ├── auth/
│ ├── features/
│ └── workflows/
├── pages/
│ ├── BasePage.ts
│ ├── LoginPage.ts
│ └── DashboardPage.ts
├── fixtures/
│ ├── test-data.ts
│ └── custom-fixtures.ts
├── utils/
│ ├── helpers.ts
│ └── constants.ts
└── playwright.config.ts
Playwright Configuration:
// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './tests/e2e',
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
reporter: [
['html'],
['json', { outputFile: 'test-results/results.json' }],
['junit', { outputFile: 'test-results/junit.xml' }],
],
use: {
baseURL: process.env.BASE_URL || 'http://localhost:3000',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
{
name: 'mobile-chrome',
use: { ...devices['Pixel 5'] },
},
{
name: 'mobile-safari',
use: { ...devices['iPhone 12'] },
},
],
webServer: {
command: 'npm run start',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
},
});
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.
- 3mo ago First seen · 733 lines · 32 tokens per session scan A 1dbf069d0687
e2e-test-writer is a skill published in the GitHub repository matteocervelli/llms (25 stars, last pushed 6mo ago), licensed MIT. It adds 32 tokens to every session and 4,490 once invoked, about $0.0001 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-01.
e2e-test-writer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| e2e-test-writermatteocervelli/llms | Skill | 25 | 6mo ago | MIT | A | 32 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.4k | 5d ago | MIT | A | 68 | Claude Code, Codex |
| create-verification-skillget-bb/bb | Skill | 6.3k | today | MIT | A | 57 | Claude Code, Codex |
| webapp-testinganthropics/skills | Skill | 203k | today | none | A | 35 | Claude Code |
| codex-computer-usedavidondrej/skills | Skill | 4.4k | 5d ago | MIT | A | 53 | Claude Code, Codex |
| test-electron-appPostHog/posthog-foss | Skill | 734 | today | MIT | A | 112 | Claude Code |
| smoke-testSkyvern-AI/skyvern | Skill | 24k | today | AGPL-3.0 | A | 50 | Claude Code, Codex |