home / skills / hqman / claude-web-browser-skill / web-browser
This skill helps you browse web pages by controlling a Chrome browser via CDP to navigate, fill forms, and inspect elements.
npx playbooks add skill hqman/claude-web-browser-skill --skill web-browserReview the files below or copy the command above to add this skill to your agents.
---
name: web-browser
description: "Allows to interact with web pages by performing actions such as clicking buttons, filling out forms, and navigating links. It works by remote controlling Google Chrome or Chromium browsers using the Chrome DevTools Protocol (CDP). When Claude needs to browse the web, it can use this skill to do so."
license: Stolen from Mario
---
# Web Browser Skill
Minimal CDP tools for collaborative site exploration.
## Start Chrome
default start the profile chrome
\`\`\`bash
./tools/start.js --profile # Copy your profile (cookies, logins)
./tools/start.js # Fresh profile
\`\`\`
Start Chrome on `:9222` with remote debugging.
## Navigate
\`\`\`bash
./tools/nav.js https://example.com
./tools/nav.js https://example.com --new
\`\`\`
Navigate current tab or open new tab.
## Evaluate JavaScript
\`\`\`bash
./tools/eval.js 'document.title'
./tools/eval.js 'document.querySelectorAll("a").length'
./tools/eval.js 'JSON.stringify(Array.from(document.querySelectorAll("a")).map(a => ({ text: a.textContent.trim(), href: a.href })).filter(link => !link.href.startsWith("https://")))'
\`\`\`
Execute JavaScript in active tab (async context). Be careful with string escaping, best to use single quotes.
## Screenshot
\`\`\`bash
./tools/screenshot.js
\`\`\`
Screenshot current viewport, returns temp file path
## Pick Elements
\`\`\`bash
./tools/pick.js "Click the submit button"
\`\`\`
Interactive element picker. Click to select, Cmd/Ctrl+Click for multi-select, Enter to finish.
This skill lets the agent interact with web pages by remote controlling Google Chrome or Chromium via the Chrome DevTools Protocol (CDP). It provides navigation, element interaction, form filling, JavaScript evaluation, screenshots, and an interactive element picker for precise targeting. Use it when the agent needs to explore, extract, or manipulate live web content programmatically.
The skill launches or connects to a Chrome/Chromium instance with remote debugging enabled (default on :9222). It can open or reuse tabs, run arbitrary JavaScript in the page context, click elements, fill forms, and capture screenshots. An interactive picker lets you visually select elements in the page, and all actions are executed through CDP commands sent to the browser.
Do I need Chrome installed?
Yes, the skill controls a local Chrome or Chromium instance via CDP and requires a browser that supports remote debugging.
How do I preserve logins and cookies?
Start Chrome using a copied profile to retain cookies and logged-in sessions; otherwise a fresh profile starts without persisted state.