Automates browser interactions using Playwright CLI and templates - takes screenshots, generates PDFs, clicks elements, fills forms, monitors console/network. Use when testing web pages, automating browser tasks, or when user mentions screenshots, web testing, form automation, or Playwright
/plugin marketplace add ether-moon/skill-set/plugin install skill-set@skill-setThis skill inherits all available tools. When active, it can use any tool Claude has access to.
reference/TEMPLATES.mdtemplates/click.jstemplates/console-messages.jstemplates/drag.jstemplates/evaluate.jstemplates/file-upload.jstemplates/fill-form.jstemplates/fill.jstemplates/handle-dialog.jstemplates/hover.jstemplates/navigate-back.jstemplates/network-requests.jstemplates/press-key.jstemplates/resize.jstemplates/select.jstemplates/snapshot.jstemplates/wait-for.jsHybrid browser automation using Playwright CLI for simple tasks and templates for complex interactions. Provides efficient automation without MCP server overhead.
Use this skill when you need to:
Don't use when:
Use Playwright CLI directly for:
npx playwright screenshot <url> <filename>npx playwright pdf <url> <filename>npx playwright open <url> (for manual inspection)Use templates (16 total) for tasks requiring state management, event handling, or multi-step logic:
User Interactions (6)
Form Handling (2)
Page Monitoring (3)
Advanced (5)
First time setup:
npm install -g playwright
npx playwright install chromium
# Screenshot
npx playwright screenshot https://example.com ./tmp/playwright/screenshot.png
# PDF
npx playwright pdf https://example.com ./tmp/playwright/page.pdf
# Open browser for manual inspection
npx playwright open https://example.com
# Click element (requires wait logic)
node $SKILL_DIR/templates/click.js https://example.com "button:has-text('Submit')"
# Fill form (multiple fields)
node $SKILL_DIR/templates/fill-form.js https://example.com '{"input[name=email]":"test@example.com"}'
# Monitor console (event listening)
node $SKILL_DIR/templates/console-messages.js https://example.com
Important Guidelines:
npx playwright for screenshots, PDFs, and simple evaluation$SKILL_DIR is automatically set to the skill's absolute path by Claudecd before running commandsnode -e or heredocsNote: Output files are saved to ./tmp/playwright/ in the current project directory by default.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.