browser-use
БесплатноБез исполняемых скриптовНе проверенControl a real browser to navigate pages, click, type, fill forms, inspect rendered UI, take screenshots, or record video. Load only when the user asks to…
от letta-ai★ 3 947 звёзд на GitHubОб этом скилле
Browser Use with CDP
Drive the browser through its native Chrome DevTools Protocol over the
remote-debugging WebSocket. This works with zero dependencies: launch the
browser with --remote-debugging-port, then talk JSON over fetch and the
built-in WebSocket global (available in Bun and Node ≥ 22 — no ws package).
If the project already has Playwright or Puppeteer installed, using it is usually simpler — reach for raw CDP when no automation library is available, when protocol-level control is needed, or when recording a deterministic visual demo.
Protocol reference: https://chromedevtools.github.io/devtools-protocol/.
The running browser's exact schema is at http://127.0.0.1:<port>/json/protocol;
tip-of-tree docs can differ from the installed version.
Visible by default when a display exists
When the computer has a display, prefer a visible (headful) browser for any task the user might watch or take over: clicking or typing, forms, sign-in, checkout/payment, CAPTCHAs or bot protection, and user handoff. Most browser tasks exist because plain HTTP is not enough; a headless browser is more likely to trigger bot protection and gives the user no way to observe or step in. Visible does not mean pixel-driven: keep operating the page over CDP, and the user sees every action in the window.
Use headless mode only for work the user explicitly wants in the background and that cannot require interaction or handoff, such as read-only scraping, CI, or screenshot/PDF generation, or when no display exists. A headless page does not satisfy a request to open or reopen a site in a browser the user can see.
When the user asks to review, watch, or take over, leave that browser window open after the task. Do not kill or close it before replying.
Workflow
- Find a Chromium-based browser (below). If none exists, see "No Chrome installed".
- Launch with a dedicated profile and remote debugging. Never attach to the user's normal profile unless explicitly asked.
- Discover targets via
/json/list; pick the"page"target by URL or title. - Connect to its
webSocketDebuggerUrland enable only the domains you need (usuallyPage,Runtime,DOM,Input; addNetwork,Logwhen debugging). - Inspect before acting: find elements by accessible name, label, text, role, stable ID, or placeholder — not generated classes or child indexes.
- Act through
Input.*for user-like interactions; useRuntime.evaluatefor inspection, coordinate math, and setup with no meaningful user interaction. - Wait on observable state, never fixed sleeps alone.
- Verify the result (DOM state, URL, screenshot, console/network events).
- Clean up temporary background work: stop screencasts and close the WebSocket. Kill a browser you launched only when the user did not ask to review, watch, or take over the visible window.
Finding the browser
Any Chromium-based browser supports CDP (Chrome, Chromium, Edge, Brave). Probe in order:
# macOS
for c in "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
"/Applications/Chromium.app/Contents/MacOS/Chromium" \
"/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge" \
"/Applications/Brave Browser.app/Contents/MacOS/Brave Browser"; do
[ -x "$c" ] && { echo "$c"; break; }
done
# Linux
for c in google-chrome google-chrome-stable chromium chromium-browser microsoft-edge brave-browser; do
command -v "$c" && break
done
On Windows, check %ProgramFiles%\Google\Chrome\Application\chrome.exe,
%ProgramFiles(x86)%\..., %LocalAppData%\Google\Chrome\Application\chrome.exe,
and the same patterns for Microsoft\Edge.
No Chrome installed
Any browser found by the probe above works identically — use it. If truly no Chromium-based browser exists, do not install or download one automatically. Tell the user that browser use requires Chrome or another Chromium-based browser and recommend either:
- Install Chrome on the current computer, then retry the browser task.
- Teleport the conversation back to its Cloud sandbox, where a browser is already installed.
Wait for the user to choose. Do not silently replace the browser task with plain HTTP or claim browser automation succeeded.
Launching
Use a disposable profile and a fixed port. Chrome refuses to run as root
without --no-sandbox, so add that flag when id -u is 0:
chrome_args=( \
--remote-debugging-port=9222 \
--user-data-dir=/tmp/cdp-profile \
--window-size=1440,900 \
--force-device-scale-factor=1 \
--no-first-run \
--no-default-browser-check \
)
[ "$(id -u)" -eq 0 ] && chrome_args+=(--no-sandbox)
"$CHROME" "${chrome_args[@]}" https://example.com
Add --headless=new only for explicitly invisible work or when no display
exists (see "Visible by default" above).
With --remote-debugging-port=0, read the chosen port from
<user-data-dir>/DevToolsActivePort. Launch in the background and poll
`http://127.0.0.1:
Установить browser-use в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл browser-use?
Control a real browser to navigate pages, click, type, fill forms, inspect rendered UI, take screenshots, or record video. Load only when the user asks to open or automate a browser, interact with or test rendered page UI, scrape a site that needs browser execution, or capture a browser screenshot or video. Do not load for backend logs, traces, API or stream events, source-code inspection, or plain HTTP or web research that does not require a browser.
Как установить скилл browser-use?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл browser-use запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic