Skip to main content
skill CX Codex

bb-browser-openclaw — Claude Code skill: CLI web access

This skill turns websites into CLI commands and returns structured data through OpenClaw’s browser. Use it for search, GitHub, social feeds, and video.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add epiral/bb-browser --skill bb-browser-openclaw -a claude-code
Open on GitHub

What bb-browser-openclaw does

bb-browser-openclaw gives the agent commands for 36 platforms and 103 adapters. With bb-browser site, it can search posts, read Reddit threads, fetch GitHub repository data, find research material, and extract YouTube transcripts. Use --jq to select fields from the result.

Every command must include --openclaw. The adapter runs in OpenClaw’s browser and uses its saved login state, so no separate Chrome extension or daemon is needed. Install the bb-browser binary first, then run bb-browser site update. When a site requires authentication, log in manually in the OpenClaw browser and retry the command.

Check that bb-browser is available before installing the skill: its commands depend on that binary and will not run without it.

What it helps with

  • pull structured data from a website through the CLI
  • search posts and threads across Reddit or Twitter
  • inspect a GitHub repository and its issues
  • select fields from results with --jq
  • extract a YouTube transcript by video ID

Example prompts for the agent

  • “Find hot Reddit posts and return only titles and scores with bb-browser site reddit/hot --openclaw --jq '.posts[] | {title, score}'.”
  • “Inspect owner/repo and return its repository data with bb-browser site github/repo owner/repo --openclaw.”
  • “Fetch the transcript for this video with bb-browser site youtube/transcript VIDEO_ID --openclaw.”

How to install bb-browser-openclaw

1Skills CLI (Vercel)

npx skills add epiral/bb-browser --skill bb-browser-openclaw -a claude-code

2Manually: put the files in place

~/.claude/skills/bb-browser-openclaw/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/bb-browser-openclaw/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about bb-browser-openclaw

How do I install bb-browser-openclaw in Claude Code?

Run npx skills add epiral/bb-browser --skill bb-browser-openclaw -a claude-code, then run npx skills add epiral/bb-browser --skill bb-browser-openclaw -a claude-code again. The skill file is at ~/.claude/skills/bb-browser-openclaw/SKILL.md.

What does bb-browser-openclaw do?

It turns site adapters into bb-browser site CLI commands. The skill runs them through OpenClaw’s browser, returns structured data, and supports filtering with --jq.

What does bb-browser-openclaw need to run?

The bb-browser binary is required, and every bb-browser site command must include --openclaw. Sites behind a login require a manual sign-in through the OpenClaw browser.

Source text

SKILL.md · MIT
---
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 |

© epiral · MIT · epiral/bb-browser

Similar skills

All skills for Browser and scraping →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor