Tooluck logoTooluck
SKILL.md

playwright

Agent skill fromfreestylefly/wesight

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.

How to install playwright

install playwright
# install the wesight pack with the skills CLI
npx skills add freestylefly/wesight

# or add only this skill to Claude Code: copy the folder

SKILLs/playwright/

# into

~/.claude/skills/playwright/ (all projects)

.claude/skills/playwright/ (one project)

SKILLs/playwright/SKILL.md

MITFull file
1# Playwright CLI Skill
2
3Drive 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.
4Treat this skill as CLI-first automation. Do not pivot to `@playwright/test` unless the user explicitly asks for test files.
5
6## Prerequisite check (required)
7
8Before proposing commands, check whether `npx` is available (the wrapper depends on it):
9
10```bash
11command -v npx >/dev/null 2>&1
12```
13
14If it is not available, pause and ask the user to install Node.js/npm (which provides `npx`). Provide these steps verbatim:
15
16```bash
17# Verify Node/npm are installed
18node --version
19npm --version
20
21# If missing, install Node.js/npm, then:
22npm install -g @playwright/mcp@latest
23playwright-cli --help
24```
25
26Once `npx` is present, proceed with the wrapper script. A global install of `playwright-cli` is optional.
27
28## Skill path (set once)
29
30```bash
31export SKILLS_ROOT="${WESIGHT_SKILLS_ROOT:-${SKILLS_ROOT:-$HOME/Library/Application Support/WeSight/SKILLs}}"
32export PWCLI="$SKILLS_ROOT/playwright/scripts/playwright_cli.sh"
33```
34
35Installed skills resolve from `$WESIGHT_SKILLS_ROOT` / `$SKILLS_ROOT` (production default: app `userData/SKILLs`, macOS usually `~/Library/Application Support/WeSight/SKILLs`).
36
37## Quick start
38
39Use the wrapper script:
40
41```bash
42"$PWCLI" open https://playwright.dev --headed
43"$PWCLI" snapshot
44"$PWCLI" click e15
45"$PWCLI" type "Playwright"
46"$PWCLI" press Enter
47"$PWCLI" screenshot
48```
49…

Excerpt shown under the repository's MIT license.

More skills in wesight

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates