Use when the task needs a real web browser inside the sandbox - open a page, click, fill forms, take screenshots, extract or scrape data, test a web app, or use a site that needs a login. Drives the preinstalled agent-browser CLI; the browser window shows on the user's Desktop tab. This is NOT the local_browser tool, which controls the user's own Chrome on their computer.
97%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
The CLI is already installed. Do not install it again, do not run
agent-browser install, and never install a browser yourself: the sandbox
pins its own Google Chrome. Run it with shell_exec and without skill_name.
Every call is one command; the browser stays open between calls.
This file is only the map. Load the real usage guide from the CLI itself, so the instructions always match the installed version:
agent-browser skills get core # workflows, common patterns, troubleshooting
agent-browser skills get core --full # adds the full command reference
agent-browser skills list # specialized guides bundled with the CLIFor quick tasks the loop below is enough; read core before anything harder
(waits, iframes, multiple tabs, downloads, auth flows).
agent-browser open https://example.com # the window opens on the Desktop tab
agent-browser snapshot -i # interactive elements as @e1, @e2, ...
agent-browser click @e2
agent-browser fill @e3 "text to type"
agent-browser screenshot /workspace/output/page.png
agent-browser close # closes the browser; the screen staysRun snapshot -i again after every page change: refs from an older snapshot
go stale. agent-browser --help lists every other command.
The browser always opens as a visible window on the user's Desktop tab, so
the user can watch it and take over. Do not ask the user whether to show it,
and do not pass any flag to hide or show it. The user may click in the same
window while you work: run snapshot -i again before acting if the page may
have changed. Never ask for a password or code in the chat.
When a page asks for a username, password or one-time code and the
request_secure_form tool is available:
request_secure_form with the page's host as site.agent-browser snapshot -i again, then call browser_fill_secret with
the handle and the refs of the inputs.Judge success by the statuses browser_fill_secret returns. Until you leave
that page, do not take screenshots, do not click "show password", and do not
read input values with get value or eval.
Without request_secure_form, or for a captcha, ask the user to type it into
the window on their Desktop tab.
--session, --profile, --cdp, --auto-connect, --state
or --executable-path. The sandbox supplies the profile, the session and
the browser; those flags are discarded.agent-browser close. Never pkill/kill
chrome or agent-browser processes: other sessions' browsers run on this
machine too, and agent-browser close only ever touches this session's
own browser.Tencent/WeKnora
e3fb233
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.