playwright
Automate real browsers from the terminal for navigation, forms, screenshots, extraction, and UI debugging using playwright-cli.
Skill by GuicedEE
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/guicedee-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
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/playwright
What's inside
- Skill name
playwright- Description
- Automate real browsers from the terminal for navigation, forms, screenshots, extraction, and UI debugging using playwright-cli.
- License
- Apache-2.0
- Instructions
- 144 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (11)
- plugin.json · .claude-plugin/
- LICENSE.txt
- NOTICE.txt
- SKILL.md
- openai.yaml · agents/
- apm.yml
- 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 GuicedEE/ai-rules, Apache-2.0.
More from GuicedEE/ai-rules
- 0.621score
figma
GuicedEE
Fetch Figma designs, assets, and screenshots through MCP; implement Figma URLs/node IDs in code or troubleshoot the Figma connection.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
security-best-practices
GuicedEE
Review or improve Python, JavaScript/TypeScript, or Go security only when explicitly requested; excludes general reviews and debugging.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
security-ownership-map
GuicedEE
Use Git history for explicitly requested security ownership, sensitive-code hotspots, or bus-factor analysis; excludes general maintainer lists.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
azure-access-and-exposure-audit
GuicedEE
Audit Azure network exposure and harden ACLs, or diagnose RBAC/PIM access, activation, and approval failures with PowerShell or bash.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
aggrid
GuicedEE
Implement, upgrade, or debug AG Grid in JavaScript/TypeScript frameworks using its MCP server.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
api-integration-specialist
GuicedEE
Integrate external REST/GraphQL APIs or webhooks, including authentication, retries, rate limits, and request/response mapping.
SkillAFreshness: A★ 5Claude Code +9 - 0.618score
security-compliance
GuicedEE
Assess security posture, threat models, and compliance evidence for SOC2, ISO27001, GDPR, or HIPAA requirements.
SkillAFreshness: A★ 5Claude Code +9 - 0.618score
code-reviewer
GuicedEE
Review PRs and patches for actionable correctness, API/UX, performance, security, and maintainability findings.
SkillAFreshness: A★ 5Claude Code +9 - 0.618score
gh-fix-ci
GuicedEE
Diagnose and fix failing GitHub Actions PR checks with gh.
SkillAFreshness: A★ 5Claude Code +9 - 0.618score
screenshot
GuicedEE
Capture desktop, window, or region screenshots when explicitly requested or when tool-specific capture is unavailable.
SkillAFreshness: A★ 5Claude Code +9 - 0.618score
senior-architect
GuicedEE
Design or review software architecture, API/data models, scalability tradeoffs, ADRs, and Mermaid diagrams.
SkillAFreshness: A★ 5Claude Code +9 - 0.618score
gh-address-comments
GuicedEE
Address review and issue comments on the current branch's GitHub PR using gh CLI.
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/GuicedEE/ai-rules
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from GuicedEE
- 0.621score
aggrid
GuicedEE
Implement, upgrade, or debug AG Grid in JavaScript/TypeScript frameworks using its MCP server.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
api-integration-specialist
GuicedEE
Integrate external REST/GraphQL APIs or webhooks, including authentication, retries, rate limits, and request/response mapping.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
figma
GuicedEE
Fetch Figma designs, assets, and screenshots through MCP; implement Figma URLs/node IDs in code or troubleshoot the Figma connection.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
security-ownership-map
GuicedEE
Use Git history for explicitly requested security ownership, sensitive-code hotspots, or bus-factor analysis; excludes general maintainer lists.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
security-best-practices
GuicedEE
Review or improve Python, JavaScript/TypeScript, or Go security only when explicitly requested; excludes general reviews and debugging.
SkillAFreshness: A★ 5Claude Code +9 - 0.621score
azure-access-and-exposure-audit
GuicedEE
Audit Azure network exposure and harden ACLs, or diagnose RBAC/PIM access, activation, and approval failures with PowerShell or bash.
SkillAFreshness: A★ 5Claude Code +9
Cite this page
playwright skill. Agent Mart. https://agentmart.dev/skills/guicedee-playwright (last updated 2026-10-24)