Browser Web Search: Leveraging OpenClaw Browser Login State for Multi-Platform Structured Search

Preface

When building Agents or automation for research, common approaches include integrating with each site’s open API separately, or hand-writing crawlers that maintain Cookies. Many domestic (Chinese) content sites lack stable, free APIs, and login sessions are often bound to the browser, making it difficult for Agents to reuse them directly. Browser Web Search consolidates multi-platform searching into a unified CLI, executing adapter scripts within an already-open browser tab in OpenClaw, with results returned as JSON, facilitating tool invocation and downstream analysis.

What This Is

Browser Web Search (SkillHub coordinates @user_2c495456/browser-web-search) is a community-sourced (community) Agent Skill. The current page is labeled version 1.3.3, categorized under data-analysis, and published by user_2c495456 (the SkillHub page displays the author as PingAI 品智). The tags indicate requires_api_key=false.

Official summary: Search the entire web with a single command — 55 platforms, 91+ commands, covering Toutiao, Zhihu, Douban, YouTube, GitHub, Reddit, Hacker News, and more; designed specifically for OpenClaw, reusing browser login sessions, returning structured JSON, and built for AI Agent tool invocation.

The Skill itself follows the standard SKILL.md format; the associated repository is browser-web-search-skill. At its core, it provides the bws command via the npm package browser-web-search, and accesses target sites within a browser controlled by OpenClaw.

Core Features

The following capabilities are drawn from the SkillHub page summary and the public SKILL.md documentation, and can be cross-verified against the official description.

  1. Unified command surface: Use bws site <platform>/<subcommand> to access multi-site capabilities (such as search, trending lists, feeds, etc.). Run bws site list to view all commands.
  2. Structured output: JSON by default; supports --jq for field filtering, making it easy for Agents to parse.
  3. Login session reuse: Executes JavaScript within an already-authenticated browser tab via OpenClaw (isolated by adapter domain), eliminating the need to configure separate API Keys for each site; sensitive capabilities have additional environment variables and confirmation switches (see the cautions section below).
  4. Platform scale: The documentation states it includes 55 platforms and 91+ commands, with domestic coverage including Toutiao, Zhihu, Bilibili, Weibo, Douban, etc., and international coverage including Google, GitHub, Hacker News, Reddit, YouTube, etc.

SkillHub page statistics (based on crawled data): rating 100000, downloads 4909, installs 48.

Installation and Activation

Installation involves two steps: first, install the Skill into the current Agent’s skills directory, then install the bws runtime (the Skill documentation requires Node.js >= 18).

1. Install the SkillHub CLI (if not already installed)

Check or install the CLI per the SkillHub installation instructions:

command -v skillhub && skillhub --version

If not installed, run the full installation script (requires internet connectivity):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install the Browser Web Search Skill

You must use --dir to point to the skills directory recognized by your current Agent; otherwise, the default destination ./skills/ may not be loaded. Common path examples:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Installation command:

skillhub install @user_2c495456/browser-web-search --dir <your skills directory>

Alternatively, you can have your AI follow the SkillHub page prompts and complete installation of the same coordinate by referring to https://skillhub.cn/install/skillhub.md.

3. Install the bws CLI

The installation step in the Skill metadata is to globally install a pinned version of the npm package (the documentation recommends auditing the source code and release consistency before installation):

npm install -g browser-web-search@0.4.3

Verification:

bws --version
bws site list

The OpenClaw environment must already have the openclaw CLI available for browser automation. For specific Gateway / browser connection methods, refer to your local OpenClaw documentation; this Skill does not replace OpenClaw’s own deployment.

Typical Usage

The following examples are drawn from the quick-start section of the public SKILL.md and can be reproduced once bws is installed and the OpenClaw browser is available.

View all sites and subcommands:

bws site list

Multi-platform search examples:

bws site toutiao/search "ai search"
bws site zhihu/search "ai agent" --count 5
bws site hn/search "llm" --sort date
bws site github/search "ai search" --sort stars
bws site reddit/search "ai search" --sort new
bws site youtube/search "ai agent tutorial"

Use jq-style filtering (--jq) to narrow down returned fields. For example, to extract only the list of result URLs from Zhihu, you can append a --jq expression after the corresponding command as documented.

Architecturally, the Agent reads the Skill instructions → the Skill wrapper layer invokes bws → OpenClaw drives the browser to access the target site → returns JSON to the Agent.

Use Cases and Cautions

Who it’s for

  • Already using OpenClaw (or a variant compatible with its skills directory), and needing the Agent to pull information from multiple sources such as Zhihu, GitHub, HN, etc., for competitive research, sentiment analysis, or technical research.
  • Data analysis / scraping workflows that want JSON output directly, reducing the cost of HTML parsing and per-site API applications.

Limitations and risks (must read the Skill metadata)

  1. Third-party npm package: The actual page scripts are executed by browser-web-search in the browser context. The Skill documentation marks this as a medium installation risk requiring approval; before use, it is recommended to review the GitHub repository and the npm published version.
  2. Sensitive capability gating: The default sensitive tier (login-required personal data, etc.) has multiple layers of environment variables and CLI switches, such as BWS_PUBLIC_ONLY, BWS_ENABLE_SENSITIVE_TIER, BWS_ALLOW_SENSITIVE, --i-understand-sensitive, --accept-platform-consent, etc.; access to private messages, bookmarks, and other account pages should not be assumed without explicit enabling.
  3. Version lines: SkillHub displays Skill version 1.3.3, which is a different coordinate from the 0.4.3 pinned in the npm package documentation; when upgrading, pay attention separately to the changelogs for SkillHub and browser-web-search.
  4. Compliance: Each platform’s terms of service, robots policy, and data usage policy must be complied with by the user; the Skill provides technical capability but does not guarantee long-term availability of sites.

Conclusion

Browser Web Search consolidates multi-platform searching into bws site … with JSON output, and leverages OpenClaw to reuse browser login sessions. It is suitable for scenarios requiring “Agent-callable web-wide retrieval” rather than single-site API integration. Installation and details are subject to SkillHub:

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye