agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
npx skills add hAcKlyc/MyAgents --skill agent-browser --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Browser Automation with agent-browser ## First-time Setup The CLI is **not pre-installed** with the app — install it on first use, then download Chromium. **Always run this self-check before issuing any agent-browser command in a fresh environment.** ### Step 1: Verify or install the CLI ```bash # Probe by RUNNING the CLI (not just checking PATH presence). This catches the # common case of a stale wrapper from a previous app version: it lives at # ~/.myagents/bin/agent-browser, satisfies `command -v`, but execs a deleted # bundle path → fails with "cannot find file". `--version` exercises the real # code path and triggers the install fallback when broken. agent-browser --version >/dev/null 2>&1 || npm_config_prefix="${MYAGENTS_NPM_GLOBAL_PREFIX:-$HOME/.myagents/npm-global}" npm install -g agent-browser@0.15.1 ``` The install lands in `~/.myagents/npm-global/bin/agent-browser`, which sits earlier in PATH than any legacy wrapper. MyAgents exposes `MYAGENTS_NPM_GLOBAL_PREFIX` for this command-local install instead of setting `npm_config_prefix` on the whole shell, so nvm-based user shells stay quiet. Subsequent `agent-browser …` calls find the new binary automatically. Tell the user
- First-time Setup
- Step 1: Verify or install the CLI
- Step 2: Download Chromium (~160MB, one-time)
- Troubleshooting
- Core Workflow
- Command Chaining
- Essential Commands
- Common Patterns
- Form Submission
- Authentication with Auth Vault (Recommended)
- Authentication with State Persistence
- Session Persistence
- Data Extraction
- Parallel Sessions
Probe by RUNNING the CLI (not just checking PATH presence). This catches the
common case of a stale wrapper from a previous app version: it lives at
bundle path → fails with "cannot find file". `--version` exercises the real
code path and triggers the install fallback when broken.
agent-browser --version >/dev/null 2>&1 || npm_config_prefix="${MYAGENTS_NPM_GLOBAL_PREFIX:-$HOME/.myagents/npm-global}" npm install -g agent-browser@0.15.1
Use the npx prefix on EVERY command. Do not try to alias — it won't survive.
npx -y agent-browser@0.15.1 open https://example.com
npx -y agent-browser@0.15.1 snapshot -i
npx -y agent-browser@0.15.1 click @e1
agent-browser installWhat does the agent-browser skill do?
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
How do I install it?
Run `npx skills add hAcKlyc/MyAgents --skill agent-browser --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From hAcKlyc/MyAgents, a repository with 795 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
