Borrowing it
Nothing to install: this file belongs to openkaiden/kaiden. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/openkaiden/kaiden/main/.agents/skills/playwright-testing/SKILL.mdgit clone --depth 1 https://github.com/openkaiden/kaidenWrote 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/openkaiden/kaiden/playwright-testing)<a href="https://agentmods.dev/skills/openkaiden/kaiden/playwright-testing"><img src="https://agentmods.dev/badge/skills/openkaiden/kaiden/playwright-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.
<a href="https://agentmods.dev/skills/openkaiden/kaiden/playwright-testing"><img src="https://agentmods.dev/badge/skills/openkaiden/kaiden/playwright-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 9 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Prompt Injection · line 217 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 219 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 220 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 221 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 223 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium Prompt Injection · line 225 Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
- medium MCP Rug Pull · line 237 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 240 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium MCP Rug Pull · line 243 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
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.00042 | $0.02790 |
| Opus 5.5 | $0.00017 | $0.01116 |
| Sonnet 5.5 | $0.00008 | $0.00558 |
| Haiku 4.5 | $0.00004 | $0.00279 |
Grade A, and why
playwright-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.
How it starts
The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Playwright Test Automation Guide for Kaiden
Core Principles
- Page Object Model (POM): Every page/component gets its own class. Tests never touch raw locators directly.
- Resilient locators: Use accessible selectors —
getByRole,getByLabel,getByText— before falling back togetByTestIdor CSS. - Explicit waits: Use
expectwith auto-retry orexpect.poll()for async operations. Never use arbitrarysetTimeoutdelays. - Serial execution: Use
test.describe.serial()for interdependent tests (e.g., create → verify → delete flows). - Fixture-based setup/teardown: Resources, MCP servers, and Goose are managed via Playwright fixtures with automatic cleanup.
- Clear failures: Every assertion should produce a readable error. Use descriptive test IDs (
[FEATURE-NUM]).
Project Structure
tests/playwright/
├── playwright.config.ts # Test projects, timeouts, reporters
├── package.json
├── tsconfig.json
├── src/
│ ├── fixtures/
│ │ ├── electron-app.ts # Core Electron app + page object fixtures
│ │ └── provider-fixtures.ts # Provider resource/MCP/Goose setup (worker-scoped)
│ ├── model/
│ │ ├── core/
│ │ │ └── types.ts # Enums, constants, interfaces, TIMEOUTS
│ │ ├── navigation/
│ │ │ └── navigation.ts # NavigationBar — navigates to all major pages
│ │ └── pages/
│ │ ├── base-page.ts # Abstract base: waitForLoad(), openTab()
│ │ ├── base-table-page.ts # Table operations: row lookup, polling, counting
│ │ ├── chat-page.ts # Chat UI interactions (40+ methods)
│ │ ├── flows-page.ts # Flow management with table operations
│ │ ├── flows-create-page.ts # Flow creation workflow
│ │ ├── flows-details-page.ts # Flow details view
│ │ ├── settings-page.ts # Main settings hub
│ │ ├── mcp-page.ts # MCP server management
│ │ ├── extensions-page.ts # Extension browsing
│ │ ├── agent-workspaces-page.ts # Workspace list + lifecycle entry
│ │ ├── agent-workspace-create-page.ts # Create wizard (FS + network steps)
│ │ ├── agent-workspace-details-page.ts # Workspace details shell
│ │ ├── agent-workspace-overview-page.ts # Overview tab
│ │ ├── agent-workspace-terminal-page.ts
│ │ └── *-tab-page.ts # Sub-page/tab objects
│ ├── specs/
│ │ ├── dashboard.spec.ts # App startup and navigation
│ │ ├── extensions-smoke.spec.ts # Extension management
│ │ ├── settings-smoke.spec.ts # Settings pages
│ │ ├── workspaces-smoke.spec.ts # Workspace wizard UI (Kaiden-App-Core, @smoke)
│ │ └── provider-specs/ # Provider-specific tests
│ │ ├── chat-smoke.spec.ts # Chat functionality (gold standard)
│ │ ├── mcp-smoke.spec.ts # MCP servers
│ │ └── workspaces/ # Coding Agent Workspace lifecycle (Workspace-Provider)
│ └── utils/
│ ├── app-ready.ts # waitForAppReady(), waitForNavigationReady(), handleDialogIfPresent()
│ └── test-artifacts.ts # Trace, screenshot, video capture on failure
└── output/ # Generated reports and artifacts
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago First seen · 286 lines · 42 tokens per session scan A 0c9dda330af3
playwright-testing is a skill published in the GitHub repository openkaiden/kaiden (117 stars, last pushed yesterday), licensed Apache-2.0. It adds 42 tokens to every session and 2,790 once invoked, about $0.0002 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.
playwright-testing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| playwright-testingopenkaiden/kaiden | Skill | 117 | yesterday | Apache-2.0 | A | 42 | Claude Code, Codex |
| verify-omnigentomnigent-ai/omnigent | Skill | 11k | today | Apache-2.0 | A | 100 | Claude Code, Codex |
| test-masterJeffallan/claude-skills | Skill | 12k | 7d ago | MIT | A | 104 | Claude Code |
| eval-dataset-designbojieli/ai-agent-book | Skill | 57k | 29d ago | Apache-2.0 | A | 138 | Claude Code, Codex |
| dogfoodcallstack/agent-device | Skill | 5.3k | yesterday | MIT | A | 55 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.3k | 3d ago | MIT | A | 68 | Claude Code, Codex |
| test-warp-uiwarpdotdev/warp | Skill | 66k | today | AGPL-3.0 | A | 55 | Claude Code |