Agent skill

Playwright Skill

by tech-leads-club in tech-leads-club/agent-skills

Complete browser automation with Playwright. An agent skill from tech-leads-club/agent-skills.

Custom licenceAuto-check passedTesting & QA

Install Playwright Skill

skills CLI
$ npx skills add tech-leads-club/agent-skills --skill playwright-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tech-leads-club/agent-skills playwright-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tech-leads-club/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'packages/skills-catalog/skills/(web-automation)/playwright-skill' .claude/skills/playwright-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
playwright-skill
GitHub stars
7k
Token cost
~3.6k tokens
SKILL.md length
737 words
Files
5
Skills in repo
74
Repo updated
First seen
Licence
Custom licence

At a glance

Complete browser automation with Playwright. An agent skill from tech-leads-club/agent-skills.

  • Works in 4 steps: Auto-detect dev servers - For localhost… → Write scripts to /tmp - NEVER write test… → Use visible browser by default - Always… → …
  • User wants to test websites
  • SKILL.md covers How It Works, Setup (First Time), Execution Pattern and Common Patterns, plus 8 more sections
  • Runs JavaScript scripts from its folder; calls node and npm; needs TEST_PASSWORD

What it does

Playwright Skill is an agent skill from tech-leads-club/agent-skills. Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing. Do NOT use for quick page debugging or network inspection (use chrome-devtools instead).

Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `API_REFERENCE.md`, `lib/helpers.js` and `package.json`).

It sits in Testing & QA, covering Browser testing, Browser automation and Responsive design. It works with Playwright and Chrome DevTools. The repository describes itself as: The secure, validated skill registry for professional AI coding agents. Extend Antigravity, Claude Code, Cursor, Copilot and more with absolute confidence.

When your agent uses it

  • User wants to test websites
  • Automate browser interactions
  • Validate web functionality
  • Perform any browser-based testing

Example prompts

  • “/playwright-skill”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Auto-detect dev servers - For localhost testing, ALWAYS run server detection FIRST
  2. Write scripts to /tmp - NEVER write test files to skill directory; always use /tmp/playwright-test-*.js
  3. Use visible browser by default - Always use headless: false unless user specifically requests headless mode
  4. Parameterize URLs - Always make URLs configurable via environment variable or constant at top of script

What it can do on your machine

Read from SKILL.md and the folder at commit 6df68d5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • TEST_PASSWORD

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Playwright Skill loads about 3.6k tokens when it runs. Until then it costs about 121 tokens; SKILL.md has 737 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~121
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 737 words (~3,608 tokens).

“IMPORTANT - Path Resolution: This skill can be installed in different locations (plugin system, manual installation, global, or project-specific). Before executing any commands, determine the skill directory based on where you loaded this SKILL.md file, and use that path in…”

— opening of SKILL.md by tech-leads-club, Custom licence
name
playwright-skill

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files in packages/skills-catalog/skills/(web-automation)/playwright-skill of tech-leads-club/agent-skills.

  • SKILL.md
  • API_REFERENCE.md
  • lib/helpers.js
  • package.json
  • run.js

Open the folder on GitHubat commit 6df68d5

Compare with similar skills

Playwright Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Playwright Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Playwright Skill this skilltech-leads-club/agent-skills7k—~3.6kAutomated safety check: PassCustom licence
Playwright Skilllackeyjb/playwright-skill3.2k—~1.9kAutomated safety check: PassMIT
Playwright SkillAratKruglik/claude-laravel15510 repos~3.5kAutomated safety check: PassNone
AI Search Hubminsight-ai-info/AI-Search-Hub1.3k—~1.3kAutomated safety check: PassNone
Website LoginLakr233/Cookey160—~3.7kAutomated safety check: PassMIT
Open BrowserJasonHonKL/Openbrowser114—~1.6kAutomated safety check: PassMIT

Similar skills

  • Playwright Skill

    lackeyjb/playwright-skill

    Complete browser automation with Playwright. An agent skill from lackeyjb/playwright-skill.

    3.2k GitHub stars~1.9k tokensUpdated 9 days ago
    Testing & QAAuto-check passed
  • Playwright Skill

    AratKruglik/claude-laravel

    Complete browser automation with Playwright. An agent skill from AratKruglik/claude-laravel.

    155 GitHub starsUsed in 10 repos~3.5k tokens
    Testing & QAAuto-check passed
  • AI Search Hub

    minsight-ai-info/AI-Search-Hub

    Run the AI Search Hub browser automation scripts for Yuanbao, LongCat, Doubao, Qwen, Gemini, Grok, and MiniMax.

    1.3k GitHub stars~1.3k tokensUpdated 5 mo ago
    Productivity & AutomationAuto-check passed
  • Website Login

    Lakr233/Cookey

    A skill your agent uses whenever the user needs to log in to a website on their phone and reuse that authenticated session locally, especially for Playwright storageState JSON, cookies/localStorage…

    160 GitHub stars~3.7k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Open Browser

    JasonHonKL/Openbrowser

    A skill your agent uses whenever the task involves browsing web pages, extracting page content, clicking forms, or completing web workflows.

    114 GitHub stars~1.6k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Playwright CLI

    fugazi/test-automation-skills-agents

    Drive a live browser from the CLI with playwright-cli to navigate, interact, snapshot, and capture evidence.

    249 GitHub stars~2.2k tokensUpdated 7 days ago
    Testing & QAAuto-check passed

More from tech-leads-club/agent-skills

All 74 skills in this repo
  • Evolutionary Modular Architecture

    tech-leads-club/agent-skills

    Guides design of modular-monolith platforms with DDD, flat-by-aggregate modules, anti-corruption layers, outbox events and resilience, plus an architecture document with SVG diagrams.

    7k GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Excalidraw Diagram Studio

    tech-leads-club/agent-skills

    Generates Excalidraw diagram files from plain descriptions, choosing among flowcharts, mind maps, architecture, swimlane, class, sequence and ER diagrams.

    7k GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Mermaid Studio

    tech-leads-club/agent-skills

    Creates, validates and renders Mermaid diagrams to SVG, PNG or ASCII, including C4 and AWS architecture-beta, flowcharts, sequence diagrams and ERDs.

    7k GitHub stars~4.6k tokensUpdated yesterday
    Auto-check passed
  • AWS Cloud Advisor

    tech-leads-club/agent-skills

    Answers AWS architecture, security and service-selection questions by searching AWS documentation through MCP tools first, then adapting advice to your stack and team.

    7k GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Harness Eval

    tech-leads-club/agent-skills

    Evaluates a repository's agent harness (AGENTS.md, rules, skills) for broken paths, redundant instructions and usefulness, and stops at reports.

    7k GitHub stars~3.9k tokensUpdated yesterday
    Auto-check passed
  • NestJS Modular Monolith Architect

    tech-leads-club/agent-skills

    Designs scalable NestJS modular monoliths with domain-driven design, Clean Architecture layers and optional CQRS, defining bounded contexts and strict module boundaries.

    7k GitHub stars~3.9k tokensUpdated yesterday
    Auto-check passed

Questions about Playwright Skill

What does Playwright Skill do?

Complete browser automation with Playwright. An agent skill from tech-leads-club/agent-skills. Playwright Skill is an agent skill from tech-leads-club/agent-skills. Complete browser automation with Playwright.

When should I use Playwright Skill?

Playwright Skill fits situations like: user wants to test websites; automate browser interactions; validate web functionality; perform any browser-based testing.

How do I install Playwright Skill in Claude Code?

Run `npx skills add tech-leads-club/agent-skills --skill playwright-skill -a claude-code`. Or copy the skill folder (packages/skills-catalog/skills/(web-automation)/playwright-skill in tech-leads-club/agent-skills) into .claude/skills/playwright-skill in your project. Claude Code loads it when a task matches its description.

How do I install Playwright Skill in Codex?

Run `npx skills add tech-leads-club/agent-skills --skill playwright-skill -a codex`. Or copy the skill folder (packages/skills-catalog/skills/(web-automation)/playwright-skill in tech-leads-club/agent-skills) into .agents/skills/playwright-skill in your project. Codex loads it when a task matches its description.

Can I use Playwright Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tech-leads-club/agent-skills --skill playwright-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/playwright-skill, .gemini/skills/playwright-skill, .github/skills/playwright-skill and .opencode/skills/playwright-skill in your project.

What does Playwright Skill need to run?

Going by SKILL.md and its folder, Playwright Skill needs JavaScript for the scripts in its folder, the command-line tools its instructions call (node and npm) and credentials named TEST_PASSWORD. Our summary lists: Node.js.

Does Playwright Skill access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Playwright Skill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Playwright Skill use?

Playwright Skill has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Playwright Skill use?

About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Playwright Skill?

Skills that share tags, products or a category with Playwright Skill: Playwright Skill (lackeyjb/playwright-skill, 3.2k stars), Playwright Skill (AratKruglik/claude-laravel, 155 stars), AI Search Hub (minsight-ai-info/AI-Search-Hub, 1.3k stars) and Website Login (Lakr233/Cookey, 160 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Playwright Skill?

tech-leads-club (a GitHub organization) maintains it in tech-leads-club/agent-skills, which has 7,045 GitHub stars. The repository holds 74 skills in this directory. The repository was last updated on October 9, 2026.

Source: tech-leads-club/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.