| name | agent-browser |
| description | Use this skill for browser automation. |
agent-browser
A CLI tool for browser automation. It maintains a persistent browser session with cookies - login once and stay authenticated across all subsequent navigations.
Before You Start
Use agent-browser only for interaction
For reading or fetching web content, prefer standard web search and
fetch tools. Use agent-browser only when the task requires interaction:
clicking, form submission, or stateful navigation.
Subagent safety gate
If running as a subagent, you MUST load the testing-safety-protocol
skill before using agent-browser. Only proceed if the protocol permits.
If it does not permit, stop and do not use agent-browser.
--headed
- Primary agent (interactive session with user): always
--headed
- Subagent: headless by default; use
--headed only if explicitly instructed
Prerequisites
If agent-browser is not installed, it is a system-level CLI tool. Load the installing-dependencies skill, inform the user what needs to be installed and where it writes, and wait for explicit permission before proceeding.
Session
agent-browser keeps a single browser session. Cookies persist across open calls as long as the session is alive.
agent-browser session --json
agent-browser session list --json
Opening a browser
agent-browser close && agent-browser open https://example.com [--headed]
agent-browser viewport 1920 1080
agent-browser open https://example.com/dashboard [--headed]