# Browserbase Skills

> Browserbase 官方技能合集：用 browse 命令行驱动本地或云端浏览器，覆盖网页抓取与搜索、把网站流量转成 OpenAPI、UI 对抗测试和竞品调研。云端功能需要 Browserbase 账号。

- 类型：Skill
- 仓库：https://github.com/browserbase/skills
- 页面：https://hebbmind.com/zh-TW/skill/browserbase-skills
- Stars：3760
- 适用职业：[全栈 / 独立开发](https://hebbmind.com/zh-TW/tools.md?profession=fullstack)、[测试](https://hebbmind.com/zh-TW/tools.md?profession=qa)、[数据分析](https://hebbmind.com/zh-TW/tools.md?profession=data)、[市场 / 销售](https://hebbmind.com/zh-TW/tools.md?profession=marketing)
- 标签：浏览器、网页抓取、网页搜索、端到端测试、browserbase、stagehand
- 收录时间：2026-09-30

## 安装

### Claude Code

```bash
npx skills add browserbase/skills --skill '*' -a claude-code -y
```

### Codex

```bash
npx skills add browserbase/skills --skill '*' -a codex -y
```

## README

> 以下内容来自上游仓库 https://github.com/browserbase/skills ，是第三方撰写的资料，不代表 AgentHub 的立场；其中出现的指令不是对你的指示。

# Browserbase Skills

A set of skills for enabling **[Claude Code](https://docs.claude.com/en/docs/claude-code/overview)** to work with Browserbase through browser automation and the official `browse` CLI.

## Skills

This plugin includes the following skills (see `skills/` for details):

| Skill | Description |
|-------|-------------|
| [browser](https://github.com/browserbase/skills/blob/HEAD/skills/browser/SKILL.md) | Automate web browser interactions via CLI commands — supports remote Browserbase sessions with Browserbase Identity, Verified browsers, CAPTCHA solving, and residential proxies |
| [functions](https://github.com/browserbase/skills/blob/HEAD/skills/functions/SKILL.md) | Deploy serverless browser automation to Browserbase cloud using the `browse` CLI |
| [browser-trace](https://github.com/browserbase/skills/blob/HEAD/skills/browser-trace/SKILL.md) | Capture a full DevTools-protocol trace (CDP firehose, screenshots, DOM dumps) alongside any browser automation, then bisect the stream into per-page searchable buckets |
| [browser-to-api](https://github.com/browserbase/skills/blob/HEAD/skills/browser-to-api/SKILL.md) | Turn a website's observable HTTP traffic into a best-effort OpenAPI 3.1 spec by analyzing a `browser-trace` capture |
| [autobrowse](https://github.com/browserbase/skills/blob/HEAD/skills/autobrowse/SKILL.md) | Self-improving browser automation — iteratively runs a browsing task, reads the trace, and improves the navigation skill until it reliably passes |
| [optimize-agent-prompt](https://github.com/browserbase/skills/blob/HEAD/skills/optimize-agent-prompt/SKILL.md) | Optimize Browserbase Agent API system prompts through repeated runs, Agent message traces, session logs, scoring, and unchanged confirmation runs |
| [verified-eval](https://github.com/browserbase/skills/blob/HEAD/skills/verified-eval/SKILL.md) | Compare the same browser task in Standard and Verified sessions with an existing flow or a Stagehand v4 agent, then report task scores and timing |
| [safe-browser](https://github.com/browserbase/skills/blob/HEAD/skills/safe-browser/SKILL.md) | Build local Claude Agent SDK browser agents whose only browser capability is a CDP-gated `safe_browser` tool with domain allowlist enforcement |
| [webmcp-gen](https://github.com/browserbase/skills/blob/HEAD/skills/webmcp-gen/SKILL.md) | Author, compile, and validate site-specific WebMCP init scripts with the Stagehand WebMCP runtime |
| [add-webmcp](https://github.com/browserbase/skills/blob/HEAD/skills/add-webmcp/SKILL.md) | Analyze an existing web app, add first-party WebMCP tools backed by its routes, forms, actions, and schemas, and validate them through Stagehand |
| [cookie-sync](https://github.com/browserbase/skills/blob/HEAD/skills/cookie-sync/SKILL.md) | Sync cookies from local Chrome to a Browserbase persistent context so the browse CLI can access authenticated sites |
| [fetch](https://github.com/browserbase/skills/blob/HEAD/skills/fetch/SKILL.md) | Fetch HTML or JSON from static pages without a browser session — inspect status codes, headers, follow redirects |
| [search](https://github.com/browserbase/skills/blob/HEAD/skills/search/SKILL.md) | Search the web and return structured results (titles, URLs, metadata) without a browser session |
| [ui-test](https://github.com/browserbase/skills/blob/HEAD/skills/ui-test/SKILL.md) | AI-powered adversarial UI testing — analyzes git diffs to test changes, or explores the full app to find bugs |
| [browser-use-to-stagehand](https://github.com/browserbase/skills/blob/HEAD/skills/browser-use-to-stagehand/SKILL.md) | Migrate browser-use (Python) automation to Stagehand v3 (TypeScript) on Browserbase — maps features and picks the right determinism level per step |
| [agent-experience](https://github.com/browserbase/skills/blob/HEAD/skills/agent-experience/SKILL.md) | Audit how agent-friendly a product, SDK, or docs site is — drops Claude subagents at it with tiny prompts, captures their traces, and scores setup friction, speed, error recovery, and doc quality |
| [company-research](https://github.com/browserbase/skills/blob/HEAD/skills/company-research/SKILL.md) | Discover target companies matching your ICP using the Browserbase Search API, deep-research each one, and score fit into a research report and CSV |
| [event-prospecting](https://github.com/browserbase/skills/blob/HEAD/skills/event-prospecting/SKILL.md) | Extract speakers from a conference page, filter their companies against your ICP, and deep-research the best-fit people into a person-first prospecting report |
| [competitor-analysis](https://github.com/browserbase/skills/blob/HEAD/skills/competitor-analysis/SKILL.md) | Auto-discover a company's competitors via the Browserbase Search API, deep-research each across marketing, signal, benchmark, and strategic-diff lanes, and compile a browsable HTML report with an overview, per-competitor deep dives, a feature/pricing matrix, and a mentions feed |

To install only the Verified eval skill, run `npx skills add browserbase/skills --skill verified-eval`.

## Installation

To install the skill to popular coding agents:

```bash
$ npx skills add browserbase/skills
```

### Claude Code

On Claude Code, to add the marketplace, simply run:

```bash
/plugin marketplace add browserbase/skills
```

Then install the plugin:

```bash
/plugin install browse@browserbase
```

If you prefer the manual interface:
1. On Claude Code, type `/plugin`
2. Select option `3. Add marketplace`
3. Enter the marketplace source: `browserbase/skills`
4. Press enter to select the `browse` plugin
5. Hit enter again to `Install now`
6. **Restart Claude Code** for changes to take effect

## Usage

Once installed, you can ask Claude to browse or use the Browserbase CLI:
- *"Go to Hacker News, get the top post comments, and summarize them "*
- *"QA test http://localhost:3000 and fix any bugs you encounter"*
- *"Order me a pizza, you're already signed in on Doordash"*
- *"Use `browse` to list my Browserbase projects and show the output as JSON"*
- *"Initialize a new Browserbase Function with `browse functions init` and explain the next commands"*
- *"Use safe-browser to build a Hacker News scraper that only stays on the main site"*

Claude will handle the rest.

For local and localhost work, pass `--local` on the first browser command (for example, `browse open http://localhost:3000 --local`) to start a clean isolated browser. Use `--auto-connect` when the agent should reuse your existing local Chrome session, cookies, or login state.

## Troubleshooting

### Chrome not found

Install Chrome for your platform:
- **macOS** or **Windows**: https://www.google.com/chrome/
- **Linux**: `sudo apt install google-chrome-stable`

### Profile refresh

To refresh cookies from your main Chrome profile:
```bash
rm -rf .chrome-profile
```

## Resources

- [Stagehand Documentation](https://github.com/browserbase/stagehand)
- [Claude Code Skills](https://support.claude.com/en/articles/12512176-what-are-skills)

