据 AlphaMoat 统计,截至 2026-09,Playwright Headless Browser (Chromium) 累计下载 3,671 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 2,948 位,在「开发编程」分类(577 个)中排名第 382 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 105 | 3,671 | 1 | - |
| SkillHub ↗ | 210 | 3,369 | 1 | — |
各平台的计数口径不同,统计时间不一致。
提供一键 ./scripts/setup.sh(安装 Playwright 与 Chromium、安装所需系统库(需 sudo)、修改 Clawdbot 配置)与手动流程:先 npx playwright install chromium;Chromium 需要 NSS 与 ALSA 库(Ubuntu/Debian 下为 libnss3 与 libasound2t64,旧版 Ubuntu 用 libasound2);再在 ~/.cache/ms-playwright 下定位 chrome 可执行文件;最后用 clawdbot config patch 写入 executablePath、headless: true、noSandbox: true。官方注明 noSandbox: true 为 WSL/容器环境所必需,headless: true 表示无可见窗口运行;需要可见浏览器时设 headless: false 并配置 WSLg 或 X11。配套 skill-card 提醒:后续浏览器会话可能以禁用沙箱的 Chromium 运行;安装脚本可能执行未锁版本的 npm/Playwright 代码与特权包管理命令;该技能会持久修改 Clawdbot 浏览器配置。安装可能使用 sudo 并持久设置 noSandbox: true;启用浏览器会话前先审查脚本及最终配置。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,671 | — | 1 |
| 2026-08 | 3,506 | +14.0% | 1 |
| 2026-07 | 3,076 | +10.9% | 1 |
| 2026-06 | 2,773 | +6.2% | 1 |
| 2026-05 | 2,610 | — | 1 |
| 2026-03 | 1,719 | — | 1 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: playwright-browser description: Set up headless browser automation in Clawdbot using Playwright Chromium. Use when configuring browser tools for WSL/Linux environments, installing browser dependencies, or enabling headless web automation. Handles Chromium installation, system library dependencies, and Clawdbot browser configuration. --- # Playwright Browser Setup Configure Clawdbot's browser tool to use Playwright-managed Chromium for headless automation in WSL/Linux environments. ## Quick Setup
Run the setup script to install everything:
```bash
./scripts/setup.sh
```
This will:
1. Install Playwright and Chromium
2. Install required system libraries (requires sudo)
3. Patch Clawdbot config to use the Playwright browser
## Manual Setup
### 1. Install Playwright Chromium
```bash
npx playwright install chromium
```
### 2. Install System Dependencies
Chromium requires NSS and ALSA libraries:
```bash
# Ubuntu/Debian
sudo apt-get install -y libnss3 libasound2t64
# If libasound2t64 doesn't exist (older Ubuntu):
sudo apt-get install -y libnss3 libasound2
```
### 3. Find Chromium Path
```bash
find ~/.cache/ms-playwright -name "chrome" -path "*/chrome-linux64/*" 2>/dev/null | head -1
```
### 4. Configure Clawdbot
Patch the gateway config:
```bash
clawdbot config patch '{"browser": {"executablePath": "<path-from-step-3>", "headless": true, "noSandbox": true}}'
```
Or use the provided script:
```bash
./scripts/configure-clawdbot.sh
```
## Verification
Test the browser works:
```bash
~/.cache/ms-playwright/chromium-*/chrome-linux64/chrome --headless --no-sandbox --disable-gpu --dump-dom https://example.com
```
## Notes
- `noSandbox: true` is required for WSL/container environments
- `headless: true` runs without a visible window (faster, no display needed)
- For visible browser, set `headless: false` and ensure WSLg or X11 is configured
用 gh 命令行工具查看 GitHub 上的 PR 检查、工作流运行与 API 查询的技能。
聚合 16 个搜索引擎、无需 API Key 的检索技能。
用命令行直接列出、配置、授权并调用 MCP 服务与工具。
生成有效的 Mermaid 图表,如流程图、时序图、思维导图、ER 图、用户旅程等。
用受管 OAuth 访问 YouTube Data API,检索视频并管理频道内容。
通过受管的 OAuth 连接访问 GitHub REST API。
覆盖规划、实现、验证与测试的编码工作流技能。
整理 Docker 常用命令与容器工作流的技能。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。