orchestrator: Skill for Claude Code

.claude/skills/e2e-testing/SKILL.md

e2e-testing is a skill for Claude Code from c9r-io/orchestrator. It costs 36 tokens per session (471 once invoked), scanned A, original, MIT.

A Playwright-based system for running and writing end-to-end browser tests. These tests drive a real web interface through complete user journeys, such as opening a page, submitting a form, or checking a result.

In plain words
What is it for?
Use it to run existing tests, add focused journey tests, check the Vite frontend, and test native Tauri behavior when native commands matter.
Why use it?
It verifies important behavior across the interface and its services, while helping investigate unreliable browser tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is c9r-io/orchestrator's own configuration. It tells Claude Code how to work on orchestrator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything orchestrator configures →

Reuse

Borrowing it

Nothing to install: this file belongs to c9r-io/orchestrator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/c9r-io/orchestrator/main/.claude/skills/e2e-testing/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/c9r-io/orchestrator

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/c9r-io/orchestrator/e2e-testing/github.svg)](https://agentmods.dev/skills/c9r-io/orchestrator/e2e-testing)
Your own site
<a href="https://agentmods.dev/skills/c9r-io/orchestrator/e2e-testing"><img src="https://agentmods.dev/badge/skills/c9r-io/orchestrator/e2e-testing/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-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/c9r-io/orchestrator/e2e-testing"><img src="https://agentmods.dev/badge/skills/c9r-io/orchestrator/e2e-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 471 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.00036 $0.00471
Opus 5.5 $0.00014 $0.00188
Sonnet 5.5 $0.00007 $0.00094
Haiku 4.5 $0.00004 $0.00047

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

Security

Grade A, and why

e2e-testing 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.

.claude/skills/e2e-testing/SKILL.md · 56 lines

What it actually says

E2E Testing (Playwright)

Use the existing Playwright configuration and a small set of stable, behavior-focused journeys.

Repository Layout

  • Frontend package: gui/package.json
  • Playwright config: gui/playwright.config.ts
  • Browser tests: gui/tests/e2e/
  • Default test server: the Vite server declared by the Playwright config
  • Native host: crates/gui/; use Tauri-specific tests only when native commands are in scope

Do not assume Docker Compose, Kubernetes, or a legacy portal tree. If a different target repository owns those surfaces, discover and verify them there first.

Run Existing Tests

cd gui
npm run test:e2e

Use the package's test:all script when unit, coverage, E2E, and build evidence are all required. Install browsers or packages only with user approval when the environment is missing them.

Authoring Tests

  • Prefer getByRole, getByLabel, and accessible names over CSS structure.
  • Avoid sleeps; wait for visible state, URLs, responses, or emitted events.
  • Keep each scenario narrow and deterministic.
  • Use the existing mock and transport boundaries. If a daemon is required, apply a deterministic fixture from fixtures/manifests/bundles/ and isolate it by project.
  • Capture a trace or screenshot for failures when the config supports it.

Example:

import { expect, test } from "@playwright/test";

test("critical control remains reachable", async ({ page }) => {
  await page.goto("/");
  await expect(page.getByRole("main")).toBeVisible();
});

Flake Triage

  1. Re-run the single failing spec with the same revision and server state.
  2. Inspect the retained trace and browser console.
  3. Replace timing assumptions and shared state with explicit conditions and setup.
  4. Re-run the single spec, then npm run test:e2e, then the relevant build/tests.

Never weaken an assertion or add retries without identifying the nondeterministic boundary.

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 First seen · 56 lines · 36 tokens per session scan A 64cdec48156d

Subscribe to this mod's changes

e2e-testing is a skill published in the GitHub repository c9r-io/orchestrator (21 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 471 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-08-30.