browserwing-executor
できること
実行中のブラウザをHTTPで操作するためのコマンドを、エージェントに与えます。エージェントに、Web上の作業を一つずつ進めさせたい人向けです。
使う場面
- ✓エージェントに、ページを開き、そこでクリック、入力、選択をさせたいとき。
- ✓Webページから文字や値を取り出す必要があるとき。
- ✓スクリーンショットや、一連の手順を順番に実行させたいとき。
スキルのリンク
https://github.com/MemTensor/MemOS/blob/main/apps/memos-local-openclaw/skill/browserwing-executor/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“料金ページを開いて、プラン名と価格を読み取り、スクリーンショットを撮ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、まずAPIにコマンドの一覧を尋ねます。そのあと、ページのアクセシビリティのスナップショットを読みます。見つけた要素に対して、クリックや抽出などのアクションを実行します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
Authentication: Use X-BrowserWing-Key: <api-key> header or Authorization: Bearer <token>
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://localhost:8080/api/v1/executor/help'
Response: Returns complete list of all commands with parameters, examples, and usage guidelines.
Query specific command:
curl -X GET 'http://localhost:8080/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://localhost:8080/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 LLMs
- RefIDs are stable references that work reliably across page changes
3. Common Operations
Navigate to URL
curl -X POST 'http://localhost:8080/api/v1/executor/navigate' \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com"}'
Click Element
curl -X POST 'http://localhost:8080/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://localhost:8080/api/v1/executor/type' \
-H 'Content-Type: application/json' \
-d '{"identifier": "@e3", "text": "user@example.com"}'
Extract Data
curl -X POST 'http://localhost:8080/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://localhost:8080/api/v1/executor/wait' \
-H 'Content-Type: application/json' \
-d '{"identifier": ".loading", "state": "hidden", "timeout": 10}'
Batch Operations
curl -X POST 'http://localhost:8080/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}
]
}'
Instructions
Step-by-step workflow:
Discover commands: Call
GET /helpto see all available operations and their parameters (do this first if unsure).Navigate: Use
POST /navigateto open the target webpage.Analyze page: Call
GET /snapshotto understand page structure and get element RefIDs.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
- Click elements:
Extract data: Use
POST /extractto get information from the page.Present results: Format and show extracted data to the user.
Complete Example
User Request: "Search for 'laptop' on example.com and get
よくある質問
エージェントは、最初にコマンドの一覧が必要ですか?
はい。このスキルは、ヘルプのエンドポイントを最初に呼び、利用できるすべてのコマンドとパラメーターを確認するよう求めています。
APIにはどうやってログインしますか?
リクエストは、ヘッダーのAPIキーか、ベアラートークンを使います。
複数のアクションを同時に実行できますか?
はい。複数の操作を順番に実行するバッチ処理に対応しています。
詳細
作者による元の説明
Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.
repo: MemTensor/MemOS
人気
- GitHubのスター
- 12k
- ランキング
- #11399
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
memos-local
12kエージェントが、OpenClaw用のローカルのメモリプラグインであるMemOSをインストールして設定し、自分のデバイス上で過去の会話を覚えられるよう支援します。
browserwing-admin
12kエージェントが、ブラウザの自動化ツールBrowserWingをインストールして管理するのを支援します。自動化スクリプトの作成、実行、修正を含みます。
memos-memory-guide
12kあなたが以前の会話、好み、過去の判断に言及したとき、エージェントが過去の会話とチームの共有メモリを検索して使えるように教えます。
ask-user-question
12kエージェントが、作業を進める前に、アプリ内の質問ボックスを開いて、選択、好み、承認をあなたに求められるようにします。
似ているスキル
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
verification-before-completion
311kタスク、修正、ビルドが完了した、または合格したと主張する前に、実際のチェックを実行し、その出力を読むようエージェントに教えます。
migrate-to-shoehorn
310kテストファイル内の危険な型キャストを、shoehornライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。