Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Complete guide for creating and deploying browser automation functions using the stagehand CLI
Complete guide for creating and deploying browser automation functions using the stagehand CLI
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Automate browser interactions using the browse CLI with Claude.
Before running any browser commands, verify the CLI is available: which browse || npm install -g @browserbasehq/browse-cli
The CLI automatically selects between local and remote browser environments based on available configuration:
Uses local Chrome โ no API keys needed Best for: development, simple pages, trusted sites with no bot protection
Activated when BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID are set Provides: anti-bot stealth, automatic CAPTCHA solving, residential proxies, session persistence Use remote mode when: the target site has bot detection, CAPTCHAs, IP rate limiting, Cloudflare protection, or requires geo-specific access Get credentials at https://browserbase.com/settings
Simple browsing (docs, wikis, public APIs): local mode is fine Protected sites (login walls, CAPTCHAs, anti-scraping): use remote mode If local mode fails with bot detection or access denied: switch to remote mode
All commands work identically in both modes. The daemon auto-starts on first command.
browse open <url> # Go to URL (aliases: goto) browse reload # Reload current page browse back # Go back in history browse forward # Go forward in history
browse snapshot # Get accessibility tree with element refs (fast, structured) browse screenshot [path] # Take visual screenshot (slow, uses vision tokens) browse get url # Get current URL browse get title # Get page title browse get text <selector> # Get text content (use "body" for all text) browse get html <selector> # Get HTML content of element browse get value <selector> # Get form field value Use browse snapshot as your default for understanding page state โ it returns the accessibility tree with element refs you can use to interact. Only use browse screenshot when you need visual context (layout, images, debugging).
browse click <ref> # Click element by ref from snapshot (e.g., @0-5) browse type <text> # Type text into focused element browse fill <selector> <value> # Fill input and press Enter browse select <selector> <values...> # Select dropdown option(s) browse press <key> # Press key (Enter, Tab, Escape, Cmd+A, etc.) browse drag <fromX> <fromY> <toX> <toY> # Drag from one point to another browse scroll <x> <y> <deltaX> <deltaY> # Scroll at coordinates browse highlight <selector> # Highlight element on page browse is visible <selector> # Check if element is visible browse is checked <selector> # Check if element is checked browse wait <type> [arg] # Wait for: load, selector, timeout
browse stop # Stop the browser daemon browse status # Check daemon status (includes env) browse env # Show current environment (local or remote) browse env local # Switch to local Chrome browse env remote # Switch to Browserbase (requires API keys) browse pages # List all open tabs browse tab_switch <index> # Switch to tab by index browse tab_close [index] # Close tab
browse open <url> โ navigate to the page browse snapshot โ read the accessibility tree to understand page structure and get element refs browse click <ref> / browse type <text> / browse fill <selector> <value> โ interact using refs from snapshot browse snapshot โ confirm the action worked Repeat 3-4 as needed browse stop โ close the browser when done
browse open https://example.com browse snapshot # see page structure + element refs browse click @0-5 # click element with ref 0-5 browse get title browse stop
FeatureLocalBrowserbaseSpeedFasterSlightly slowerSetupChrome requiredAPI key requiredStealth modeNoYes (custom Chromium, anti-bot fingerprinting)CAPTCHA solvingNoYes (automatic reCAPTCHA/hCaptcha)Residential proxiesNoYes (201 countries, geo-targeting)Session persistenceNoYes (cookies/auth persist across sessions)Best forDevelopment/simple pagesProtected sites, bot detection, production scraping
Always browse open first before interacting Use browse snapshot to check page state โ it's fast and gives you element refs Only screenshot when visual context is needed (layout checks, images, debugging) Use refs from snapshot to click/interact โ e.g., browse click @0-5 browse stop when done to clean up the browser session
"No active page": Run browse stop, then check browse status. If it still says running, kill the zombie daemon with pkill -f "browse.*daemon", then retry browse open Chrome not found: Install Chrome or use browse env remote Action fails: Run browse snapshot to see available elements and their refs Browserbase fails: Verify API key and project ID are set
Switch to remote when you detect: CAPTCHAs (reCAPTCHA, hCaptcha, Turnstile), bot detection pages ("Checking your browser..."), HTTP 403/429, empty pages on sites that should have content, or the user asks for it. Don't switch for simple sites (docs, wikis, public APIs, localhost). browse env remote # switch to Browserbase browse env local # switch back to local Chrome The switch is sticky until you run browse stop or switch again. For detailed examples, see EXAMPLES.md. For API reference, see REFERENCE.md.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.