playwright-skill

playwright-skill is a skill for Claude Code, Codex from LuizEduPP/Rememb. It costs 53 tokens per session (1,012 once invoked), scanned A, original, MIT.

A guide for automating and testing websites with Playwright, a tool that controls a real web browser through code.

In plain words
What is it for?
It is for browser-based tests, form automation, screenshots, responsive-layout checks, login or checkout testing, and finding broken links or page content.
Why use it?
It helps check whether pages and user flows work in practice across navigation, forms, logins, links, and different screen sizes.

Skill for Claude CodeCodex

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

Good fit It is for browser-based tests, form automation, screenshots, responsive-layout checks, login or checkout testing, and finding broken links or page content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luizedupp/rememb/playwright-skill
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.

Any agent
npx skills add LuizEduPP/Rememb --skill playwright-skill
Clone the repo
git clone --depth 1 https://github.com/LuizEduPP/Rememb

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/luizedupp/rememb/playwright-skill/github.svg)](https://agentmods.dev/skills/luizedupp/rememb/playwright-skill)
Your own site
<a href="https://agentmods.dev/skills/luizedupp/rememb/playwright-skill"><img src="https://agentmods.dev/badge/skills/luizedupp/rememb/playwright-skill/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 playwright-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/luizedupp/rememb/playwright-skill"><img src="https://agentmods.dev/badge/skills/luizedupp/rememb/playwright-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 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.00053 $0.01012
Opus 5.5 $0.00021 $0.00405
Sonnet 5.5 $0.00011 $0.00202
Haiku 4.5 $0.00005 $0.00101

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

Security

Grade A, and why

playwright-skill 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (lib/helpers.js, run.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

src/rememb_skills/playwright-skill/SKILL.md · 131 lines

How it starts

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

Playwright Browser Automation

Overview

Use this skill to write and run focused Playwright scripts for testing or automating websites. Keep the main flow independent of any specific host or launcher. Choose the execution surface that already exists in the current environment.

When to Use

Use this skill when the user wants to:

  • test a web page or flow in a real browser
  • take screenshots or verify responsive layouts
  • automate form filling or navigation
  • validate login, checkout, or dashboard behavior
  • inspect broken links or page content with scripted checks

Core Workflow

  1. Identify the target URL.
  2. If the target is local, check whether a development server is already running.
  3. Write a temporary Playwright script outside the repository or in another disposable location.
  4. Parameterize the target URL and any secrets instead of hardcoding them.
  5. Run the script using the available Playwright runtime in the current environment.
  6. Collect artifacts such as screenshots, logs, and assertion results.
  7. Clean up temporary files when they are no longer needed.

Use a visible browser by default unless the user explicitly asks for headless execution.

Inputs / Assumptions

  • A reachable URL is required before the script runs.
  • Localhost testing should confirm the correct port first.
  • Credentials and secrets should come from environment variables or explicit user input, never from hardcoded literals.
  • Temporary scripts should not clutter the project unless the user asks to keep them.

Examples

Basic page check

const { chromium } = require('playwright');

const TARGET_URL = process.env.TARGET_URL ?? 'http://localhost:3000';

(async () => {
  const browser = await chromium.launch({ headless: false });
  const page = await browser.newPage();

  await page.goto(TARGET_URL, { waitUntil: 'domcontentloaded' });
  console.log('Title:', await page.title());
  await page.screenshot({ path: '/tmp/page-check.png', fullPage: true });

  await browser.close();
})();

Read the full file on GitHub · 131 lines

Files

What ships with it

4 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.

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. 1mo ago First seen · 131 lines · 53 tokens per session scan A 98bdd5b80d2b

Subscribe to this mod's changes

playwright-skill is a skill published in the GitHub repository LuizEduPP/Rememb (5 stars, last pushed 12d ago), licensed MIT. It adds 53 tokens to every session and 1,012 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-31.

Related

Other skills, from other repositories