Create and manage persistent Browserbase cloud browser sessions with authentication persistence. Use when you need to automate browsers, maintain logged-in s...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install browserbase-sessions或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install browserbase-sessions⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/browserbase-sessions/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- 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","version":"2.5.0","openclaw":{"emoji":"🌐","requires":{"bins":["python3"]},"primaryEnv":"BROWSERBASE_API_KEY"}} ---
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.
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.browserbase / playwright), run: - python3 {baseDir}/scripts/browserbase_manager.py install - Then retry the original command.
- Workspace per app/site (isolation): github, slack, stripe - Workspace per task/project (multi-site workflow): invoice-run, lead-gen, expense-recon
- Login state via Browserbase Contexts (cookies + storage) - Open tabs (URL + title snapshot) so you can restore where you left off
create-workspace, start-workspace, resume-workspace, stop-workspace) over raw session commands when the user wants the browser to stay open across chat turns.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.pending_handoff, check it first before doing anything else: - python3 {baseDir}/scripts/browserbase_manager.py handoff --action check --workspace - If not done, resend suggested_user_message and stop.
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.
- Set: python3 {baseDir}/scripts/browserbase_manager.py handoff --action set --workspace (or --selector/--text/--cookie-name/...) - Verify later: python3 {baseDir}/scripts/browserbase_manager.py handoff --action check --workspace (or --action wait)
stop-workspace (not terminate-session) so tabs are snapshotted and auth state is persisted.Use short, consistent responses so users always know next actions.
When credentials are missing:
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):
Browser is ready.
<human_handoff.share_text>
I can keep working while you browse.
When resuming an existing workspace:
Reconnected to your existing workspace.
<human_handoff.share_text>
When a human step is required (SSO/MFA/consent screens):
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:
The remote-control URL is temporarily unavailable. I’ll retry now.
bb_live_).If you have the API key but aren’t sure which Project ID to use, you can list projects:
export BROWSERBASE_API_KEY="bb_live_your_key_here"
python3 {baseDir}/scripts/browserbase_manager.py list-projects
Install Python deps and Playwright Chromium (recommended):
python3 {baseDir}/scripts/browserbase_manager.py install
Manual alternative (pip/uv):
cd {baseDir}/scripts && pip install -r requirements.txt
python3 -m playwright install chromium
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:
{
skills: {
entries: {
"browserbase-sessions": {
enabled: true,
apiKey: "bb_live_your_key_here",
env: {
BROWSERBASE_PROJECT_ID: "your-project-uuid-here"
}
}
}
}
}
This validates everything end-to-end (credentials, SDK, Playwright, API connection, and a live smoke test):
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.
Every session is created with these defaults to support research workflows:
--no-solve-captchas.--no-record.--no-logs.--no-persist.The agent can:
persist=true)....
安装 browserbase-sessions 后,可以对 AI 说这些话来触发它
Help me get started with browserbase-sessions
Explains what browserbase-sessions does, walks through the setup, and runs a quick demo based on your current project
Use browserbase-sessions to create and manage persistent Browserbase cloud browser sessions wit...
Invokes browserbase-sessions with the right parameters and returns the result directly in the conversation
What can I do with browserbase-sessions in my developer & devops workflow?
Lists the top use cases for browserbase-sessions, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/browserbase-sessions/ 目录(个人级,所有项目可用),或 .claude/skills/browserbase-sessions/(项目级)。重启 AI 客户端后,用 /browserbase-sessions 主动调用,或让 AI 根据上下文自动发现并使用。
browserbase-sessions 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
browserbase-sessions 可免费安装使用。请查阅仓库了解许可证信息。
Create and manage persistent Browserbase cloud browser sessions with authentication persistence. Use when you need to automate browsers, maintain logged-in s...
browserbase-sessions 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using browserbase-sessions
Identifies repetitive steps in your workflow and sets up browserbase-sessions to handle them automatically