Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.browserbase.com/llms.txt

Use this file to discover all available pages before exploring further.

The unified Browserbase CLI now lives under the browse command. You can use it for browser automation, Browserbase cloud APIs, Functions, templates, and skill installation. Use the Browse CLI when you want your agent to stay in the terminal for workflows like:
  • Browser automationbrowse open, snapshot, click, fill, type, upload, screenshot, wait, and viewport
  • Navigation and inspectionbrowse back, forward, reload, highlight, refs, get, is, eval, and cdp
  • Session controlsbrowse status, stop, cursor, tab, network, and mouse
  • Cloud APIsbrowse cloud for Browserbase projects, sessions, contexts, extensions, fetch, and search APIs
  • Functionsbrowse functions for function development, publishing, and invocation
  • Skills and templatesbrowse skills and browse templates for reusable browser workflows and scaffolds
The browse CLI is the current Browserbase CLI surface.

Choose the right skill

SkillBest for
browserInteractive browser automation powered by the browse CLI
fetchLightweight page retrieval via the Browserbase Fetch API
functionsFocused Browserbase Functions workflows
browse-cliUnified browse workflows across browser automation, cloud APIs, functions, skills, and templates

Installation

1

Install the Browse CLI

npm install -g browse
2

Install the bundled skill

browse skills install

Command surface

The current top-level browse topics are:
  • cloud for Browserbase cloud resources and APIs
  • functions for Browserbase Functions
  • mouse for raw mouse coordinate input
  • network for browser network capture
  • skills for discovering and installing browser automation skills
  • tab for tab management
  • templates for scaffolding Browserbase templates
The current top-level browser commands are:
  • back, forward, reload, open, and wait
  • snapshot, refs, highlight, screenshot, and cursor
  • click, fill, type, upload, select, key, and press
  • get, is, eval, viewport, status, stop, and cdp

Authentication

Remote Browserbase commands require your API key:
export BROWSERBASE_API_KEY="your_api_key"

Common workflows

Browser automation

browse open https://example.com
browse snapshot
browse click @0-4
browse fill @0-7 "hello@example.com"
browse screenshot

Cloud APIs

browse cloud projects list
browse cloud sessions get <session_id>
browse cloud contexts create
browse cloud extensions upload ./my-extension.zip

Functions

browse functions init my-function
cd my-function
browse functions dev index.ts
browse functions publish index.ts
browse functions invoke <function_id> --params '{"url":"https://example.com"}'

Skills

browse skills list
browse skills find reviews
browse skills add yelp.com/extract-reviews

Browse.sh

Browse.sh is an open-source catalog of skills for reliable web tasks. It gives your agents researched playbooks for hundreds of sites.

Further reading

Skills repository

View the Browserbase skills source and installation instructions.

Browse.sh

Explore the public Browse.sh skill catalog.