playwright
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
Skill by m-howard
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/m-howard-playwright
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, testing, data, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
playwright- Description
- Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.
- License
- MIT
- Instructions
- 144 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (9)
- LICENSE.txt
- NOTICE.txt
- SKILL.md
- openai.yaml · agents/
- playwright-small.svg · assets/
- playwright.png · assets/
- cli.md · references/
- workflows.md · references/
- playwright_cli.sh · scripts/
SKILL.md (first lines)
# Playwright CLI Skill
Drive a real browser from the terminal using `playwright-cli`. Prefer the bundled wrapper script so the CLI works even when it is not globally installed.
Treat this skill as CLI-first automation. Do not pivot to `@playwright/test` unless the user explicitly asks for test files.
## Prerequisite check (required)
Before proposing commands, check whether `npx` is available (the wrapper depends on it):
```bash
command -v npx >/dev/null 2>&1
```
If it is not available, pause and ask the user to install Node.js/npm (which provides `npx`). Provide these steps verbatim:
```bash
# Verify Node/npm are installed
node --version
npm --version
# If missing, install Node.js/npm, then:
npm install -g @playwright/cli@latest
playwright-cli --help
```
Once `npx` is present, proceed with the wrapper script. A global install of `playwright-cli` is optional.
## Skill path (set once)
```bash
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export PWCLI="$CODEX_HOME/skills/playwright/scripts/playwright_cli.sh"
```
User-scoped skills install under `$CODEX_HOME/skills` (default: `~/.codex/skills`).
## Quick start
Use the wrapper script:
```bash
"$PWCLI" open https://playwright.dev --headed
"$PWCLI" snapshot
"$PWCLI" click e15
"$PWCLI" type "Playwright"
"$PWCLI" press Enter
"$PWCLI" screenshot
```
If the user prefers a global install, this is also valid:
```bash
npm install -g @playwright/cli@latest
playwright-cli --help
```
## Core workflow
1. Open the page.
2. Snapshot to get stable element refs.
3. Interact using refs from the latest snapshot.
4. Re-snapshot after navigation or significant DOM changes.
5. Capture artifacts (screenshot, pdf, traces) when useful.
Minimal loop:
```bash
"$PWCLI" open https://example.com
"$PWCLI" snapshot
"$PWCLI" click e3
"$PWCLI" snapshot
```
## When to snapshot again
Snapshot again after:
- navigation
- clicking elements that change the UI substantially
- opening/closing modals or menus
- tab switches
Refs can go stale. When a command fails due to a missing ref, snapshot again.
## Recommended patterns
### Form fill and submit
```bash
"$PWCLI" open https://example.com/form
"$PWCLI" snapshot
"$PWCLI" fill e1 "user@example.com"
"$PWCLI" fill e2 "password123"
"$PWCLI" click e3
"$PWCLI" snapshot
```
### Debug a UI flow with traces
```bash
"$PWCLI" open https://example.com --headed
"$PWCLI" tracing-start
# ...interactions...
"$PWCLI" tracing-stop
```
### Multi-tab work
```bash
"$PWCLI" tab-new https://example.com
"$PWCLI" tab-list
"$PWCLI" tab-select 0
"$PWCLI" snapshot
```
## Wrapper script
The wrapper script uses `npx --package @playwright/cli playwright-cli` so the CLI can run without a global install:From m-howard/ai-workspace, MIT.
More from m-howard/ai-workspace
- 0.529score
brd-interviewer
m-howard
Draft and refine business requirements through a hypothesis-driven interview that uses targeted multiple-choice questions, validates business goals and user…
SkillBFreshness: BClaude Code +9 - 0.474score
data-architect
m-howard
Act as a principal data architect to design conceptual and logical data models.
SkillCFreshness: CClaude Code +9 - 0.450score
caveman
m-howard
Ultra-compressed communication mode.
SkillCFreshness: CClaude Code +9 - 0.450score
frontend-design
m-howard
Create distinctive, production-grade frontend interfaces with high design quality.
SkillCFreshness: CClaude Code +9 - 0.450score
grill-with-docs
m-howard
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as…
SkillCFreshness: CClaude Code +9 - 0.450score
improve-codebase-architecture
m-howard
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 13, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/m-howard/ai-workspace
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.688score
playwright
openaiOfficial
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillDFreshness: D★ 28.3KClaude Code +9 - 0.405score
playwright
z91772524-ai
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillAFreshness: A★ 77Claude Code +9 - 0.355score
playwright
Tom-R-Main
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillAFreshness: A★ 1Claude Code +9 - 0.341score
playwright
teeryxie
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillBFreshness: B★ 4Claude Code +9 - 0.340score
playwright
foryourhealth111-pixel
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.339score
playwright
ThadCastl3
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillAFreshness: AClaude Code +9 - 0.301score
playwright
mbtz
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillCFreshness: C★ 1Claude Code +9 - 0.298score
playwright
stevencarpenter
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillCFreshness: C★ 1Claude Code +9 - 0.298score
playwright
KingYeon-Zoo
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillCFreshness: C★ 1Claude Code +9 - 0.280score
playwright
Cesar514
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillDFreshness: D★ 6Claude Code +9 - 0.259score
playwright
PandelisZ
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillDFreshness: D★ 1Claude Code +9 - 0.249score
playwright
williamceccon
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging)…
SkillDFreshness: DClaude Code +9
More from m-howard
- 0.529score
brd-interviewer
m-howard
Draft and refine business requirements through a hypothesis-driven interview that uses targeted multiple-choice questions, validates business goals and user…
SkillBFreshness: BClaude Code +9 - 0.474score
data-architect
m-howard
Act as a principal data architect to design conceptual and logical data models.
SkillCFreshness: CClaude Code +9 - 0.450score
caveman
m-howard
Ultra-compressed communication mode.
SkillCFreshness: CClaude Code +9 - 0.450score
frontend-design
m-howard
Create distinctive, production-grade frontend interfaces with high design quality.
SkillCFreshness: CClaude Code +9 - 0.450score
grill-with-docs
m-howard
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as…
SkillCFreshness: CClaude Code +9 - 0.450score
improve-codebase-architecture
m-howard
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.
SkillCFreshness: CClaude Code +9
Cite this page
playwright skill. Agent Mart. https://agentmart.dev/skills/m-howard-playwright (last updated 2026-10-24)