Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

browser-wsl浏览器 wsl

Agent Skill

browser-wsl 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

1

下载量

102
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:browser-wsl(浏览器 wsl)
来源仓库:https://github.com/bronbot/browser-wsl
仓库路径:skills/browser-wsl
安装命令:
npx skills add https://github.com/bronbot/browser-wsl --skill browser-wsl
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/bronbot/browser-wsl --skill browser-wsl

简介

browser-wsl 提供 WSL/Linux 环境下的自主无头浏览器控制,无需中继扩展。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中实现 24/7 自动化浏览任务。
  • 通过 CDP 协议直接控制 Chrome 实例,支持导航、截图和数据提取等操作。
  • 安装前需确认权限范围和维护状态,注意可能触发联网、命令执行或文件读写操作。
  • 建议结合原始 README 和仓库文档进一步核验具体使用方法和限制条件。

SKILL.md

Browser WSL — Autonomous Headless Browsing for OpenClaw

Give your OpenClaw agent its own browser on WSL/Linux. No relay extension, no human clicking toolbar icons, no "tab not found" errors. Just a headless Chrome instance the agent controls directly via CDP.

When to Use

  • Agent is running on WSL or headless Linux
  • browser tool returns "No supported browser found"
  • Chrome relay extension is unreliable (cross-origin navigation breaks tabs)
  • You want 24/7 autonomous browsing without a human at the keyboard

Quick Setup

1. Install Chrome

Run the install script (requires sudo):

bash scripts/install-chrome.sh

This installs Google Chrome + all required dependencies (libnspr4, libnss3, libgbm1, etc.) and verifies headless CDP works.

2. Configure OpenClaw

Patch the gateway config to add a managed openclaw browser profile:

gateway config.patch with:
{
  "browser": {
    "enabled": true,
    "executablePath": "/usr/bin/google-chrome-stable",
    "headless": true,
    "noSandbox": true,
    "profiles": {
      "openclaw": {
        "cdpPort": 18800,
        "color": "#FF4500"
      }
    }
  }
}

Keep defaultProfile: "chrome" if you also use the relay extension. The agent can switch between profiles:

  • profile=chrome — relay to your real browser (has logins/cookies)
  • profile=openclaw — headless Chrome (always available, no human needed)

3. Use It

browser action:start profile:openclaw
browser action:open profile:openclaw targetUrl:"https://example.com"
browser action:snapshot profile:openclaw targetId:<id>
browser action:navigate profile:openclaw targetId:<id> targetUrl:"https://other-site.com"

Cross-origin navigation works. No tab tracking issues. No extension required.

What This Solves

The Relay Problem

OpenClaw's default chrome profile uses a Chrome extension relay. It has known issues:

  1. Cross-origin navigation breaks tabs — Chrome reassigns target IDs on cross-origin navigation, but the extension doesn't re-attach the debugger. Result: "tab not found" after any navigate call.
  2. Requires human interaction — Someone must click the toolbar icon to attach each tab.
  3. Only works when the PC is active — No browsing while you're away.

The Fix

A managed headless Chrome instance (openclaw profile) bypasses the relay entirely. The gateway controls Chrome directly via CDP — no extension middleman, no target ID tracking bugs.

Limitations

  • No cookies/logins from your real browser — this is a fresh Chrome profile
  • Cloudflare challenges still block headless Chrome (use the relay for those when you're home)
  • No GUI — headless only on WSL (no display server)
  • Requires sudo for initial Chrome installation

Recommended Setup

Run both profiles:

ProfileUse CaseHuman Needed
chrome (relay)Sites needing your logins, Cloudflare-protected sitesYes
openclaw (headless)Research, scraping, price checks, any public siteNo

The agent should default to openclaw for autonomous work and fall back to chrome relay when authentication or Cloudflare bypass is needed.

Troubleshooting

"error while loading shared libraries" — Run the install script again. It installs all required system libraries.

CDP not responding — Make sure port 18800 isn't in use: lsof -i:18800

"No supported browser found" — The executablePath in config must point to the actual Chrome binary: /usr/bin/google-chrome-stable

libasound2 not found — Ubuntu 24.04+ renamed it to libasound2t64. The install script handles both.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.45%
按下载量换算34

Claude

29.93%
按下载量换算31

Cursor

17.94%
按下载量换算18

Gemini CLI

10.24%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills