bodietron

Agent Browser

AI 智慧體v1.0.0
作者:bodietron更新於 2026-05-18openclaw-agent-browser@clawhub_bodietron/openclaw-agent-browser
任務自動化工具呼叫#Browser Automation

據 AlphaMoat 統計,截至 2026-10,Agent Browser 累計下載 20,442 次、獲 3 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 1,378 位,在「AI 智慧體」分類(1,632 個)中排名第 192 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
2萬
星標
3
全站下載量排名
#1,378
全站前 13% · 「AI 智慧體」前 12%
平台累計下載星標評論
ClawHub ↗1.9萬3-
SkillHub ↗2萬3—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能透過 agent-browser CLI 讓代理導航網頁、填寫表單、點選按鈕、截圖、提取資料、抓取與測試 Web 應用。核心流程為開啟頁面、快照獲取元素引用、按引用互動後重新快照。它支援登入狀態儲存、會話複用與可選的安全環境變數(內容邊界、域名白名單、輸出上限),安裝需先執行 setup 指令碼並具備 Node.js 環境。 瀏覽器操作依賴執行環境、權限和頁面狀態;先核對目標,在提交重要表單或變更帳戶前進行確認。

資料釋出於 2026-10-27

可以用來做什麼

  • 自動導航網頁並填寫表單提交
  • 對 Web 應用進行自動化測試與截圖
  • 從頁面提取資料或下載檔案

什麼時候用

  • 需要代理以程式設計方式與網站互動時
  • 需要對網頁應用做自動化測試或抓取時
  • 需要登入狀態複用或會話隔離時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

開啟這個網址並幫我填寫登入表單
對這個 Web 應用做一次自動化測試並截圖
從產品頁面提取文字並儲存

月度資料趨勢

累計下載2萬
54151.3萬2.2萬2026-03 · 累計下載 65282026-05 · 累計下載 1.3萬2026-07 · 累計下載 1.8萬2026-08 · 累計下載 1.8萬2026-09 · 累計下載 1.9萬2026-10 · 累計下載 2萬26-0326-0926-10
星標3
2332026-03 · 星標 22026-05 · 星標 32026-07 · 星標 32026-08 · 星標 32026-09 · 星標 32026-10 · 星標 326-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-102萬—3
2026-091.9萬—3
2026-081.8萬+4.3%3
2026-071.8萬—3
2026-051.3萬—3
2026-036528—2

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.1 KB · ClawHub v1.0.0
---
name: agent-browser
description: Headless browser automation CLI for AI agents. Use when interacting with websites — navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, scraping, testing web apps, downloading files, or automating any browser task. Triggers on requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data", "test this web app", "login to a site", "monitor a page", or any task requiring programmatic web interaction.
---

# Browser Automation with agent-browser

## Setup

Run `scripts/setup.sh` to install agent-browser and Chromium. Requires Node.js.
展開全部(共 145 行)

## Core Workflow

Every browser automation follows this pattern:

1. **Navigate**: `agent-browser open <url>`
2. **Snapshot**: `agent-browser snapshot -i` (get element refs like `@e1`, `@e2`)
3. **Interact**: Use refs to click, fill, select
4. **Re-snapshot**: After navigation or DOM changes, get fresh refs

```bash
agent-browser open https://example.com/form
agent-browser snapshot -i
# Output: @e1 [input type="email"], @e2 [input type="password"], @e3 [button] "Submit"

agent-browser fill @e1 "[email protected]"
agent-browser fill @e2 "password123"
agent-browser click @e3
agent-browser wait --load networkidle
agent-browser snapshot -i  # Check result
```

## Command Chaining

Chain with `&&` when you don't need intermediate output:

```bash
agent-browser open https://example.com && agent-browser wait --load networkidle && agent-browser snapshot -i
```

Run separately when you need to parse output first (e.g., snapshot to discover refs).

## Essential Commands

```bash
# Navigate
agent-browser open <url>
agent-browser close

# See the page (always do this first)
agent-browser snapshot -i              # Interactive elements with refs
agent-browser snapshot -i -C           # Include onclick divs

# Interact using @refs
agent-browser click @e1
agent-browser fill @e2 "text"
agent-browser select @e1 "option"
agent-browser press Enter
agent-browser scroll down 500

# Get info
agent-browser get text @e1
agent-browser get url
agent-browser get title

# Wait
agent-browser wait @e1                 # For element
agent-browser wait --load networkidle  # For network idle

# Capture
agent-browser screenshot page.png
agent-browser screenshot --full        # Full page
agent-browser pdf output.pdf
```

For the full command reference, see `references/commands.md`.

## Ref Lifecycle (Important)

Refs (`@e1`, `@e2`) are invalidated when the page changes. Always re-snapshot after:
- Clicking links/buttons that navigate
- Form submissions
- Dynamic content loading (dropdowns, modals)

## Common Patterns

### Form Submission
```bash
agent-browser open https://example.com/signup
agent-browser snapshot -i
agent-browser fill @e1 "Jane Doe"
agent-browser fill @e2 "[email protected]"
agent-browser select @e3 "California"
agent-browser click @e5
agent-browser wait --load networkidle
```

### Login with State Persistence
```bash
agent-browser open https://app.example.com/login
agent-browser snapshot -i
agent-browser fill @e1 "$USERNAME" && agent-browser fill @e2 "$PASSWORD"
agent-browser click @e3
agent-browser wait --url "**/dashboard"
agent-browser state save auth.json

# Reuse later
agent-browser state load auth.json
agent-browser open https://app.example.com/dashboard
```

### Data Extraction
```bash
agent-browser open https://example.com/products
agent-browser snapshot -i
agent-browser get text @e5
agent-browser get text body > page.txt
```

### Screenshot & Diff
```bash
agent-browser screenshot baseline.png
# ... changes happen ...
agent-browser diff screenshot --baseline baseline.png
```

### Parallel Sessions
```bash
agent-browser --session site1 open https://site-a.com
agent-browser --session site2 open https://site-b.com
agent-browser session list
```

## Security (Optional)

```bash
export AGENT_BROWSER_CONTENT_BOUNDARIES=1          # Wrap output for AI safety
export AGENT_BROWSER_ALLOWED_DOMAINS="example.com"  # Domain allowlist
export AGENT_BROWSER_MAX_OUTPUT=50000               # Prevent context flooding
```

## Cleanup

Always close sessions when done: `agent-browser close`

「AI 智慧體」分類下的熱門技能

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。