Token导航 LogoToken导航

Agent Skill · 研究检索

browserwing-executor(browserwing 执行器)

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

browserwing-executor 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 54,403。

总安装 512周安装 22GitHub Stars 1,188下载 180核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/browserwing/browserwing --skill browserwing-executor

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

browserwing-executor 提供完整的浏览器自动化 HTTP API,支持导航和元素交互。适合在 Codex、Claude、Cursor、Gemini CLI 中控制浏览器执行复杂任务。支持页面跳转、点击、输入、数据提取和无障碍分析等功能。

使用前需启动 BrowserWing 服务并配置 API 基础 URL,注意网络连接要求。建议结合原始 README 和仓库文档进一步核验具体使用方法和限制条件。

来源仓库内路径:skills/browserwing-executor

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/browserwing/browserwing --skill browserwing-ex…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

browserwing-executor 怎么安装?

在终端执行 npx skills add https://github.com/browserwing/browserwing --skill browserwing-executor。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

browserwing-executor 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

browserwing-executor 需要什么权限?

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

browserwing-executor 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

browserwing-executor 用的人多吗?

公开数据是累计安装 512 次,近一周安装 22 次,下载 180 次,GitHub 1,188 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

browserwing-executor 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 来源仓库有 1,188 星,维护活跃度相对可查。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
browserwing-executor

browserwing 执行器 · 本页

5121,188操作浏览器MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

BrowserWing Executor API

Overview

BrowserWing Executor provides comprehensive browser automation capabilities through HTTP APIs. You can control browser navigation, interact with page elements, extract data, and analyze page structure.

API Base URL: http://localhost:8080/api/v1/executor, host=localhost:8080

Core Capabilities

  • Page Navigation: Navigate to URLs, go back/forward, reload
  • Element Interaction: Click, type, select, hover on page elements
  • Data Extraction: Extract text, attributes, values from elements
  • Accessibility Analysis: Get accessibility snapshot to understand page structure
  • Advanced Operations: Screenshot, JavaScript execution, keyboard input
  • Batch Processing: Execute multiple operations in sequence

API Endpoints

1. Discover Available Commands

IMPORTANT: Always call this endpoint first to see all available commands and their parameters.

curl -X GET 'http://{host}/api/v1/executor/help'

Response: Returns complete list of all commands with parameters, examples, and usage guidelines.

Query specific command:

curl -X GET 'http://{host}/api/v1/executor/help?command=extract'

2. Get Accessibility Snapshot

CRITICAL: Always call this after navigation to understand page structure and get element RefIDs.

curl -X GET 'http://{host}/api/v1/executor/snapshot'

Response Example:

{
  "success": true,
  "snapshot_text": "Clickable Elements:\n  @e1 Login (role: button)\n  @e2 Sign Up (role: link)\n\nInput Elements:\n  @e3 Email (role: textbox) [placeholder: your@email.com]\n  @e4 Password (role: textbox)"
}

Use Cases:

  • Understand what interactive elements are on the page
  • Get element RefIDs (@e1, @e2, etc.) for precise identification
  • See element labels, roles, and attributes
  • The accessibility tree is cleaner than raw DOM and better for understanding page structure
  • RefIDs are stable references that work reliably across page changes

3. Common Operations

Navigate to URL
curl -X POST 'http://{host}/api/v1/executor/navigate' \
  -H 'Content-Type: application/json' \
  -d '{"url": "https://example.com"}'
Click Element
curl -X POST 'http://{host}/api/v1/executor/click' \
  -H 'Content-Type: application/json' \
  -d '{"identifier": "@e1"}'

Identifier formats:

  • RefID (Recommended): @e1, @e2 (from snapshot)
  • CSS Selector: #button-id, .class-name
  • XPath: //button[@type='submit']
  • Text: Login (text content)
Type Text
curl -X POST 'http://{host}/api/v1/executor/type' \
  -H 'Content-Type: application/json' \
  -d '{"identifier": "@e3", "text": "user@example.com"}'
