據 AlphaMoat 統計,截至 2026-09,Playwright Headless Browser (Chromium) 累計下載 3,671 次、獲 1 個星標,在全部 5,078 個 AI 技能中排名第 2,948 位,在「開發程式設計」分類(577 個)中排名第 382 位。
| 平台 | 累計安裝 | 累計下載 | 星標 | 評論 |
|---|---|---|---|---|
| ClawHub ↗ | 105 | 3671 | 1 | - |
| SkillHub ↗ | 210 | 3369 | 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 | 3671 | — | 1 |
| 2026-08 | 3506 | +14.0% | 1 |
| 2026-07 | 3076 | +10.9% | 1 |
| 2026-06 | 2773 | +6.2% | 1 |
| 2026-05 | 2610 | — | 1 |
| 2026-03 | 1719 | — | 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),按月更新。口徑說明見資料方法。