cd /news/ai-agents/anthropic-s-webapp-testing-skill-let… · home › topics › ai-agents › article
[ARTICLE · art-178021] src=calyban.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

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

Anthropic's anthropics/skills repository includes a webapp-testing skill that teaches coding agents to test local web apps by writing short Python Playwright scripts, with a helper script, with_server.py, that starts the dev server, runs the test, and shuts the server down. The skill is installed by copying the skills/webapp-testing folder into ~/.claude/skills/ for Claude Code or ~/.codex/skills/ for Codex and installing Playwright for Python; the repo has about 200,000 GitHub stars. The skill supplies a decision tree — read static HTML for selectors, or for dynamic apps load the page, wait for the network to go quiet, screenshot or inspect the DOM, then act — and differs from the Playwright MCP server in that it produces a test script that can be rerun in CI.

key takeaway

Copy the webapp-testing skill folder into ~/.claude/skills/ or ~/.codex/skills/ and run tests via `python scripts/with_server.py --server "npm run dev" --port 5173 -- python your_test.py`, which starts and cleans up the dev server so the test script holds only Playwright logic.

by read3 min views2 publishedNov 28, 2026
Anthropic's webapp-testing skill: let your agent test your web app with Playwright
Image: Calyban (auto-discovered)

Dev blog · Guides · 2026-11-28

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 #

  • SKILL.md , the instructions.
  • scripts/with_server.py , which manages one or more servers around a test.
  • examples/ , sample automation scripts.

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 in #ai-agents 4 stories · sorted by recency
── more on @anthropic 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/anthropic-s-webapp-t…] indexed:0 read:3min 2026-11-28 · —