Extract Data
curl -X POST 'http://{host}/api/v1/executor/extract' \
  -H 'Content-Type: application/json' \
  -d '{
    "selector": ".product-item",
    "fields": ["text", "href"],
    "multiple": true
  }'
Wait for Element
curl -X POST 'http://{host}/api/v1/executor/wait' \
  -H 'Content-Type: application/json' \
  -d '{"identifier": ".loading", "state": "hidden", "timeout": 10}'
Batch Operations
curl -X POST 'http://{host}/api/v1/executor/batch' \
  -H 'Content-Type: application/json' \
  -d '{
    "operations": [
      {"type": "navigate", "params": {"url": "https://example.com"}, "stop_on_error": true},
      {"type": "click", "params": {"identifier": "@e1"}, "stop_on_error": true},
      {"type": "type", "params": {"identifier": "@e3", "text": "query"}, "stop_on_error": true}
    ]
  }'

4. Tab Management (NEW)

List all tabs:

curl -X POST 'http://{host}/api/v1/mcp/message' \
  -H 'Content-Type: application/json' \
  -d '{
    "method": "tools/call",
    "params": {
      "name": "browser_tabs",
      "arguments": {"action": "list"}
    }
  }'

Create new tab:

curl -X POST 'http://{host}/api/v1/mcp/message' \
  -H 'Content-Type: application/json' \
  -d '{
    "method": "tools/call",
    "params": {
      "name": "browser_tabs",
      "arguments": {
        "action": "new",
        "url": "https://example.com"
      }
    }
  }'

Switch to tab (by index):

curl -X POST 'http://{host}/api/v1/mcp/message' \
  -H 'Content-Type: application/json' \
  -d '{
    "method": "tools/call",
    "params": {
      "name": "browser_tabs",
      "arguments": {
        "action": "switch",
        "index": 1
      }
    }
  }'

Close tab (by index):

curl -X POST 'http://{host}/api/v1/mcp/message' \
  -H 'Content-Type: application/json' \
  -d '{
    "method": "tools/call",
    "params": {
      "name": "browser_tabs",
      "arguments": {
        "action": "close",
        "index": 2
      }
    }
  }'

Note: Tab indices are 0-based (first tab is 0, second tab is 1, etc.)

Alternative: Direct HTTP API (without MCP):

# List tabs
curl -X POST 'http://{host}/api/v1/executor/tabs' \
  -H 'Content-Type: application/json' \
  -d '{"action": "list"}'

# Create new tab
curl -X POST 'http://{host}/api/v1/executor/tabs' \
  -H 'Content-Type: application/json' \
  -d '{"action": "new", "url": "https://example.com"}'

# Switch to tab
curl -X POST 'http://{host}/api/v1/executor/tabs' \
  -H 'Content-Type: application/json' \
  -d '{"action": "switch", "index": 1}'

# Close tab
curl -X POST 'http://{host}/api/v1/executor/tabs' \
  -H 'Content-Type: application/json' \
  -d '{"action": "close", "index": 2}'

5. Form Filling (NEW)

Fill a login form:

curl -X POST 'http://{host}/api/v1/mcp/message' \
  -H 'Content-Type: application/json' \
  -d '{
    "method": "tools/call",
    "params": {
      "name": "browser_fill_form",
      "arguments": {
        "fields": [
          {"name": "username", "value": "john@example.com"},
          {"name": "password", "value": "secret123"},
          {"name": "remember", "value": true}
        ],
        "submit": true
      }
    }
  }'

Fill a registration form:

curl -X POST 'http://{host}/api/v1/mcp/message' \
  -H 'Content-Type: application/json' \
  -d '{
    "method": "tools/call",
    "params": {
      "name": "browser_fill_form",
      "arguments": {
        "fields": [
          {"name": "email", "value": "user@example.com"},
          {"name": "name", "value": "John Doe"},
          {"name": "age", "value": 25},
          {"name": "country", "value": "United States"},
          {"name": "subscribe", "value": true}
        ],
        "submit": false
      }
    }
  }'

