No slash command · from browser-use
Selects the LLM model for browser-use agent tools (retry_with_browser_use_agent, browser_extract_content). Resolves model via session override, config, gateway, or default.
Ships in browser-use. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two tools reason with an LLM of their own, which makes its own API calls and does not borrow this Claude session:
retry_with_browser_use_agent runs an autonomous agent loop in a fresh local
Chromium of its own.browser_extract_content makes one model call over the current page's text.The page tools (browser_navigate, browser_click, …) and cloud sessions use no model.
This skill decides which LLM, per task. The Python MCP server is deliberately dumb: it
reads config and accepts an override. The judgment lives here.
browser_set_agent_model tool; it holds until the
MCP server restarts."browser-use"."agentModel" block merged from settings files:
~/.claude/settings.json → <project>/.claude/settings.json →
<project>/.claude/settings.local.json (local wins).BROWSER_USE_API_KEY is set and nothing above:
BROWSER_USE_AGENT_MODEL when set, else bu-fast.anthropic / LATEST_SONNET_MODEL (uses ANTHROPIC_API_KEY).Nothing else is read. ~/.config/browseruse/config.json is not consulted, so a model or
browser setting written there has no effect.
| provider id | use for | key (env var NAME) | base_url |
|---|---|---|---|
anthropic | Claude models — strong vision, best default | ANTHROPIC_API_KEY | not accepted |
openai | GPT models | OPENAI_API_KEY | optional |
openai_compatible | Kimi, GLM, Moonshot, Zhipu, or any OpenAI-compatible endpoint | your choice | required |
browser_use | Browser Use's gateway models (bu-fast is the default) | BROWSER_USE_API_KEY, or a stored browser-use login | optional |
anthropic with a base_url is an error. To reach Claude through a proxy or another
gateway, use openai_compatible with that gateway's OpenAI-compatible URL.
Gateway model names from browser-use before 1.0 (bu-latest, and the numbered bu-<n>-<n>
names) are rejected with an error naming the 1.0 alternative.
Current Anthropic vision models: LATEST_SONNET_MODEL (default; best multi-step + vision),
LATEST_OPUS_MODEL (hardest reasoning), LATEST_HAIKU_MODEL (cheapest/fastest). Confirm live ids
against the claude-api skill before quoting one — do not rely on memory.
LATEST_HAIKU_MODEL, or a cheap
openai_compatible model.LATEST_SONNET_MODEL (default).LATEST_SONNET_MODEL or LATEST_OPUS_MODEL.browser_start_cloud_session)
and drive it with the page tools.Suggest the right model even when it differs from their configured default — that's the point of this skill. Read the task, recommend, then apply one of the two ways below.
Ephemeral (until the MCP server restarts) — call the tool:
browser_set_agent_model(provider="anthropic", model="LATEST_SONNET_MODEL")
browser_set_agent_model(provider="openai_compatible", model="moonshot-v1-128k",
base_url="https://api.moonshot.cn/v1", api_key_env="MOONSHOT_API_KEY")
No file edit. The tool builds the model at once, so a choice that cannot work (an unknown
provider, anthropic with a base_url, a missing key for openai_compatible, a rejected
model name) returns an Error line now and leaves the previous choice in place. A good
choice takes effect on the next agent or extraction call.
Persistent (per project or per user) — write to settings (relaunch the MCP server after). Use
the update-config skill to edit .claude/settings.json (committed) or .claude/settings.local.json
(gitignored):
{ "browser-use": { "agentModel": {
"provider": "openai_compatible",
"model": "glm-4.6",
"baseUrl": "https://open.bigmodel.cn/api/paas/v4",
"apiKeyEnv": "ZHIPU_API_KEY",
"temperature": 0.2
} } }
A bad settings choice is reported only when a tool first uses the model.
apiKeyEnv holds the name of an environment variable, never the key itself (settings.json is
often committed). Export that variable in the shell that starts Claude Code. The MCP server
inherits Claude Code's environment, so every exported key reaches it, custom providers included.
Never add the key to the plugin's .mcp.json: a ${VAR} entry there makes Claude Code refuse to
start the server whenever the variable is unset, and edits to an installed plugin do not survive
its next update.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub madappgang/magus --plugin browser-use6 skills in this plugin
/core-apiReference for the Browser Use MCP tools — parameters, returns, session lifecycle. Use when navigating, clicking, typing, evaluating JS, or extracting page content./debug-uiVisual UI debugging — screenshot capture and analysis, responsive layout checking at multiple viewport sizes, CSS validation via DOM state, visual regression detection, before/after state comparison./hybrid-debuggingCombines Browser Use (DOM, clicks, screenshots) with claude-in-chrome (console, network, JS) for full-spectrum debugging. Use when investigating console errors or network requests./navigation-patternsBrowser Use tab, session and back-navigation patterns, and login reuse via export/import. Use when opening or switching tabs, managing browser sessions, or reusing a login./web-scrapingStructured data extraction from web pages — pagination patterns, dynamic SPAs, authenticated scraping, rate limiting, anti-bot handling, JSON/CSV output.Other plugins' skills for the same job