Agent skill

Playwright

by Kiln-AI in Kiln-AI/Kiln

Look at Kiln's UI in a real browser, and run its end-to-end tests.

Custom licenceAuto-check passedTesting & QA

Install Playwright

skills CLI
$ npx skills add Kiln-AI/Kiln --skill playwright -a claude-code

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

GitHub CLI
$ gh skill install Kiln-AI/Kiln playwright --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/Kiln-AI/Kiln.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/playwright .claude/skills/playwright && 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
GitHub stars
5.2k
Token cost
~1.3k tokens
SKILL.md length
597 words
Files
6 (incl. references)
Skills in repo
14
Repo updated
First seen
Licence
Custom licence

At a glance

Look at Kiln's UI in a real browser, and run its end-to-end tests.

  • Checking UI you are changing
  • SKILL.md covers Looking at the UI, A provider may be connected —…, Three rules that will cost you… and Reference
  • Calls npm and pytest; needs OPENROUTER_QA_KEY and OPENROUTER_API_KEY
  • Taking a screenshot of the app

What it does

Playwright is an agent skill from Kiln-AI/Kiln. Look at Kiln's UI in a real browser, and run its end-to-end tests. Use when checking UI you are changing, taking a screenshot of the app, driving the app with playwright-cli, starting the dev sandbox with playwrightserver.sh, running or debugging npm run tests:e2e, or working with the seeded fixture project that gives the app's screens data to render.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/driving_the_ui.md`, `references/e2e_suite.md` and `references/extending_the_fixture.md`).

It sits in Testing & QA, covering Browser testing and End-to-end testing. It works with Playwright, npm and OpenAI. The repository describes itself as: Build, Evaluate, and Optimize AI Systems. Includes evals, RAG, agents, fine-tuning, synthetic data generation, dataset management, MCP, and more.

When your agent uses it

  • Checking UI you are changing
  • Taking a screenshot of the app
  • Driving the app with playwright-cli
  • Starting the dev sandbox with playwrightserver.sh

Example prompts

  • “/playwright”

Requirements

  • A credential in OPENROUTER_QA_KEY
  • A credential in OPENROUTER_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 8ac9075. 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

    Shell commands in SKILL.md call:

    • npm
    • pytest

    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:

    • OPENROUTER_QA_KEY
    • OPENROUTER_API_KEY

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

Context cost

Playwright loads about 1.3k tokens when it runs, and up to ~6.3k if it reads all its reference files. Until then it costs about 92 tokens; SKILL.md has 597 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~92
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.3k

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 597 words (~1,251 tokens).

“Two separate things share one browser install:”

— opening of SKILL.md by Kiln-AI, Custom licence
name
playwright

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in .agents/skills/playwright of Kiln-AI/Kiln.

  • SKILL.md
  • references/driving_the_ui.md
  • references/e2e_suite.md
  • references/extending_the_fixture.md
  • references/search_tool.md
  • references/seeded_project.md

Open the folder on GitHubat commit 8ac9075

Compare with similar skills

Playwright 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 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Playwright this skillKiln-AI/Kiln5.2k—~1.3kAutomated safety check: PassCustom licence
E2E TestingOpenHands/OpenHands90k—~308Automated safety check: PassMIT
Proxy Setupasmyshlyaev177/test-proxy-recorder112—~4.3kAutomated safety check: PassMIT
Dev Webtestclassmethod/tsumiki974—~4.2kAutomated safety check: PassMIT
Nix Playwrightsrid/emanote963—~557Automated safety check: PassCustom licence
Pw Initalirezarezvani/claude-skills28k1 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • E2E Testing

    OpenHands/OpenHands

    This skill should be used when the user asks to "add an E2E test", "run live E2E", "run mock-LLM tests", "debug Playwright CI", "test the Docker image", or changes tests/e2e, Playwright configs, E2E…

    90k GitHub stars~308 tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Proxy Setup

    asmyshlyaev177/test-proxy-recorder

    Set up test-proxy-recorder for any Playwright project. An agent skill from asmyshlyaev177/test-proxy-recorder.

    112 GitHub stars~4.3k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Dev Webtest

    classmethod/tsumiki

    This skill should be used when the user asks to "dev-webtest", "Webテスト", "画面の動作確認", "E2Eテスト", "web test", "visual check", "モンキーテスト", "アクセシビリティチェック", "レスポンシブテスト", "フォームテスト".

    974 GitHub stars~4.2k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Nix Playwright

    srid/emanote

    Use this when adding Nix-based local runs for an existing Playwright e2e suite.

    963 GitHub stars~557 tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Pw Init

    alirezarezvani/claude-skills

    Set up Playwright in a project. An agent skill from alirezarezvani/claude-skills.

    28k GitHub starsUsed in 1 repo~1.2k tokens
    Testing & QAAuto-check passed
  • Run Dashboard E2E Local Changes

    BlackBeltTechnology/pi-agent-dashboard

    Run Playwright E2E (tests/e2e/) against the docker/ all-in-one harness so it reflects LOCAL code changes, not a stale cached image.

    315 GitHub stars~1.3k tokensUpdated yesterday
    Testing & QAAuto-check passed

More from Kiln-AI/Kiln

All 14 skills in this repo
  • Check Kiln's model list for deprecated or sunset models across all providers.

    5.2k GitHub stars~2.5k tokensUpdated yesterday
    Auto-check: notes
  • Check Kiln's fine-tunable model list for deprecated or unsupported base models.

    5.2k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check: notes
  • Release Digest

    Kiln-AI/Kiln

    Post a "what's changed since the last release" recap to the release Slack channel for final QA.

    5.2k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Kiln Conventions

    Kiln-AI/Kiln

    Kiln's code conventions and per-area gotchas, plus a diff gate that enforces the mechanical ones.

    5.2k GitHub stars~1.7k tokensUpdated yesterday
    Auto-check: notes
  • Open PR

    Kiln-AI/Kiln

    Open a pull request on the Kiln repo for a human to complete.

    5.2k GitHub stars~6.1k tokensUpdated yesterday
    Auto-check passed
  • QA

    Kiln-AI/Kiln

    Multi-agent, browser-driven QA pass over a branch or PR — scope it, plan it, fan out one subagent per testing area in its own isolated sandbox, compile a severity-ranked markdown report.

    5.2k GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Playwright

What does Playwright do?

Look at Kiln's UI in a real browser, and run its end-to-end tests. Playwright is an agent skill from Kiln-AI/Kiln. Look at Kiln's UI in a real browser, and run its end-to-end tests.

When should I use Playwright?

Playwright fits situations like: checking UI you are changing; taking a screenshot of the app; driving the app with playwright-cli; starting the dev sandbox with playwrightserver.sh.

How do I install Playwright in Claude Code?

Run `npx skills add Kiln-AI/Kiln --skill playwright -a claude-code`. Or copy the skill folder (.agents/skills/playwright in Kiln-AI/Kiln) into .claude/skills/playwright in your project. Claude Code loads it when a task matches its description.

How do I install Playwright in Codex?

Run `npx skills add Kiln-AI/Kiln --skill playwright -a codex`. Or copy the skill folder (.agents/skills/playwright in Kiln-AI/Kiln) into .agents/skills/playwright in your project. Codex loads it when a task matches its description.

Can I use Playwright 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 Kiln-AI/Kiln --skill playwright -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, .gemini/skills/playwright, .github/skills/playwright and .opencode/skills/playwright in your project.

What does Playwright need to run?

Going by SKILL.md and its folder, Playwright needs the command-line tools its instructions call (npm and pytest) and credentials named OPENROUTER_QA_KEY and OPENROUTER_API_KEY. Our summary lists: A credential in OPENROUTER_QA_KEY; A credential in OPENROUTER_API_KEY.

Does Playwright 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 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 use?

Playwright 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 use?

About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.

What are the alternatives to Playwright?

Skills that share tags, products or a category with Playwright: E2E Testing (OpenHands/OpenHands, 90k stars), Proxy Setup (asmyshlyaev177/test-proxy-recorder, 112 stars), Dev Webtest (classmethod/tsumiki, 974 stars) and Nix Playwright (srid/emanote, 963 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Playwright?

Kiln-AI (a GitHub organization) maintains it in Kiln-AI/Kiln, which has 5,179 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 2026.

Source: Kiln-AI/Kiln on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.