Supported field types:

  • Text inputs (text, email, password, url, tel, number)
  • Textareas (multiline text)
  • Checkboxes (true/false)
  • Radio buttons (true/false)
  • Select dropdowns (by text or value)

Field finding strategies:

  • input[name='...']
  • input[id='...']
  • input[placeholder='...']
  • input[aria-label='...']
  • Associated label text

Alternative: Direct HTTP API (without MCP):

# Fill a login form
curl -X POST 'http://{host}/api/v1/executor/fill-form' \
  -H 'Content-Type: application/json' \
  -d '{
    "fields": [
      {"name": "username", "value": "john@example.com"},
      {"name": "password", "value": "secret123"},
      {"name": "remember", "value": true}
    ],
    "submit": true,
    "timeout": 10
  }'

# Fill a registration form (without submit)
curl -X POST 'http://{host}/api/v1/executor/fill-form' \
  -H 'Content-Type: application/json' \
  -d '{
    "fields": [
      {"name": "email", "value": "user@example.com"},
      {"name": "name", "value": "John Doe"},
      {"name": "age", "value": 25},
      {"name": "country", "value": "United States"}
    ],
    "submit": false
  }'

Response Example:

{
  "success": true,
  "message": "Successfully filled 3/3 fields and submitted form",
  "data": {
    "filled_count": 3,
    "total_fields": 3,
    "errors": [],
    "submitted": true
  }
}

Instructions

Step-by-step workflow:

  1. Discover commands: Call GET /help to see all available operations and their parameters (do this first if unsure).
  2. Navigate: Use POST /navigate to open the target webpage.
  3. Analyze page: Call GET /snapshot to understand page structure and get element RefIDs.
  4. Interact: Use element RefIDs (like @e1, @e2) or CSS selectors to:

- Click elements: POST /click - Input text: POST /type - Select options: POST /select - Wait for elements: POST /wait

  1. Extract data: Use POST /extract to get information from the page.
  2. Present results: Format and show extracted data to the user.

Complete Example

User Request: "Search for 'laptop' on example.com and get the first 5 results"

Your Actions:

  1. Navigate to search page:
curl -X POST 'http://{host}/api/v1/executor/navigate' \
  -H 'Content-Type: application/json' \
  -d '{"url": "https://example.com/search"}'
  1. Get page structure to find search input:
curl -X GET 'http://{host}/api/v1/executor/snapshot'

Response shows: @e3 Search (role: textbox) [placeholder: Search...]

  1. Type search query:
curl -X POST 'http://{host}/api/v1/executor/type' \
  -H 'Content-Type: application/json' \
  -d '{"identifier": "@e3", "text": "laptop"}'
  1. Press Enter to submit:
curl -X POST 'http://{host}/api/v1/executor/press-key' \
  -H 'Content-Type: application/json' \
  -d '{"key": "Enter"}'
  1. Wait for results to load:
curl -X POST 'http://{host}/api/v1/executor/wait' \
  -H 'Content-Type: application/json' \
  -d '{"identifier": ".search-results", "state": "visible", "timeout": 10}'
  1. Extract search results:
curl -X POST 'http://{host}/api/v1/executor/extract' \
  -H 'Content-Type: application/json' \
  -d '{
    "selector": ".result-item",
    "fields": ["text", "href"],
    "multiple": true
  }'
  1. Present the extracted data:
Found 15 results for 'laptop':
1. Gaming Laptop - $1299 (https://...)
2. Business Laptop - $899 (https://...)
...

Key Commands Reference

Navigation

  • POST /navigate - Navigate to URL
  • POST /go-back - Go back in history
  • POST /go-forward - Go forward in history
  • POST /reload - Reload current page

Element Interaction

  • POST /click - Click element (supports: RefID @e1, CSS selector, XPath, text content)
  • POST /type - Type text into input (supports: RefID @e3, CSS selector, XPath)
  • POST /select - Select dropdown option
  • POST /hover - Hover over element
  • POST /wait - Wait for element state (visible, hidden, enabled)
  • POST /press-key - Press keyboard key (Enter, Tab, Ctrl+S, etc.)

Data Extraction

  • POST /extract - Extract data from elements (supports multiple elements, custom fields)
  • POST /get-text - Get element text content
  • POST /get-value - Get input element value
  • GET /page-info - Get page URL and title
  • GET /page-text - Get all page text
  • GET /page-content - Get full HTML

Page Analysis

  • GET /snapshot - Get accessibility snapshot with RefIDs (⭐ ALWAYS call after navigation)
  • GET /clickable-elements - Get all clickable elements
  • GET /input-elements - Get all input elements

Advanced

  • POST /screenshot - Take page screenshot (base64 encoded)
  • POST /evaluate - Execute JavaScript code
  • POST /batch - Execute multiple operations in sequence
  • POST /scroll-to-bottom - Scroll to page bottom
  • POST /resize - Resize browser window

Element Identification

You can identify elements using:

  1. RefID (Recommended): @e1, @e2, @e3

- Most reliable method - stable across page changes - Get RefIDs from /snapshot endpoint - Valid for 5 minutes after snapshot - Example: "identifier": "@e1" - Works with multi-strategy fallback for robustness

  1. CSS Selector: #id, .class, button[type="submit"]

- Standard CSS selectors - Example: "identifier": "#login-button"

  1. Text Content: Login, Sign Up, Submit

- Searches buttons and links with matching text - Example: "identifier": "Login"

  1. XPath: //button[@id='login']

- XPath expressions - Example: "identifier": "//button[@id='login']"

  1. ARIA Label: Elements with aria-label attribute

- Automatically searched

Guidelines

Before starting:

  • Call GET /help if you're unsure about available commands or their parameters
  • Ensure browser is started (if not, it will auto-start on first operation)

During automation:

  • Always call /snapshot after navigation to get page structure and RefIDs
  • Prefer RefIDs (like @e1) over CSS selectors for reliability and stability
  • Use /wait for dynamic content that loads asynchronously
  • Check element states before interaction (visible, enabled)
  • Re-snapshot after page changes to get updated RefIDs
  • Use /batch for multiple sequential operations to improve efficiency

Error handling:

  • If operation fails, check element identifier and try different format
  • For timeout errors, increase timeout value
  • If element not found, call /snapshot again to refresh page structure and get new RefIDs
  • Explain errors clearly to user with suggested solutions

Data extraction:

  • Use fields parameter to specify what to extract: ["text", "href", "src"]
  • Set multiple: true to extract from multiple elements
  • Format extracted data in a readable way for user

Complete Workflow Example

Scenario: User wants to login to a website

User: "Please log in to example.com with username 'john' and password 'secret123'"

Your Actions:

Step 1: Navigate to login page

POST http://{host}/api/v1/executor/navigate
{"url": "https://example.com/login"}

Step 2: Get page structure

GET http://{host}/api/v1/executor/snapshot

Response:

Clickable Elements:
  @e1 Login (role: button)

Input Elements:
  @e2 Username (role: textbox)
  @e3 Password (role: textbox)

Step 3: Enter username

POST http://{host}/api/v1/executor/type
{"identifier": "@e2", "text": "john"}

Step 4: Enter password

POST http://{host}/api/v1/executor/type
{"identifier": "@e3", "text": "secret123"}

Step 5: Click login button

POST http://{host}/api/v1/executor/click
{"identifier": "@e1"}

Step 6: Wait for login success (optional)

POST http://{host}/api/v1/executor/wait
{"identifier": ".welcome-message", "state": "visible", "timeout": 10}

Step 7: Inform user

"Successfully logged in to example.com!"

Batch Operation Example

Scenario: Fill out a form with multiple fields

Instead of making 5 separate API calls, use one batch operation:

curl -X POST 'http://{host}/api/v1/executor/batch' \
  -H 'Content-Type: application/json' \
  -d '{
    "operations": [
      {
        "type": "navigate",
        "params": {"url": "https://example.com/form"},
        "stop_on_error": true
      },
      {
        "type": "type",
        "params": {"identifier": "#name", "text": "John Doe"},
        "stop_on_error": true
      },
      {
        "type": "type",
        "params": {"identifier": "#email", "text": "john@example.com"},
        "stop_on_error": true
      },
      {
        "type": "select",
        "params": {"identifier": "#country", "value": "United States"},
        "stop_on_error": true
      },
      {
        "type": "click",
        "params": {"identifier": "#submit"},
        "stop_on_error": true
      }
    ]
  }'

Best Practices

  1. Discovery first: If unsure, call /help or /help?command=<name> to learn about commands
  2. Structure first: Always call /semantic-tree after navigation to understand the page
  3. Use semantic indices: They're more reliable than CSS selectors (elements might have dynamic classes)
  4. Wait for dynamic content: Use /wait before interacting with elements that load asynchronously
  5. Batch when possible: Use /batch for multiple sequential operations
  6. Handle errors gracefully: Provide clear explanations and suggestions when operations fail
  7. Verify results: After operations, check if desired outcome was achieved

Common Scenarios

Form Filling

  1. Navigate to form page
  2. Get snapshot to find input elements and their RefIDs
  3. Use /type for each field: @e1, @e2, etc.
  4. Use /select for dropdowns
  5. Click submit button using its RefID

Data Scraping

  1. Navigate to target page
  2. Wait for content to load with /wait
  3. Use /extract with CSS selector and multiple: true
  4. Specify fields to extract: ["text", "href", "src"]

Search Operations

  1. Navigate to search page
  2. Get semantic tree to locate search input
  3. Type search query into input
  4. Press Enter or click search button
  5. Wait for results
  6. Extract results data

Login Automation

  1. Navigate to login page
  2. Get snapshot to find input fields and button RefIDs
  3. Type username: @e2
  4. Type password: @e3
  5. Click login button: @e1
  6. Wait for success indicator

Important Notes

  • Browser must be running (it will auto-start on first operation if needed)
  • Operations are executed on the currently active browser tab
  • Semantic tree updates after each navigation and click operation
  • All timeouts are in seconds
  • Use wait_visible: true (default) for reliable element interaction
  • Replace {host} with actual API host address
  • Authentication required: use X-BrowserWing-Key header or JWT token

Troubleshooting

Element not found:

  • Call /snapshot to see available elements and their RefIDs
  • Try different identifier format (semantic index, CSS selector, text)
  • Check if page has finished loading

Timeout errors:

  • Increase timeout value in request
  • Check if element actually appears on page
  • Use /wait with appropriate state before interaction

Extraction returns empty:

  • Verify CSS selector matches target elements
  • Check if content has loaded (use /wait first)
  • Try different extraction fields or type

Quick Reference

# Discover commands
GET http://{host}/api/v1/executor/help

# Navigate
POST http://{host}/api/v1/executor/navigate {"url": "..."}

# Get page structure
GET http://{host}/api/v1/executor/snapshot

# Click element
POST http://{host}/api/v1/executor/click {"identifier": "@e1"}

# Type text
POST http://{host}/api/v1/executor/type {"identifier": "@e3", "text": "..."}

# Extract data
POST http://{host}/api/v1/executor/extract {"selector": "...", "fields": [...], "multiple": true}

Response Format

All operations return:

{
  "success": true,
  "message": "Operation description",
  "timestamp": "2026-01-15T10:30:00Z",
  "data": {
    // Operation-specific data
  }
}

Error response:

{
  "error": "error.operationFailed",
  "detail": "Detailed error message"
}

平台分布

OpenCode

28.58%
按下载量换算51

Claude Code

19.9%
按下载量换算36

Antigravity

16.69%
按下载量换算30

Gemini CLI

12.67%
按下载量换算23

windsurf

7.3%
按下载量换算13

Codex

2.87%
按下载量换算5

安全审计

Gen Agent Trust Hub

未通过

Socket

可疑

Snyk

未通过

权限和风险

操作浏览器

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills