playwright-tests

playwright-tests is a skill for Claude Code, Codex from gowtham012/Claude-plugins. It costs 36 tokens per session (290 once invoked), scanned A, original, MIT.

A tool that turns a screen recording into a TypeScript Playwright test file. Playwright is a browser-testing tool, and TypeScript is a typed version of JavaScript.

In plain words
What is it for?
Use it to create Playwright tests for page visits, clicks, scrolling, and elements appearing or disappearing in a recorded flow.
Why use it?
It removes the need to watch a recording and manually write each browser action and check. It also identifies visible text and interface elements to use in the test.

Skill for Claude CodeCodex

Part of the video-insight plugin — 17 skills 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 skills/gowtham012/claude-plugins/playwright-tests
Any agent
npx skills add gowtham012/Claude-plugins --skill playwright-tests
Clone the repo
git clone --depth 1 https://github.com/gowtham012/Claude-plugins

Made for: Claude Code, Codex.

Or install video-insight, the plugin that ships this one along with the rest of its 17 skills.

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 playwright-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/gowtham012/claude-plugins/playwright-tests.svg)](https://agentmods.dev/skills/gowtham012/claude-plugins/playwright-tests)
Your own site
<a href="https://agentmods.dev/skills/gowtham012/claude-plugins/playwright-tests"><img src="https://agentmods.dev/badge/skills/gowtham012/claude-plugins/playwright-tests.svg" alt="Measured on agentmods" 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 290 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00036 $0.00290
Opus 5 $0.00018 $0.00145
Sonnet 5 $0.00007 $0.00058
Haiku 4.5 $0.00004 $0.00029

Measured 4d ago against content hash 9062d8c3d067, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

playwright-tests 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 4d 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.

video-insight/skills/playwright-tests/SKILL.md · 22 lines

What it actually says

Generate Playwright tests from video: $ARGUMENTS

Steps

  1. Call MCP tool mcp__video-insight__generate_tests with video_path = $0 and framework = "playwright".
  2. Read keyframe images for each step to identify exact selectors (button text, roles, test-ids).
  3. Map each inferred_action:
    • navigateawait page.goto() or expect(page).toHaveURL()
    • click_or_submitawait page.locator('text=...').click()
    • scrollawait page.evaluate(() => window.scrollBy(0, 500))
    • observeawait expect(page.locator('text=...')).toBeVisible()
  4. Use text_appeared for toBeVisible(), text_disappeared for toBeHidden().
  5. Wrap in describe / test blocks. Output a single .spec.ts file.
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. 4d ago First seen · 22 lines · 36 tokens per session scan A 9062d8c3d067

Subscribe to this mod's changes

playwright-tests is a skill published in the GitHub repository gowtham012/Claude-plugins (5 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 290 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories

nexu-e2e-test

Use when verifying OpenClaw gateway fixes end-to-end, testing skill loading after restart, or running integration tests against the local Nexu+OpenClaw stack. Triggers on "e2e test", "verify fix", "test gateway", "test skills loading".

nexu-io/nexu · 63 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

datit309/supergraph · 35 tokens

integration

Run integration and e2e tests after unit tests pass. Use after /supergraph:fix when unit tests are green.

datit309/supergraph · 27 tokens

testing-strategy

Test pyramid, coverage targets, and test patterns (unit/integration/E2E). TRIGGER when: planning tests, writing test code, or reviewing coverage. SKIP: quality-gate scoring of plans (use quality-validation); security testing (use security-review-checklists). (Examples use common runners such as pytest and vitest.).

komluk/scaffolding · 71 tokens

pdlc-quality

Skill "pdlc-quality" from kanfu-panda/pdlc-skills, covering 质量闸门与报告, 这个命令的立身之本, 前置:两份真源, --init:首次建立目标声明 and 段一:跑真实 check.

kanfu-panda/pdlc-skills · 30 tokens

moodle-behat-testing

Use when writing or running Behat acceptance tests for Moodle plugins. Covers feature files, custom step definitions, tags, data generators in Background, JavaScript scenarios, and Selenium/Chromedriver setup.

SaadRahman01/claude-moodle-dev · 45 tokens