migrate-browser-use-to-browserbase
БесплатноБез исполняемых скриптовНе проверенMigrate an app from Browser Use to Browserbase running on Composio Instant (toolkit `browserbase_tool`, tools `BROWSERBASE_TOOL_*`). Covers apps that call…
от ComposioHQ★ 31 392 звезды на GitHubОб этом скилле
Migrate Browser Use to Browserbase on Composio Instant
You are moving an app's browser agent from Browser Use to Browserbase, run through Composio
Instant. Instant runs Browserbase on Composio's account and bills the Composio project's prepaid
balance: the app needs only its COMPOSIO_API_KEY, no Browserbase key. Browserbase runs its own
agent: task text carries over, but there is no model choice and no step budget.
Work in order: inventory, plan, check schemas, rewrite, verify. Ask the user before any paid test.
Reference flow
Every call goes through one tool router session. execute returns {data, error, log_id, result_type};
stop unless the status is 2xx, error is empty and result_type is "completed".
POST {host}/api/v3.1/tool_router/session {"user_id": U, "toolkits": {"enable": ["browserbase_tool"]}}
-> session_id = S
once per user: BROWSERBASE_TOOL_CREATE_CONTEXT {} -> data.id = P (store it with the user)
POST .../session/S/execute BROWSERBASE_TOOL_RUN_AGENT {"task": T, "profile_id": P}
-> data.runId = R
loop every 3 s: BROWSERBASE_TOOL_GET_RUN {"run_id": R}
-> status; sessionId once the browser is up; result.summary when COMPLETED; cause on failure
BROWSERBASE_TOOL_LIST_RUN_MESSAGES {"run_id": R, "since": M, "limit": 100} -> data[], nextSince = M (a message ID string; omit on the first call)
first time sessionId appears: BROWSERBASE_TOOL_GET_SESSION_DEBUG_URLS {"session_id": sessionId}
-> live_url (keep this first one; append &navbar=false)
stop: BROWSERBASE_TOOL_STOP_RUN {"run_id": R}, then GET_RUN until STOPPED
sign out: BROWSERBASE_TOOL_DELETE_CONTEXT {"profile_id": P}
1. Inventory every Browser Use touchpoint
Search the whole repo, including README, AGENTS.md, CLAUDE.md, .env.example, config and UI
text (skip node_modules, build output and installed skills), for each pattern below:
| Look for | What it is |
|---|---|
BROWSER_USE_, BROWSER_TOOL_, "browser_use", "browser_tool" |
Composio browser_use / browser_tool toolkit |
api.browser-use.com, browser_use_sdk, browser-use-sdk, BROWSER_USE_API_KEY |
Browser Use Cloud REST or SDK |
from browser_use, import browser_use, a browser-use dependency |
The open-source browser-use library |
--cli-mcp, @browser_use/pi, n8n-nodes-browser-use |
Browser Use MCP server, pi or n8n |
connect_over_cdp, connectOverCDP, cdp_url, cdpUrl, Page.startScreencast, Input.dispatch, /json/list |
A browser driven over CDP, or a CDP screencast used as a live view |
live_view_url, keep_alive, max_cost_usd, and model or session_id passed to Browser Use calls |
Browser Use run fields |
| "Browser Use" in prose | Docs or UI text to reword for the new provider |
Also read the code: wrappers and string-built URLs can hide a call. Group findings into workflows (start a task, poll, show progress, live view, sign-in wait, stop, sign out) and say what each becomes before you edit. Each kind of finding maps to a section of step 5.
2. Decisions to make first
- End-user ID. Use the app's own signed-in user ID as the Composio
user_id. With no accounts (one shared login, anonymous visitors), create a random ID per chat or visitor and keep it in their state. Never one shared ID: browsers and profiles would be shared between people. - Where the profile ID lives. Next to that user (database row or chat state). Lose it and the user loses their sign-in, and the old profile is never deleted.
- Composio host. Read it from an env var (keep the app's existing name if it has one,
otherwise
COMPOSIO_BASE_URL; defaulthttps://backend.composio.dev). - How the session reaches Instant. With Instant on for the project, a session runs a tool on Instant when the user has no connection of their own for that toolkit; nothing extra goes in the session body. If users may have their own connection, force Instant as below.
- Call Instant explicitly. Through a tool router session (
POST /api/v3.1/tool_router/session, then/{id}/execute), or the SDK withaccount="instant_account"(Python) /{ account: "instant_account" }(TypeScript). Unpinned tool listings can serve an older version with different argument names. - Enable the new toolkit. Change the session's toolkit list (
toolkits.enable) frombrowser_useto the new toolkit. With the SDK's direct execute, also pass the Instant account. - Check success explicitly. The session execute response is
{data, error, log_id, result_type}with nosuccessfulfield (that field belongs to the directtools.executeAPI). A call succeeded only when the HTTP status is 2xx,erroris empty andresult_typeis"completed"(resultTypein the TypeScript SDK). Many refusals come back as HTTP 200 with anerrorstring (a refused field, or a provider 404); some as HTTP 4xx (6602 refused ID, 6604 tool not allowed on Instant). Check both, and matc
Установить migrate-browser-use-to-browserbase в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл migrate-browser-use-to-browserbase?
Migrate an app from Browser Use to Browserbase running on Composio Instant (toolkit `browserbase_tool`, tools `BROWSERBASE_TOOL_*`). Covers apps that call Composio's `BROWSER_USE_*` tools, Browser Use Cloud (REST or SDK), Browser Use browsers over CDP, the open-source `browser-use` library, and Browser Use MCP or n8n setups. Use when asked to move a browser agent, live view or sign-in hand-off off Browser Use onto Browserbase through Composio, with no Browserbase account of your own.
Как установить скилл migrate-browser-use-to-browserbase?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл migrate-browser-use-to-browserbase запускает скрипты?
Нет, скилл состоит только из инструкций (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