browserbase-cli by browserbase/skills
npx skills add https://github.com/browserbase/skills --skill browserbase-cli使用官方的 bb CLI 进行 Browserbase 平台操作、Functions 工作流和 Fetch API 调用。
在使用 CLI 之前,请验证其是否已安装:
which bb || npm install -g @browserbasehq/cli
bb --help
对于需要身份验证的命令,请设置 API 密钥:
export BROWSERBASE_API_KEY="your_api_key"
如果使用 bb functions dev 或 bb functions publish,还需设置:
export BROWSERBASE_PROJECT_ID="your_project_id"
当用户想要执行以下操作时,请使用此技能:
bb 运行 Browserbase 命令广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
browser 技能。fetch 技能通常更合适。bb 为中心的工作流时,才使用 bb browse ...。bb functions 用于本地开发、打包、发布和调用bb sessions、bb projects、bb contexts、bb extensions 用于管理 Browserbase 平台资源bb fetch <url> 用于 Fetch API 请求bb search "<query>" 用于 Search API 请求bb browse ... 用于转发到独立的 browse 二进制文件(需要 @browserbasehq/browse-cli)bb skills install 用于为 Claude Code 安装 Browserbase 代理技能bb functions init my-function
cd my-function
bb functions dev index.ts
bb functions publish index.ts
bb functions invoke <function_id> --params '{"url":"https://example.com"}'
使用 bb functions invoke --check-status <invocation_id> 轮询现有调用,而不是创建新调用。
bb projects list
bb sessions get <session_id>
bb sessions downloads get <session_id> --output session-artifacts.zip
bb contexts create --body '{"region":"us-west-2"}'
bb extensions upload ./my-extension.zip
bb fetch https://example.com
bb fetch https://example.com --allow-redirects --output page.html
bb search "browser automation"
bb search "web scraping" --num-results 5
bb search "AI agents" --output results.json
bb --help 和子命令的 --help。bb fetch 和 bb search 命令上使用 --output <file> 将结果保存到文件。--body 或 --params 中传递结构化的请求体。bb functions ... 使用 --api-url,而平台 API 命令使用 --base-url。bb browse 因缺少 browse 而失败,请安装 @browserbasehq/browse-cli 或切换到 browser 技能。BROWSERBASE_API_KEY 或传递 --api-keybb functions dev 或 bb functions publish 上缺少项目 ID:设置 BROWSERBASE_PROJECT_ID 或传递 --project-id--help 重新运行相关命令,并使用确切的短横线命名法形式bb browse 安装错误:运行 npm install -g @browserbasehq/browse-cli有关逐命令参考和更多示例,请参阅 REFERENCE.md。
每周安装量
122
代码仓库
GitHub 星标数
461
首次出现
8 天前
安全审计
已安装于
kimi-cli119
gemini-cli119
github-copilot119
amp119
cline119
codex119
Use the official bb CLI for Browserbase platform operations, Functions workflows, and Fetch API calls.
Before using the CLI, verify it is installed:
which bb || npm install -g @browserbasehq/cli
bb --help
For authenticated commands, set the API key:
export BROWSERBASE_API_KEY="your_api_key"
If using bb functions dev or bb functions publish, also set:
export BROWSERBASE_PROJECT_ID="your_project_id"
Use this skill when the user wants to:
bbbrowser skill.fetch skill is often a better fit.bb browse ... only when the user explicitly wants the CLI wrapper or is already working in a bb-centric workflow.bb functions for local dev, packaging, publishing, and invocationbb sessions, bb projects, bb contexts, bb extensions for Browserbase platform resourcesbb fetch <url> for Fetch API requestsbb search "<query>" for Search API requestsbb browse ... to forward to the standalone browse binary (requires @browserbasehq/browse-cli)bb functions init my-function
cd my-function
bb functions dev index.ts
bb functions publish index.ts
bb functions invoke <function_id> --params '{"url":"https://example.com"}'
Use bb functions invoke --check-status <invocation_id> to poll an existing invocation instead of creating a new one.
bb projects list
bb sessions get <session_id>
bb sessions downloads get <session_id> --output session-artifacts.zip
bb contexts create --body '{"region":"us-west-2"}'
bb extensions upload ./my-extension.zip
bb fetch https://example.com
bb fetch https://example.com --allow-redirects --output page.html
bb search "browser automation"
bb search "web scraping" --num-results 5
bb search "AI agents" --output results.json
bb --help and subgroup --help before guessing flags.--output <file> on bb fetch and bb search to save results to a file.--body or --params.bb functions ... uses --api-url, while platform API commands use --base-url.BROWSERBASE_API_KEY or pass --api-keybb functions dev or bb functions publish: set BROWSERBASE_PROJECT_ID or pass --project-id--help and use the exact dash-case formbb browse install error: run npm install -g @browserbasehq/browse-cliFor command-by-command reference and more examples, see REFERENCE.md.
Weekly Installs
122
Repository
GitHub Stars
461
First Seen
8 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
kimi-cli119
gemini-cli119
github-copilot119
amp119
cline119
codex119
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
46,600 周安装
bb skills install to install Browserbase agent skills for Claude Codebb browse fails because browse is missing, either install @browserbasehq/browse-cli or switch to the browser skill.