Download

Dev blog · Guides · 2026-11-28

Anthropic's webapp-testing skill: let your agent test your web app with Playwright

Short answer: webapp-testing is a skill in Anthropic’s anthropics/skills repo. It teaches your agent to test a local web app by writing short Python Playwright scripts, with a helper, with_server.py, that starts your dev server, runs the test, and shuts the server down. Copy the skills/webapp-testing folder into ~/.claude/skills/ (Claude Code) or ~/.codex/skills/ (Codex), and install Playwright for Python.

Or skip the clone and copy: Calyban installs webapp-testing into Claude Code, Codex and four other agents in one click, safety-checked first. Free, no account.

It turns “does the page work?” into a script the agent can rerun, from a repo with about 200,000 GitHub stars.

What’s in the folder

How the agent uses it

The skill gives the agent a decision tree. Static HTML file? Read it and pick selectors from the source. A dynamic app? Start it, then follow “reconnaissance then action”: load the page, wait for the network to go quiet, take a screenshot or inspect the DOM, find selectors from what actually rendered, then act on them.

The server helper is the part that saves the most fiddling:

python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_test.py

Backend and frontend together work too, with two --server and --port pairs. The test script contains only Playwright logic; the helper handles startup and cleanup.

One instruction in the skill is worth copying into your own skills: run helper scripts with --help first and treat them as black boxes, because reading a big script into context costs tokens for nothing.

Install it by hand

git clone https://github.com/anthropics/skills /tmp/anthropic-skills
cp -r /tmp/anthropic-skills/skills/webapp-testing ~/.claude/skills/
pip install playwright
playwright install chromium

Use ~/.codex/skills/ instead for Codex, or ~/.agents/skills/ to share one copy between Codex, Cursor, GitHub Copilot CLI and Gemini CLI.

Skill or MCP server?

They do different jobs. The Playwright MCP server lets the agent click around a live browser right now. This skill has the agent write a test script you can keep and run again in CI. Plenty of setups use both: the server to explore, the skill to lock the behavior in. Our browser MCP comparison covers the server side.

The Calyban way

Open Web App Testing in Calyban and press Install. It’s downloaded from anthropics/skills at a pinned commit, the safety check reads the skill and its scripts first, and the folder is copied into the right place for each agent you tick. If two of your agents share a skills folder, Calyban tells you before a second copy shows up twice. Anthropic’s whole collection is one click away too, as the Anthropic skills kit.

Calyban is free for Windows and Linux at /#download. Tell us on Discord what your agent caught in its first test run.

← More guides · All field notes