一键导入
browser-test
Validates browser behavior with agent-browser and sends a browser-check report back to the requester session.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validates browser behavior with agent-browser and sends a browser-check report back to the requester session.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use for non-trivial implementation tasks that require meaningful code changes.
Shared mailbox transport protocol for Agent Deck workflows.
Handles a `closeout_delivered` workflow message and completes planner-side closeout.
Generates a browser-check mailbox message for runtime page validation and sends it to a browser-tester session.
Claim pending agent mail with `mailbox_recv` and immediately execute the requested workflow action.
Send an `execute_plan` workflow message to a planner that should complete one supervisor-assigned goal inside one workspace and report back to a supervisor.
基于 SOC 职业分类
| name | browser-test |
| description | Validates browser behavior with agent-browser and sends a browser-check report back to the requester session. |
Run browser validation from a browser_check_requested mailbox body and report the result back to the requester session.
Workflow protocol baseline: use the agent-deck-workflow skill.
Provide the mailbox body from browser_check_requested.
Use agent-browser as the main validation tool.
Preferred commands:
agent-browser openagent-browser waitagent-browser snapshot -iagent-browser clickagent-browser fillagent-browser getagent-browser consoleagent-browser errorsagent-browser screenshotKeep this basic CLI shape in mind while executing browser checks:
agent-browser - fast browser automation CLI for AI agents
Usage: agent-browser <command> [args] [options]
Core Commands:
open <url> Navigate to URL
click <sel> Click element (or @ref)
type <sel> <text> Type into element
fill <sel> <text> Clear and fill
press <key> Press key (Enter, Tab, Control+a)
wait <sel|ms> Wait for element or time
screenshot [path] Take screenshot
snapshot Accessibility tree with refs (for AI)
eval <js> Run JavaScript
close Close browser
Navigation:
back Go back
forward Go forward
reload Reload page
Get Info: agent-browser get <what> [selector]
text, html, value, attr <name>, title, url, count, box, styles, cdp-url
Check State: agent-browser is <what> <selector>
visible, enabled, checked
Examples:
agent-browser open example.com
agent-browser snapshot -i
agent-browser click @e2
agent-browser fill @e3 "test@example.com"
agent-browser get text @e1
agent-browser screenshot --full
agent-browser wait --load networkidle
For browser-test work, default to snapshot -i to get stable element refs, then interact via @e... refs when possible.
Before the first browser action in a workflow turn, run a minimal environment check:
agent-browser is available with command -v agent-browseragent_mailboxUse this exact structure as the mailbox body:
Task: <task_id>
Action: browser_check_report
From: browser-tester <browser_tester_session_id>
To: <requester_role> <requester_session_id>
Planner: <planner_session_id_or_N/A>
Round: <round>
## Decision
PASS / FAIL / UNKNOWN
## Coverage
[What batch of scenarios or checks were actually exercised]
## Findings
- [finding or `None`]
## Code Change Summary
- Code changed: [yes/no]
- Branch: [branch name or `N/A`]
- Commit: [short prefix or `N/A`]
- Files changed: [list or `None`]
## Evidence
- Steps executed: [summary]
- Console errors: [summary or `None`]
- Page errors: [summary or `None`]
- Network observations: [summary or `None`]
- Screenshots: [paths or `None`]
## Reproduction
1. [short repro path]
## Residual Risk
[What remains unverified]
Use the agent-deck-workflow skill for shared protocol.
Skill-specific context resolution:
task_id: explicit -> mailbox body -> askplanner_session_id: explicit -> mailbox body -> askbrowser_tester_session_id: explicit -> mailbox body To header -> bound mailbox sender context -> askrequester_session_id: explicit -> mailbox body From header -> askrequester_workspace: explicit -> mailbox body -> askrequester_role: explicit -> mailbox body From header -> default requesterround: explicit -> mailbox body Round header -> default 1Execution flow:
agent-browser is unavailable, stop and report the blocker instead of improvising with another browser toolagent-browser
browser_check_reportagent_mailboxagent_deck_require_session with:
session_id = <requester_session_id>workdir = <requester_workspace>mailbox_send
from_address = agent-deck/<browser_tester_session_id>to_address = agent-deck/<requester_session_id>subject = "browser report: <task_id> r<round>"body = <browser-check report body>UNKNOWN when environment, auth, data, or setup blocks a reliable resultagent-browser is missing, or required session identity cannot be resolved from explicit metadata plus bound mailbox sender context, state that explicitly in the report or blocker messagemailbox_send back to the requester has succeeded