/agent-browsers:drive-browserfrom agent-browsers
How to drive an agent browser through a Playwright-style MCP (navigate, snapshot, act by ref) without leaving a mess. For local browsers, reuse what's open, never launch extras, and close everything you opened when done. Use for any web task on an agent browser ("use your browser", "check the page", "log in and look"), after pick-browser.
Ships in agent-browsers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
$PLUGIN below is this plugin's root: two directories above this skill's base directory. Every script prints JSON.
mcp__<server>__browser_tabs {"action":"list"} first. If a tab is open, work in it
(or add one tab). Don't open a new isolated context or a second browser for a new task.$PLUGIN/scripts/local-browsers.sh lists every Playwright-managed browser on this machine with its age and
owning MCP. Note the PIDs that exist before you start, so you know at the end which ones are yours.Shared profiles (lan/vps browsers the user also watches): check browser_tabs first and open a new tab rather
than navigating one they have open. Never log out or clear site data: those sessions are theirs.
browser_navigate → browser_snapshot → act by ref (browser_click, browser_type, browser_fill_form). Re-snapshot after anything that changes the page.show-me.mcp_route: "gateway" in the registry, tools called via the gateway's toolbox): element
refs and modal state (file choosers) usually don't survive between calls. Click by CSS selector (browser_click
{"target": "#id"}), read with browser_evaluate, or do a multi-step action in one browser_run_code_unsafe call.
Files to upload must exist on the browser's host, not this machine. See the entry's ops_doc.login_source (registry.py get <id>). chrome-cookies: the user signs in in
their Chrome and the agent browser picks it up at its next launch. manual-in-viewer: give them the viewer URL and wait.browser_tabs close, then browser_close on the last one. With Playwright
MCP 0.0.85, closing the last tab ends the browser process (confirmed 2026-11-15).local-browsers.sh again. Any browser that wasn't there at the start and is still running is a
leftover: close it through its MCP, or local-browsers.sh kill <pid> if its MCP is gone. Leave browsers that predate the task alone.show-me), offer to switch back.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/browser-loginGet an agent browser signed in to a site by handing the sign-in to the user (the agent never types credentials), then confirming the session is live. Use when a site shows a login wall, when setting up a fresh profile, or on "log me in", "I'll log in", "sign the browser into X"./browser-statusCheck whether the user's agent browsers are up and reachable (local MCP and process, LAN/VPS MCP and viewer ports), and recover the common failures. Use when browser tools error or vanish, the viewer won't load, after a server restart, or on "is the agent browser up", "browser tools broken", "restart the agent browser"./captcha-handoffGet past a CAPTCHA or bot check in an agent browser by first trying once to clear it, then handing it to the user and carrying on after they solve it. A challenge is never a reason to stop the task. Use on reCAPTCHA, hCaptcha, Cloudflare Turnstile / "Checking your browser" / "Verify you are human", "unusual traffic", slider or image puzzles, or an SMS/email verification step.agent-browsers@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin agent-browsers