← ClaudeAtlas

agent-browserlisted

Use when you need to screenshot or drive a dev server and the shared Chrome is unavailable or contended — e.g. parallel Conductor workspaces: headless per-workspace browser via npx agent-browser.
itsvedantkumar/vstack · ★ 4 · AI & Automation · score 77
Install: claude install-skill itsvedantkumar/vstack
# agent-browser — headless per-workspace browser Browser automation CLI from Vercel Labs. Native Rust binary driving Chrome/Chromium over CDP — no Playwright, no shared Chrome window. Each `--session` gets its own browser instance, cookies, and history, so parallel Conductor workspaces never fight over tabs. Needs node/npx. Run every command through `npx agent-browser ...` (or `agent-browser` if installed globally with `npm i -g agent-browser`). First use on a machine may need `npx agent-browser install` to download Chrome for Testing; existing Chrome, Brave, Playwright, and Puppeteer installs are detected automatically. ## Isolate the workspace first ```bash SESSION="$(npx agent-browser session id --scope worktree --prefix dev-loop)" # Then pass --session "$SESSION" on every call, or export AGENT_BROWSER_SESSION="$SESSION" ``` The browser persists via a background daemon, so chaining commands with `&&` is safe. ## The ui-iterate loop Screenshot the affected route at all three widths, then critique the images: ```bash URL="http://localhost:${CONDUCTOR_PORT:-3000}/route-you-changed" npx agent-browser --session "$SESSION" open "$URL" npx agent-browser --session "$SESSION" wait --load networkidle npx agent-browser --session "$SESSION" set viewport 375 812 # phone npx agent-browser --session "$SESSION" screenshot /tmp/ui-375.png npx agent-browser --session "$SESSION" set viewport 768 1024 # tablet npx agent-browser --session "$SESSION" screenshot /tmp/ui-768.png np