Skip to content
Agentmart
Submit a tool

bb-browser

AI agent browser automation via CDP.

Skill by aAAaqwq

IndexedMIT★ 111
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aaaaqwq-bb-browser

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

AI agent browser automation via CDP. Use when you need to access websites that require login, scrape data from platforms (Twitter/X, Reddit, GitHub, Xueqiu, Bilibili, etc.), bypass IP blocks, or fetch structured data from any site the user is logged into. Triggers: bb-browser, browser fetch, login required, scrape, site data, twitter search, xueqiu, weibo, zhihu, bilibili, github data, cookie fetch, CDP, site adapter.

Use cases: data, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/bb-browser

What's inside

Skill name
bb-browser
Description
AI agent browser automation via CDP. Use when you need to access websites that require login, scrape data from platforms (Twitter/X, Reddit, GitHub, Xueqiu, Bilibili, etc.), bypass IP blocks, or fetch structured data from any site the user is logged into. Triggers: bb-browser, browser fetch, login required, scrape, site data, twitter search, xueqiu, weibo, zhihu, bilibili, github data, cookie fetch, CDP, site adapter.
License
MIT
Instructions
166 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Agent Skills spec issues

  • files: referenced but missing: scripts/twitter-scraper.py

Files (1)

  • SKILL.md

SKILL.md (first lines)

# bb-browser Skill

## Overview

bb-browser connects to your running Chrome via CDP (Chrome DevTools Protocol) and executes `fetch()` / JS in your logged-in tabs. No scraping, no API keys — your browser *is* the API.

**v0.11.6** | 143 community adapters | 36 platforms

## Prerequisites

1. Chrome must be running with remote debugging enabled:
   ```bash
   # macOS
   /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
   
   # Linux
   google-chrome --remote-debugging-port=9222
   
   # Or restart if already running:
   pkill chrome && sleep 1 && google-chrome --remote-debugging-port=9222 &
   ```
2. Verify: `bb-browser status` should show connected browsers.

## OpenClaw Integration

bb-browser supports `--openclaw` flag to use OpenClaw's built-in browser (no Chrome needed):
```bash
bb-browser site reddit/hot --openclaw
bb-browser site xueqiu/hot-stock 5 --openclaw --json
```

**重要**: bb-browser daemon连接的是OpenClaw的隔离Chrome(`/tmp/agent-browser-chrome-...`),
与OpenClaw browser tool的Chrome(`~/.openclaw/browser/openclaw/user-data`)是不同进程。

**Twitter/X特别说明**: Twitter的ct0 cookie是HTTP-only,bb-browser的JavaScript无法读取。
但OpenClaw browser tool(CDP协议)可以。Twitter数据抓取应使用专用脚本:
`scripts/twitter-scraper.py`(Playwright连接OpenClaw browser CDP)。

**架构**: bb-browser daemon → 端口9222 → 找到的第一个Chrome(含OpenClaw的)
**Playwright**: 直接连接 `http://127.0.0.1:18800` → OpenClaw browser

## Command Reference

### Data Fetching (Preferred — use `site` commands first)

```bash
# List all adapters
bb-browser site list

# Adapter info (params, returns, examples)
bb-browser site info <adapter>

# Run adapter
bb-browser site <platform>/<command> [args] [--json] [--jq '<filter>']
```

### Key Adapters for Quant Work

| Adapter | Command | Use Case |
|---------|---------|----------|
| Xueqiu hot stocks | `site xueqiu/hot-stock 5` | A-share sentiment |
| Xueqiu stock quote | `site xueqiu/stock <code>` | Real-time quotes |
| Eastmoney stock | `site eastmoney/stock <code>` | A-share data |
| Eastmoney news | `site eastmoney/news` | CN finance news |
| Yahoo Finance | `site yahoo-finance/quote <ticker>` | US/Crypto quotes |
| Twitter search | `site twitter/search "BTC"` | Crypto sentiment |
| Twitter user tweets | `site twitter/tweets <user>` | Whale watching |
| Reddit | `site reddit/subreddit <name> <limit>` | Community sentiment |
| Hacker News top | `site hackernews/top` | Tech trends |
| GitHub repo | `site github/repo <owner>/<name>` | Repo intel |
| Google search | `site google/search "query"` | Web search |
| Baidu search | `site baidu/search "query"` | CN web search |
| Zhihu hot | `site zhihu/hot` | CN knowledge trending |
| Weibo hot | `site weibo/hot` | CN social trending |
| 36kr newsflash | `site 36kr/newsflash` | CN tech news |

### Browser Control (for sites without adapters)

```bash
bb-browser open <url>              # Open URL
bb-browser snapshot -i             # Accessibility tree snapshot
bb-browser click @<ref>            # Click element
bb-browser fill @<ref> "text"      # Fill input
bb-browser eval "document.title"   # Execute JS
bb-browser fetch <url> --json      # Authenticated HTTP fetch
bb-browser screenshot [path]       # Take screenshot
```

### Utility

```bash
bb-browser tab list                # List open tabs
bb-browser status                  # Browser connection status
bb-browser network requests        # View network requests
bb-browser console                 # View console output
bb-browser site update             # Update community adapters
bb-browser site recommend          # Suggest adapters based on history
```

## Output Formats

All `site` commands support:
- `--json` — structured JSON output
- `--jq '<filter>'` — jq filtering (e.g., `--jq '.items[] | {name, price}'`)

Example:
```bash
bb-browser site xueqiu/hot-stock 5 --jq '.items[] | {name, changePercent}'
# {"name":"云天化","changePercent":"2.08%"}
# {"name":"东芯股份","changePercent":"-7.60%"}
```

## Adapter Tiers

| Tier | Method | Speed | Examples |
|------|--------|-------|---------|
| 1 | Cookie fetch | ~1s | Reddit, GitHub, V2EX |
| 2 | Bearer + CSRF token | ~3s | Twitter, Zhihu |
| 3 | Webpack/Pinia injection | ~10s | Twitter search, Xiaohongshu |

From aAAaqwq/AGI-Super-Team, MIT.

More from aAAaqwq/AGI-Super-Team

Signals

Stars
111
Forks
25
Open issues
1
Last commit (this folder)
May 21, 2026 (5 months ago)
Last release
Sep 20, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from aAAaqwq

Cite this page

bb-browser skill. Agent Mart. https://agentmart.dev/skills/aaaaqwq-bb-browser (last updated 2026-10-24)