bb-browser-openclaw
epiral/bb-browser/skills/bb-browser-openclaw/SKILL.md
Turn any website into a CLI command. 36 platforms, 103 commands — Twitter, Reddit, GitHub, YouTube, Zhihu, Bilibili, Weibo, and more. Uses OpenClaw's browser directly, no extra extension needed.
Skill6.2k starsChanged 7 months ago
What's in it
- bb-browser sites — The web as CLI
- Quick Start
- IMPORTANT: Always use --openclaw
- Data Extraction (most common use)
- Filtering with --jq
- View adapter details
- Login State
- Creating New Adapters
- All 36 Platforms
Tools it asks for
- Bash(bb-browser:*)
---
name: bb-browser-openclaw
description: Turn any website into a CLI command. 36 platforms, 103 commands — Twitter, Reddit, GitHub, YouTube, Zhihu, Bilibili, Weibo, and more. Uses OpenClaw's browser directly, no extra extension needed.
requires:
bins: bb-browser
allowed-tools: Bash(bb-browser:*)
---
# bb-browser sites — The web as CLI
36 platforms, 103 commands. One-liner structured data from any website using your login state.
**All commands use `--openclaw` to run through OpenClaw's browser. No Chrome extension or daemon needed.**
## Quick Start
```bash
# First time: pull community adapters
bb-browser site update
# See what's available
bb-browser site list
# See which adapters match your browsing habits
bb-browser site recommend
# Run any adapter via OpenClaw's browser
bb-browser site reddit/hot --openclaw
bb-browser site hackernews/top 5 --openclaw
bb-browser site v2ex/hot --openclaw
```
## IMPORTANT: Always use --openclaw
Every `bb-browser site` command MUST include `--openclaw` to use OpenClaw's browser:
```bash
# Correct
bb-browser site twitter/search "AI agent" --openclaw
bb-browser site zhihu/hot 10 --openclaw --json
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent}'
# Wrong (requires separate Chrome extension)
bb-browser site twitter/search "AI agent"
```
## Data Extraction (most common use)
```bash
# Social media
bb-browser site twitter/search "OpenClaw" --openclaw
bb-browser site twitter/thread <tweet-url> --openclaw
bb-browser site reddit/thread <post-url> --openclaw
bb-browser site weibo/hot --openclaw
bb-browser site xiaohongshu/search "query" --openclaw
# Developer
bb-browser site github/repo owner/repo --openclaw
bb-browser site github/issues owner/repo --openclaw
bb-browser site hackernews/top 10 --openclaw
bb-browser site stackoverflow/search "async await" --openclaw
bb-browser site arxiv/search "transformer" --openclaw
# Finance
bb-browser site xueqiu/stock SH600519 --openclaw
bb-browser site xueqiu/hot-stock 5 --openclaw
bb-browser site eastmoney/stock "茅台" --openclaw
# News & Knowledge
bb-browser site zhihu/hot --openclaw
bb-browser site 36kr/newsflash --openclaw
bb-browser site wikipedia/summary "Python" --openclaw
# Video
bb-browser site youtube/transcript VIDEO_ID --openclaw
bb-browser site bilibili/search "query" --openclaw
```
## Filtering with --jq
Use `--jq` to extract specific fields (no need for `--json`, it's implied):
```bash
# Just stock names
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[].name'
# Specific fields as objects
bb-browser site xueqiu/hot-stock 5 --openclaw --jq '.items[] | {name, changePercent, heat}'
# Filter results
bb-browser site reddit/hot --openclaw --jq '.posts[] | {title, score}'
```
## View adapter details
```bash
# Check what args an adapter takes
bb-browser site info xueqiu/stock
# Search adapters by keyword
bb-browser site search reddit
```
## Login State
Adapters run inside OpenClaw's browser tabs. If a site requires login:
1. The adapter will return an error like `{"error": "HTTP 401", "hint": "Not logged in?"}`
2. Log in to the site in OpenClaw's browser:
```bash
openclaw browser open https://twitter.com
```
3. Complete login manually in the browser window
4. Retry the command
## Creating New Adapters
Turn any website into a CLI command:
```bash
# Read the guide
bb-browser guide
# Or just tell me: "turn notion.so into a bb-browser adapter"
# I'll reverse-engineer the API, write the adapter, test it, and submit a PR.
```
## All 36 Platforms
| Category | Platforms |
|----------|-----------|
| Search | Google, Baidu, Bing, DuckDuckGo, Sogou WeChat |
| Social | Twitter/X, Reddit, Weibo, Xiaohongshu, Jike, LinkedIn, Hupu |
| News | BBC, Reuters, 36kr, Toutiao, Eastmoney |
| Dev | GitHub, StackOverflow, HackerNews, CSDN, cnblogs, V2EX, Dev.to, npm, PyPI, arXiv |
| Video | YouTube, Bilibili |
| Entertainment | Douban, IMDb, Genius, Qidian |
| Finance | Xueqiu, Eastmoney, Yahoo Finance |
| Jobs | BOSS Zhipin, LinkedIn |
| Knowledge | Wikipedia, Zhihu, Open Library |
| Shopping | SMZDM |
| Tools | Youdao, GSMArena, Product Hunt, Ctrip |
More agent context in epiral/bb-browser
2 other files this repository gives its agents.
AGENTS.md
Skill
- bb-browserskills/bb-browser/SKILL.md
Also found in 2 other repositories
The same file, byte for byte, in the weekly crawl of public GitHub.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

