Agent skill

Browserbase Sessions

by LeoYeAI in LeoYeAI/openclaw-master-skills

Create and manage persistent Browserbase cloud browser sessions with authentication persistence.

MITAuto-check passedData & Analytics

Install Browserbase Sessions

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill browserbase-sessions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills browserbase-sessions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/browserbase-sessions .claude/skills/browserbase-sessions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
browserbase-sessions
GitHub stars
2.2k
Token cost
~6k tokens
SKILL.md length
1,575 words
Files
10 (incl. scripts, references)
Skills in repo
972
Repo updated
First seen
Licence
MIT

At a glance

Create and manage persistent Browserbase cloud browser sessions with authentication persistence.

  • Works in 4 steps: Get your Browserbase credentials → Install dependencies → Set environment variables → …
  • You need to automate browsers
  • SKILL.md covers Agent Checklist (Be Proactive), Prompt-Optimized Response…, First-Time Setup and Defaults, plus 6 more sections
  • Runs Python and JavaScript scripts from its folder; calls python3 and pip; reaches github.com; needs BROWSERBASE_API_KEY

What it does

Browserbase Sessions is an agent skill from LeoYeAI/openclaw-master-skills. Create and manage persistent Browserbase cloud browser sessions with authentication persistence. Use when you need to automate browsers, maintain logged-in sessions across interactions, scrape authenticated pages, or manage cloud browser instances.

Its SKILL.md is about 6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `CHANGELOG.md`, `README.md` and `_meta.json`).

It sits in Data & Analytics, covering Web scraping and Browser automation. It works with Browserbase and Python. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • You need to automate browsers
  • Maintain logged-in sessions across interactions
  • Scrape authenticated pages
  • Manage cloud browser instances

Example prompts

  • “/browserbase-sessions”

Requirements

  • Python 3
  • Node.js
  • A credential in BROWSERBASE_API_KEY

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Get your Browserbase credentials
  2. Install dependencies
  3. Set environment variables
  4. Run the setup test

What it can do on your machine

Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python and JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    Also links to:

    • browserbase.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • BROWSERBASE_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Browserbase Sessions loads about 6k tokens when it runs, and up to ~6.6k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 1,575 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 1,575 words, ~5,981 tokens.

Download SKILL.mdSave it as .claude/skills/browserbase-sessions/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
browserbase-sessions
description
Create and manage persistent Browserbase cloud browser sessions with authentication persistence. Use when you need to automate browsers, maintain logged-in sessions across interactions, scrape authenticated pages, or manage cloud browser instances.
license
MIT
homepage
https://docs.browserbase.com
metadata.author
custom
metadata.version
2.5.0

Browserbase Sessions Skill

Manage persistent cloud browser sessions via Browserbase. This skill creates browser sessions that preserve authentication (cookies, local storage) across interactions, automatically solve CAPTCHAs, and record sessions for later review.

Agent Checklist (Be Proactive)

  • If BROWSERBASE_API_KEY or BROWSERBASE_PROJECT_ID is missing, ask the user for them (and tell them where to find them). Do not run Browserbase commands until both are configured.
  • If commands fail due to missing Python deps (ImportError for browserbase / playwright), run:
    • python3 {baseDir}/scripts/browserbase_manager.py install
    • Then retry the original command.
  • Ask the user what they want to persist and how they want to organize it:
    • Workspace per app/site (isolation): github, slack, stripe
    • Workspace per task/project (multi-site workflow): invoice-run, lead-gen, expense-recon
  • Workspaces persist:
    • Login state via Browserbase Contexts (cookies + storage)
    • Open tabs (URL + title snapshot) so you can restore where you left off
  • Prefer workspace commands (create-workspace, start-workspace, resume-workspace, stop-workspace) over raw session commands when the user wants the browser to stay open across chat turns.
  • Prefer direct interaction commands (list-tabs, new-tab, switch-tab, close-tab, click, type, press, wait-for, go-back, go-forward, reload, read-page) before falling back to execute-js.
  • If a workspace/session has a pending_handoff, check it first before doing anything else:
    • python3 {baseDir}/scripts/browserbase_manager.py handoff --action check --workspace <ws>
    • If not done, resend suggested_user_message and stop.
  • Whenever a browser is opened (start-workspace, resume-workspace, or create-session), immediately share the human remote-control link:
    • Prefer human_handoff.share_url from command output.
    • Prefer human_handoff.share_text / human_handoff.share_markdown when replying to the user.
    • Fallback to human_control_url.
    • If missing, run live-url and share its human_handoff.share_url.
  • When you need the user to perform a manual step (SSO/MFA/captcha/consent screens), use a handoff with a completion check:
    • Set: python3 {baseDir}/scripts/browserbase_manager.py handoff --action set --workspace <ws> --instructions "<what to do>" --url-contains "<post-step url fragment>" (or --selector/--text/--cookie-name/...)
    • Verify later: python3 {baseDir}/scripts/browserbase_manager.py handoff --action check --workspace <ws> (or --action wait)
  • When closing, use stop-workspace (not terminate-session) so tabs are snapshotted and auth state is persisted.

Prompt-Optimized Response Patterns

Use short, consistent responses so users always know next actions.

When credentials are missing:

text
I need your Browserbase credentials before I can open a browser.
Please provide:
1) BROWSERBASE_API_KEY
2) BROWSERBASE_PROJECT_ID

When browser is opened (session/workspace):

text
Browser is ready.
<human_handoff.share_text>
I can keep working while you browse.

When resuming an existing workspace:

text
Reconnected to your existing workspace.
<human_handoff.share_text>

When a human step is required (SSO/MFA/consent screens):

text
I need you to do one step in the live browser:
1) <exact steps>

Open: <human_handoff.share_url>
Stop when you reach: <a specific completion state (URL contains / selector visible)>.
I’ll detect it and continue automatically. If I don’t, reply “done” and I’ll re-check.

When live URL is temporarily unavailable:

text
The remote-control URL is temporarily unavailable. I’ll retry now.

First-Time Setup

Step 1 — Get your Browserbase credentials
  1. Sign up at browserbase.com if you haven't already.
  2. Go to Settings → API Keys and copy your API key (starts with bb_live_).
  3. Go to Settings → Project and copy your Project ID (a UUID).

If you have the API key but aren’t sure which Project ID to use, you can list projects:

bash
export BROWSERBASE_API_KEY="bb_live_your_key_here"
python3 {baseDir}/scripts/browserbase_manager.py list-projects
Step 2 — Install dependencies

Install Python deps and Playwright Chromium (recommended):

bash
python3 {baseDir}/scripts/browserbase_manager.py install

Manual alternative (pip/uv):

bash
cd {baseDir}/scripts && pip install -r requirements.txt
python3 -m playwright install chromium
Step 3 — Set environment variables
bash
export BROWSERBASE_API_KEY="bb_live_your_key_here"
export BROWSERBASE_PROJECT_ID="your-project-uuid-here"

Or configure via OpenClaw's skills.entries["browserbase-sessions"].env in ~/.openclaw/openclaw.json (JSON5). Because this skill sets primaryEnv: BROWSERBASE_API_KEY, you can also use skills.entries["browserbase-sessions"].apiKey for the API key:

json5
{
  skills: {
    entries: {
      "browserbase-sessions": {
        enabled: true,
        apiKey: "bb_live_your_key_here",
        env: {
          BROWSERBASE_PROJECT_ID: "your-project-uuid-here"
        }
      }
    }
  }
}
Step 4 — Run the setup test

This validates everything end-to-end (credentials, SDK, Playwright, API connection, and a live smoke test):

bash
python3 {baseDir}/scripts/browserbase_manager.py setup --install

You should see "status": "success" with all steps passing. If any step fails, the error message tells you exactly what to fix.

Defaults

Every session is created with these defaults to support research workflows:

  • Captcha solving: ON — Browserbase automatically solves CAPTCHAs so login flows and protected pages work without manual intervention. Disable with --no-solve-captchas.
  • Session recording: ON — Browserbase records sessions (video in the Dashboard; rrweb events retrievable via API). Disable with --no-record.
  • Session logging: ON — Browserbase captures session logs retrievable via API. Disable with --no-logs.
  • Auth persistence — If you use a Context (or Workspace), auth state is persisted by default. Disable persistence with --no-persist.

Capabilities & Limitations (Be Explicit)

The agent can:

  • Create/inspect/terminate Browserbase sessions and contexts.
  • Keep a browser “open” across chat turns using workspaces (keep-alive sessions + restore tabs).
  • Persist login state across sessions via Browserbase Contexts (persist=true).
  • Restore your place by reopening the last saved set of open tabs (URL + title snapshot).
  • Provide a live debugger URL so the user can browse manually while the agent continues working.
  • Use interactive browser controls: list/open/switch/close tabs, click/type/press keys, wait for selectors/text/url states, go back/forward/reload, and read page text/html/links.
  • Take screenshots, run JavaScript, read cookies, fetch logs, and fetch rrweb recording events.

The agent cannot:

  • Keep sessions running indefinitely (Browserbase enforces timeouts; max is 6 hours).
  • Restore full back/forward browser history (only open URLs are restored).
  • Passively “watch” what the user is doing in the live debugger. To detect human actions, the agent must reconnect and check for specific completion conditions (selector/text/url/cookie/storage) using handoff or wait-for.
  • Bypass MFA/SSO without user participation.
  • Download the Dashboard video via API (the API returns rrweb events, not a video file).

Available Commands

All commands are run via the manager script:

bash
python3 {baseDir}/scripts/browserbase_manager.py <command> [options]
Setup & Validation

Install deps (only needed once per environment):

bash
python3 {baseDir}/scripts/browserbase_manager.py install

Run the full setup test:

bash
python3 {baseDir}/scripts/browserbase_manager.py setup --install

Workspaces are the recommended way to keep a browser "open" while chatting and then pick up later. A workspace combines:

  • A Browserbase Context (persists cookies + local/session storage, so you stay logged in)
  • A local tab snapshot (URLs + titles) so tabs can be restored into the next session (note: this restores open URLs, not full back/forward browser history)
  • The current active session id so the agent can reconnect
Task workspaces (multi-site flows)

A single Browserbase Context is a browser profile, so it can keep you logged into multiple sites at once. For workflows like “do something on Site A, then do something on Site B”, create a task workspace and keep both sites open as tabs:

bash
python3 {baseDir}/scripts/browserbase_manager.py create-workspace --name invoice-run
python3 {baseDir}/scripts/browserbase_manager.py start-workspace --name invoice-run --timeout 21600
python3 {baseDir}/scripts/browserbase_manager.py live-url --workspace invoice-run

If you need account/cookie isolation (different logins, fewer cross-site side effects), use separate workspaces per app/site instead.

Create and start a workspace:

bash
python3 {baseDir}/scripts/browserbase_manager.py create-workspace --name github
python3 {baseDir}/scripts/browserbase_manager.py list-workspaces
python3 {baseDir}/scripts/browserbase_manager.py start-workspace --name github --timeout 21600
# Share this field with the user immediately:
# human_handoff.share_url (fallback: human_control_url / live_urls.debugger_url)

Note: start-workspace performs a short “warm connect” via Playwright so the session doesn’t die from the 5-minute connect requirement, even if the user hasn’t opened the live debugger yet.

While the user is browsing in the live debugger, the agent can keep working. To resume later:

bash
python3 {baseDir}/scripts/browserbase_manager.py resume-workspace --name github

For long-running sessions (especially when the user is opening/closing tabs manually), take snapshots periodically:

bash
python3 {baseDir}/scripts/browserbase_manager.py snapshot-workspace --name github

To persist login + tabs when you are done, always stop via the workspace command:

bash
python3 {baseDir}/scripts/browserbase_manager.py stop-workspace --name github

To inspect what a workspace has saved (context id, active session id, tabs, history):

bash
python3 {baseDir}/scripts/browserbase_manager.py get-workspace --name github

Most commands accept --workspace <name> instead of --session-id:

bash
python3 {baseDir}/scripts/browserbase_manager.py navigate --workspace github --url "https://github.com/settings/profile"
python3 {baseDir}/scripts/browserbase_manager.py screenshot --workspace github --output /tmp/profile.png
python3 {baseDir}/scripts/browserbase_manager.py execute-js --workspace github --code "document.title"
Show full SKILL.md (568 more words)Show less
Context Management (for authentication persistence)

Create a named context to store login state:

bash
python3 {baseDir}/scripts/browserbase_manager.py create-context --name github

List all saved contexts:

bash
python3 {baseDir}/scripts/browserbase_manager.py list-contexts

Delete a context (by name or ID):

bash
python3 {baseDir}/scripts/browserbase_manager.py delete-context --context-id github
Session Lifecycle

Create a new session (captcha solving, recording, and logging enabled by default):

bash
# Basic session
python3 {baseDir}/scripts/browserbase_manager.py create-session

# Session with saved context (persist=true by default when a context is used)
python3 {baseDir}/scripts/browserbase_manager.py create-session --context-id github

# Keep-alive session for long research (survives disconnections)
python3 {baseDir}/scripts/browserbase_manager.py create-session --context-id github --keep-alive --timeout 3600

# Full options
python3 {baseDir}/scripts/browserbase_manager.py create-session \
  --context-id github \
  --keep-alive \
  --timeout 3600 \
  --region us-west-2 \
  --proxy \
  --block-ads \
  --viewport-width 1280 \
  --viewport-height 720

List all sessions:

bash
python3 {baseDir}/scripts/browserbase_manager.py list-sessions
python3 {baseDir}/scripts/browserbase_manager.py list-sessions --status RUNNING

Get session details:

bash
python3 {baseDir}/scripts/browserbase_manager.py get-session --session-id <id>

Terminate a session:

bash
python3 {baseDir}/scripts/browserbase_manager.py terminate-session --session-id <id>
Browser Automation

Navigate to a URL:

bash
# Navigate and get page title
python3 {baseDir}/scripts/browserbase_manager.py navigate --session-id <id> --url "https://example.com"

# Navigate and extract text
python3 {baseDir}/scripts/browserbase_manager.py navigate --session-id <id> --url "https://example.com" --extract-text

# Navigate and save screenshot
python3 {baseDir}/scripts/browserbase_manager.py navigate --session-id <id> --url "https://example.com" --screenshot /tmp/page.png

# Navigate and take full-page screenshot
python3 {baseDir}/scripts/browserbase_manager.py navigate --session-id <id> --url "https://example.com" --screenshot /tmp/full.png --full-page

Manage tabs:

bash
python3 {baseDir}/scripts/browserbase_manager.py list-tabs --session-id <id>
python3 {baseDir}/scripts/browserbase_manager.py new-tab --session-id <id> --url "https://example.org"
python3 {baseDir}/scripts/browserbase_manager.py switch-tab --session-id <id> --tab-index 1
python3 {baseDir}/scripts/browserbase_manager.py close-tab --session-id <id> --tab-url-contains "example.org"

Interact with the page:

bash
python3 {baseDir}/scripts/browserbase_manager.py click --session-id <id> --selector "button[type='submit']"
python3 {baseDir}/scripts/browserbase_manager.py type --session-id <id> --selector "input[name='email']" --text "user@example.com" --clear
python3 {baseDir}/scripts/browserbase_manager.py press --session-id <id> --key "Enter"
python3 {baseDir}/scripts/browserbase_manager.py wait-for --session-id <id> --selector ".dashboard-ready" --timeout-ms 45000

Control navigation state:

bash
python3 {baseDir}/scripts/browserbase_manager.py go-back --session-id <id>
python3 {baseDir}/scripts/browserbase_manager.py go-forward --session-id <id>
python3 {baseDir}/scripts/browserbase_manager.py reload --session-id <id>

Read the current page:

bash
python3 {baseDir}/scripts/browserbase_manager.py read-page --session-id <id> --max-text-chars 20000
python3 {baseDir}/scripts/browserbase_manager.py read-page --session-id <id> --include-links --max-links 30
python3 {baseDir}/scripts/browserbase_manager.py read-page --session-id <id> --include-html --max-html-chars 120000

Take a screenshot of the current page (without navigating):

bash
python3 {baseDir}/scripts/browserbase_manager.py screenshot --session-id <id> --output /tmp/current.png
python3 {baseDir}/scripts/browserbase_manager.py screenshot --session-id <id> --output /tmp/full.png --full-page

Execute JavaScript:

bash
python3 {baseDir}/scripts/browserbase_manager.py execute-js --session-id <id> --code "document.title"

Get cookies:

bash
python3 {baseDir}/scripts/browserbase_manager.py get-cookies --session-id <id>

All of the commands above also support --workspace <name> so the active workspace session is used automatically.

Recordings, Logs & Debug

Fetch rrweb recording events (session must be terminated first):

bash
python3 {baseDir}/scripts/browserbase_manager.py get-recording --session-id <id> --output /tmp/session.rrweb.json

Download files saved during the session (archive):

bash
python3 {baseDir}/scripts/browserbase_manager.py get-downloads --session-id <id> --output /tmp/downloads.zip

Get session logs:

bash
python3 {baseDir}/scripts/browserbase_manager.py get-logs --session-id <id>

Get the live debug URL (for visual inspection of a running session):

bash
python3 {baseDir}/scripts/browserbase_manager.py live-url --session-id <id>
# Share: human_handoff.share_url
Human Handoff (Manual Steps)

Use handoff when the user must do something manually (SSO/MFA/consent screens) and you want to detect completion and resume automatically.

Completion checks (pick the most reliable signal you can):

  • Prefer --url-contains for post-login destinations (e.g. /dashboard, /app, /settings).
  • Use --selector when the URL doesn’t change (SPAs).
  • Use --cookie-name, --local-storage-key, --session-storage-key only when you know a stable auth indicator.

Combining checks:

  • Default is --match all (AND): all provided checks must be true.
  • Use --match any (OR) when you want multiple fallback signals (e.g., URL contains /dashboard OR selector .dashboard-ready).

Set a handoff (store the instructions + completion check):

bash
python3 {baseDir}/scripts/browserbase_manager.py handoff \
  --action set \
  --workspace myapp \
  --instructions "Log in and stop on the dashboard." \
  --url-contains "/dashboard"

Fallback example (any-of):

bash
python3 {baseDir}/scripts/browserbase_manager.py handoff \
  --action set \
  --workspace myapp \
  --instructions "Complete login and stop on the dashboard." \
  --url-contains "/dashboard" \
  --selector ".dashboard-ready" \
  --match any

Tip: handoff --action set returns suggested_user_message.text / suggested_user_message.markdown so you can paste a consistent “hey human do this” message (with the live debugger URL) to the user.

Later, verify once:

bash
python3 {baseDir}/scripts/browserbase_manager.py handoff --action check --workspace myapp

Or wait up to 5 minutes (default) for completion:

bash
python3 {baseDir}/scripts/browserbase_manager.py handoff --action wait --workspace myapp

Common Workflows

Workflow 1: Multi-session research with persistent login
bash
# 1. One-time: create a workspace for the site (creates a Browserbase Context + local state)
python3 {baseDir}/scripts/browserbase_manager.py create-workspace --name myapp

# 2. Start a keep-alive session (tabs restored from last snapshot, login persisted via context)
python3 {baseDir}/scripts/browserbase_manager.py start-workspace --name myapp --timeout 3600

# 3. Open the live debugger URL so the user can log in / browse while you keep chatting
python3 {baseDir}/scripts/browserbase_manager.py live-url --workspace myapp

# 4. Do research, take screenshots (workspace auto-tracks tabs + history)
python3 {baseDir}/scripts/browserbase_manager.py navigate --workspace myapp --url "https://myapp.com/dashboard" --extract-text
python3 {baseDir}/scripts/browserbase_manager.py screenshot --workspace myapp --output /tmp/dashboard.png

# 5. When done: stop-workspace snapshots tabs + persists auth state back to the context
python3 {baseDir}/scripts/browserbase_manager.py stop-workspace --name myapp

# 6. Later: resume and pick up where you left off
python3 {baseDir}/scripts/browserbase_manager.py resume-workspace --name myapp
Workflow 1b: Task workflow across multiple sites (persist tabs + logins)
bash
# 1) Create a task workspace (one browser profile that can stay logged into multiple sites)
python3 {baseDir}/scripts/browserbase_manager.py create-workspace --name lead-gen

# 2) Start it and open the live debugger so the user can log in on both sites
python3 {baseDir}/scripts/browserbase_manager.py start-workspace --name lead-gen --timeout 21600
python3 {baseDir}/scripts/browserbase_manager.py live-url --workspace lead-gen

# 3) Agent can navigate and capture state while you chat (tabs snapshot includes both Site A and Site B)
python3 {baseDir}/scripts/browserbase_manager.py navigate --workspace lead-gen --url "https://site-a.example.com" --extract-text
python3 {baseDir}/scripts/browserbase_manager.py navigate --workspace lead-gen --url "https://site-b.example.com" --extract-text

# 4) If the user is manually opening/closing tabs in the debugger, snapshot occasionally:
python3 {baseDir}/scripts/browserbase_manager.py snapshot-workspace --name lead-gen

# 5) Stop to persist auth + tabs snapshot
python3 {baseDir}/scripts/browserbase_manager.py stop-workspace --name lead-gen
Workflow 2: Screenshot documentation
bash
python3 {baseDir}/scripts/browserbase_manager.py create-session
python3 {baseDir}/scripts/browserbase_manager.py navigate --session-id <id> --url "https://docs.example.com" --screenshot /tmp/docs_home.png
python3 {baseDir}/scripts/browserbase_manager.py navigate --session-id <id> --url "https://docs.example.com/api" --screenshot /tmp/docs_api.png --full-page
python3 {baseDir}/scripts/browserbase_manager.py terminate-session --session-id <id>
Workflow 3: Record and share a walkthrough
bash
# Session recording is ON by default
python3 {baseDir}/scripts/browserbase_manager.py create-session --context-id myapp
# ... do your walkthrough (navigate, click, etc.) ...
python3 {baseDir}/scripts/browserbase_manager.py terminate-session --session-id <id>
# Save rrweb recording events
# (Video is available in the Browserbase Dashboard; this fetches rrweb events)
python3 {baseDir}/scripts/browserbase_manager.py get-recording --session-id <id> --output /tmp/walkthrough.rrweb.json

Important Notes

  • Captcha solving is ON by default. Browserbase handles CAPTCHAs automatically during login flows and page loads. Use --no-solve-captchas to disable.
  • Recording is ON by default. Video is available in the Browserbase Dashboard; get-recording fetches rrweb events (primary tab) for programmatic replay. Use --no-record to disable.
  • Logging is ON by default. Use get-logs to retrieve logs; disable with --no-logs.
  • Connection timeout: 5 minutes to connect after creation before auto-termination.
  • Keep-alive sessions survive disconnections and must be explicitly terminated.
  • Context persistence: When a session was created with a context using persist=true (default), wait a few seconds after termination before creating a new session with the same context.
  • Named contexts: Use --name with create-context to save friendly names (e.g. github, slack). Use the name anywhere a context ID is expected.
  • Workspace state: Workspaces are stored locally under ~/.browserbase/workspaces/<name>.json (or BROWSERBASE_CONFIG_DIR/workspaces). They include the context id, active session id, and the last saved tab snapshot.
  • One context per site: Use separate contexts for different authenticated sites.
  • Avoid concurrent sessions on the same context.
  • Regions: us-west-2 (default), us-east-1, eu-central-1, ap-southeast-1.
  • Session timeout: 60–21600 seconds (max 6 hours).
  • Costs/limits: Your Browserbase plan has limits (browser hours, proxy data, concurrency). Keep-alive sessions consume hours while running; terminate sessions and set reasonable --timeout values to control cost. Check your Browserbase dashboard for current quotas.

Error Handling

All commands return JSON output. On error, the output includes an "error" key. Common errors:

  • APIConnectionError: Browserbase API unreachable
  • RateLimitError: Too many concurrent sessions for your plan
  • APIStatusError: Invalid parameters or authentication failure
  • Missing env vars: Set BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID

Reference

For full API details, read {baseDir}/references/api-quick-ref.md.

© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts, references) in skills/browserbase-sessions of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • CHANGELOG.md
  • README.md
  • _meta.json
  • package.json
  • pnpm-lock.yaml
  • references/api-quick-ref.md
  • scripts/browserbase_manager.py
  • scripts/dedication_automation.mjs
  • scripts/requirements.txt

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Browserbase Sessions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Browserbase Sessions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Browserbase Sessions this skillLeoYeAI/openclaw-master-skills2.2k—~6kAutomated safety check: PassMIT
ScraplingTommy-yw/RunbookHermes5464 repos~2.3kAutomated safety check: PassMIT
Brightdata SDKbrightdata/skills264—~5.2kAutomated safety check: PassMIT
Airbnb Listing Detail Fetcherbrowser-act/skills6.1k—~1.4kAutomated safety check: PassMIT
Image ScraperaAAaqwq/AGI-Super-Team105—~914Automated safety check: PassMIT
Firecrawl Interact Integrationfirecrawl/firecrawl190k1 repos~731Automated safety check: PassISC

Similar skills

  • Scrapling

    Tommy-yw/RunbookHermes

    Web scraping with Scrapling - HTTP fetching, stealth browser automation, Cloudflare bypass, and spider crawling via CLI and Python.

    546 GitHub starsUsed in 4 repos~2.3k tokens
    Data & AnalyticsAuto-check passed
  • Brightdata SDK

    brightdata/skills

    Web data extraction and discovery using the Bright Data Python SDK.

    264 GitHub stars~5.2k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Fetches full Airbnb listing details for a numeric listing ID, including amenities, photos, house rules and ratings, through the site's internal GraphQL API.

    6.1k GitHub stars~1.4k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Image Scraper

    aAAaqwq/AGI-Super-Team

    Scrape and download all images from a given URL. An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub stars~914 tokensUpdated 11 days ago
    Productivity & AutomationAuto-check passed
  • Guides adding Firecrawl's /interact endpoint to product code for pages that need clicks, forms, pagination or logged-in flows beyond plain scraping.

    190k GitHub starsUsed in 1 repo~731 tokens
    Data & AnalyticsAuto-check passed
  • Skyvern Browser Automation

    Skyvern-AI/skyvern

    Automates websites with Skyvern's AI browser agent to fill forms, extract data, download files, log in and run multi-step workflows through SDKs, REST, MCP or a CLI.

    23k GitHub stars~1.9k tokensUpdated today
    Productivity & AutomationAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 972 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Browserbase Sessions

What does Browserbase Sessions do?

Create and manage persistent Browserbase cloud browser sessions with authentication persistence. Browserbase Sessions is an agent skill from LeoYeAI/openclaw-master-skills. Create and manage persistent Browserbase cloud browser sessions with authentication persistence.

When should I use Browserbase Sessions?

Browserbase Sessions fits situations like: you need to automate browsers; maintain logged-in sessions across interactions; scrape authenticated pages; manage cloud browser instances.

How do I install Browserbase Sessions in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill browserbase-sessions -a claude-code`. Or copy the skill folder (skills/browserbase-sessions in LeoYeAI/openclaw-master-skills) into .claude/skills/browserbase-sessions in your project. Claude Code loads it when a task matches its description.

How do I install Browserbase Sessions in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill browserbase-sessions -a codex`. Or copy the skill folder (skills/browserbase-sessions in LeoYeAI/openclaw-master-skills) into .agents/skills/browserbase-sessions in your project. Codex loads it when a task matches its description.

Can I use Browserbase Sessions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill browserbase-sessions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/browserbase-sessions, .gemini/skills/browserbase-sessions, .github/skills/browserbase-sessions and .opencode/skills/browserbase-sessions in your project.

What does Browserbase Sessions need to run?

Going by SKILL.md and its folder, Browserbase Sessions needs Python and JavaScript for the scripts in its folder, the command-line tools its instructions call (python3 and pip) and credentials named BROWSERBASE_API_KEY. Our summary lists: Python 3; Node.js; A credential in BROWSERBASE_API_KEY.

Does Browserbase Sessions access the network?

SKILL.md names 2 domains. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. As links in the text: browserbase.com. This is read from the text; nothing was executed.

Is Browserbase Sessions safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Browserbase Sessions use?

Browserbase Sessions is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Browserbase Sessions use?

About 6k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 580 tokens, read only when the agent opens those files.

What are the alternatives to Browserbase Sessions?

Skills that share tags, products or a category with Browserbase Sessions: Scrapling (Tommy-yw/RunbookHermes, 546 stars), Brightdata SDK (brightdata/skills, 264 stars), Airbnb Listing Detail Fetcher (browser-act/skills, 6.1k stars) and Image Scraper (aAAaqwq/AGI-Super-Team, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Browserbase Sessions?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,159 GitHub stars. The repository holds 972 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.