Overview
Thebrowserbase-cli skill teaches AI coding agents how to use the official Browserbase CLI (bb). The CLI is the primary interface for managing Browserbase infrastructure — it covers Functions lifecycle, platform resource management, page fetching, and dashboard access.
Use this skill when you want your agent to stay inside the CLI for tasks like:
- Functions —
bb functions init,dev,deploy,publish,invoke, andlogsfor the full serverless browser automation lifecycle - Sessions —
bb sessions list,get,create, anddeleteto manage browser sessions - Projects —
bb projects listandgetfor project-level configuration - Contexts —
bb contexts create,get,list, anddeleteto manage persistent browser state (cookies, localStorage) - Extensions —
bb extensions upload,list, anddeletefor custom browser extensions - Fetch —
bb fetch <url>to retrieve page content through Browserbase proxies with redirect control and JSON output - Dashboard —
bb dashboardto open the Browserbase console from the terminal
The
browserbase-cli skill is for bb-driven workflows. For interactive browser control like navigation, clicking, typing, and snapshots, use the browser skill instead.Choose the Right Skill
| Skill | Best for |
|---|---|
browser | Interactive browser automation with the browse CLI |
fetch | Lightweight page retrieval via the Browserbase Fetch API — no browser session needed |
functions | Focused Browserbase Functions workflows |
browserbase-cli | Broader bb workflows across functions, sessions, projects, contexts, extensions, fetch, and dashboard |
Installation
Authentication
Allbb commands require your API key:
bb functions deploy and bb functions publish, you also need a project ID:
Common Workflows
Functions
Platform APIs
Fetch API
Dashboard
Notes on bb browse
bb browse is a passthrough to the standalone browse CLI. Use it only when you explicitly want to stay inside a bb-centric workflow.
For most interactive browsing tasks, prefer the browser skill directly.
If you need bb browse, install the browse CLI too: