browser-automation
Installation
SKILL.md
Browser Automation with agent-browser
Setup
Before running any commands, ensure agent-browser is installed and configured:
which agent-browser > /dev/null 2>&1 || npm install -g agent-browser
export AGENT_BROWSER_AUTO_CONNECT=1
Chrome is already running with remote debugging enabled on port 9222. The AGENT_BROWSER_AUTO_CONNECT=1 env var makes all commands connect to it automatically. You do NOT need to run agent-browser install or launch a browser — it is already running.
If auto-connect fails, use the explicit CDP port flag:
agent-browser --cdp 9222 <command>