agent-browser-control
Drive a headed Chromium via the agent-browser CLI — open/click/type/hover/scroll/screenshot/snapshot/eval/pdf/network-route. Use this for any web interaction…
от HKU-MMLab★ 40 звёзд на GitHub
Установить agent-browser-control в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Agent Browser Control
Use the agent-browser CLI for any web interaction. No other browser tool is exposed in this environment.
Binary
agent-browser(global, onPATH)- Chromium is pre-installed at
/usr/local/bin/chromium - A persistent browser daemon is started automatically on the first command and reused across calls
Typical workflow
- Open a page:
agent-browser open https://example.com
- Inspect the page:
agent-browser snapshot
agent-browser get url
agent-browser get title
- Interact with elements:
agent-browser click "@e2"
agent-browser fill "@e3" "text value"
agent-browser press Enter
agent-browser wait --load networkidle
For form submission flows, do not assume a public demo form is static just because the first click appears unchanged. After clicking the submit button:
agent-browser wait --load networkidle
agent-browser get url
agent-browser snapshot
If needed, try the submit control again or press Enter, then re-check the URL and page content before concluding that submission failed.
Before clicking a final action such as a submit button, refresh the page snapshot and use the current ref from that latest snapshot. Do not rely on a stale remembered ref.
- Save evidence (screenshots go to the path you pass):
mkdir -p /tmp_workspace/results/screenshots
agent-browser screenshot /tmp_workspace/results/screenshots/page.png
screenshot defaults to viewport-only PNG at the exact path you provide. Pass --full for full-page; pass --screenshot-format jpeg for JPEG.
- Close the browser when done:
agent-browser close
Notes
snapshotreturns refs like@e2; use those refs forclick,fill, andget text.- For multi-step flows,
agent-browser batch --jsoncan run a JSON array of commands in one invocation (daemon persists between commands anyway, so chaining with&&is usually enough). - Always wait for navigation or content changes before taking the next screenshot.
- Save any required output files under
/tmp_workspace/results; thescreenshot <path>argument is respected literally, so point it directly at the file you want saved. - In benchmark tasks, write required JSON/log files incrementally as milestones are reached instead of waiting until the very end.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-browser-control?
Drive a headed Chromium via the agent-browser CLI — open/click/type/hover/scroll/screenshot/snapshot/eval/pdf/network-route. Use this for any web interaction; no native browser tool is exposed.
Как установить скилл agent-browser-control?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-browser-control запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…