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…
от realness-online★ 20 звёзд на GitHub
Установить agent-browser в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
agent-browser
Fast browser automation CLI for AI agents. Chrome/Chromium via CDP with
accessibility-tree snapshots and compact @eN element refs.
Install: npm i -g agent-browser && agent-browser install
In a hosted actor there is no local Chrome: agent-browser leases a fresh
Chrome VM through the host on first use and drives it over CDP. The leased
Chrome reaches the internet and this actor's own dev servers at the actor's
address (hostname -I), not localhost. It lasts 30 minutes;
realness chrome return gives it back early.
Start here
This file is a discovery stub, not the usage guide. Before running any
agent-browser command, load the actual workflow content from the CLI:
agent-browser skills get core # start here - the loop, waits, common tasks, troubleshooting
agent-browser skills get core --ref <ref> # load one reference from the core table
The core guide ends with a table of references. Use
agent-browser skills get core --full only when you need every reference
at once; it is several times larger.
The CLI serves skill content that always matches the installed version,
so instructions never go stale. The content in this stub cannot change
between releases, which is why it just points at skills get core.
Specialized skills
Load a specialized skill when the task falls outside browser web pages:
agent-browser skills get electron # Electron desktop apps (VS Code, Slack, Discord, Figma, ...)
agent-browser skills get slack # Slack workspace automation
agent-browser skills get dogfood # Exploratory testing / QA / bug hunts
agent-browser skills get derive-client # Record a HAR, derive a standalone API client for a site
agent-browser skills get webmcp-gen # Build and validate WebMCP tools for a page
agent-browser skills get modern-web-guidance # Apply Modern Web Guidance, then verify the page
agent-browser skills get vercel-sandbox # agent-browser inside Vercel Sandbox microVMs
agent-browser skills get protected-vercel-deployments # Access protected Vercel deployments
agent-browser skills get agentcore # AWS Bedrock AgentCore cloud browsers
Run agent-browser skills list to see everything available on the
installed version.
Observation order
The CLI guide covers screenshot workflows. This workspace limits them:
evala specific value -getComputedStyle,getBoundingClientRect, font metrics,scrollWidth. Answers layout questions with a number.snapshotthe accessible structure when the question is about elements, roles, or text.screenshotonly when the pixel result itself is the question: color, anti-aliasing, a painted effect. One per state change, read it once. Do not re-shoot a state that only differs by a value anevalreports.
Write screenshots under artifacts/<project>, never beside the code.
Token budget
Each tool call and each snapshot costs tokens. Spend them once.
- Batch known steps in one call, and end with one
evalthat prints only the answer:agent-browser batch --bail "open <url>" "fill @e2 <text>" "click @e3" "eval <js>" - Scope a snapshot:
snapshot -i -c, add-s <selector>for one region. - After the first snapshot, use
snapshot --deltato get only the changes. - Snapshot only when the next step needs refs you do not have.
Observability Dashboard
The dashboard runs independently of browser sessions on port 4848 and can also be opened through a proxied or forwarded URL such as https://dashboard.agent-browser.localhost. Agents should stay on the dashboard origin: session tabs, status, and stream traffic are proxied internally, so session ports do not need to be exposed.
Local quirks
keyboard typeskips keydown.- Use unique session names; others share them.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(agent-browser:*) - 02
Bash(npx agent-browser:*)
FAQ
Что делает скилл 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, testing web apps, or automating any browser task. Triggers include requests to "fill out a form", "click a button", "take a screenshot", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. To read, summarize, or research a page's content, use realness-read instead. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation tools.
Как установить скилл agent-browser?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-browser запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…