Best for
- Use when the user needs to inspect, test, or automate browser behavior: navigating pages, filling forms, clicking buttons, taking screenshots, extracting page data, reading selected OpenDesign browser-tab context, testi…
nexu-io/open-design/skills/agent-browser/SKILL.md
Browser automation CLI for AI agents. Use when the user needs to inspect, test, or automate browser behavior: navigating pages, filling forms, clicking buttons, taking screenshots, extracting page data, reading selected OpenDesign browser-tab context, testing web apps, dogfooding OpenDesign previews, QA, bug hunts, or reviewing app quality. Prefer local OpenDesign preview URLs unless the user explicitly asks for external browsing.
Decision brief
Use agent-browser for local OpenDesign preview validation: inspect rendered state, click/type when requested, and capture one screenshot when visual evidence matters. Keep the browser local-first unless the user explicitly asks for external browsing.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/nexu-io/open-design --skill "skills/agent-browser"Inspect the Agent Skill "agent-browser" from https://github.com/nexu-io/open-design/blob/edfa6b5f447e95cb120eae030f03baba00dc34de/skills/agent-browser/SKILL.md at commit edfa6b5f447e95cb120eae030f03baba00dc34de. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
1. Verify agent-browser is installed. 2. Redirect upstream docs to temp files; quote only relevant lines. 3. Ensure CDP is reachable, starting Chrome with open -na if needed. 4. Connect with agent-browser connect http://127.0.0.1:9223. 5. Open the local preview URL. 6. If the ru…
Verify the CLI before doing any browser work:
Never print full upstream guides into chat or tool output. Save them to temp files and extract only task-relevant lines:
For selected OpenDesign browser tabs and browser-use/browser-harness-style tasks, collect the smallest useful evidence first:
agent-browser must attach to an existing CDP endpoint. Never run agent-browser open before agent-browser connect; doing so can make the CLI auto-launch Chrome and re-enter the crash path.
Permission review
The documentation asks the agent to run terminal commands or scripts.
npm i -g agent-browserThe documentation asks the agent to run terminal commands or scripts.
Do not run OpenDesign's own daemon CLI as a browser automation tool. CommandsThe documentation includes network, browsing, or remote request actions.
if ! curl -fsS http://127.0.0.1:9223/json/version | rg -q webSocketDebuggerUrl; thenThe documentation includes network, browsing, or remote request actions.
if curl -fsS http://127.0.0.1:9223/json/version | rg -q webSocketDebuggerUrl; thenEvidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 77/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 91,167 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Use agent-browser for local OpenDesign preview validation: inspect rendered
state, click/type when requested, and capture one screenshot when visual evidence
matters. Keep the browser local-first unless the user explicitly asks for
external browsing.
When the run prompt contains selected workspace context, prefer the selected
browser tab URL/title as the target. Treat user phrases like "this page",
"the current browser", "right-side tab", "extract the logo", "get the palette",
"take an element screenshot", or "check OG/a11y" as requests about that selected
tab unless the user names another target.
Verify the CLI before doing any browser work:
command -v agent-browser
If missing, stop and tell the user to install it:
npm i -g agent-browser
agent-browser install
Do not replace the CLI with ad hoc browser scripts.
Never print full upstream guides into chat or tool output. Save them to temp files and extract only task-relevant lines:
AGENT_BROWSER_CORE="${TMPDIR:-/tmp}/agent-browser-core.$$.md"
agent-browser skills get core > "$AGENT_BROWSER_CORE"
rg -n "cdp|connect|snapshot|screenshot|click|type|wait|get title|get url" "$AGENT_BROWSER_CORE"
Use agent-browser skills get core --full only when needed, and redirect it to
a temp file the same way.
For selected OpenDesign browser tabs and browser-use/browser-harness-style tasks, collect the smallest useful evidence first:
agent-browser get title and agent-browser get url.agent-browser snapshot before any extraction or click.Save extracted design evidence as compact notes or assets in the project when the user is building from the reference. Do not paste full page HTML or large asset dumps into chat; summarize the relevant selectors, tokens, URLs, and screenshots.
agent-browser must attach to an existing CDP endpoint. Never run
agent-browser open before agent-browser connect; doing so can make the CLI
auto-launch Chrome and re-enter the crash path.
Do not run OpenDesign's own daemon CLI as a browser automation tool. Commands
such as od browser snapshot, daemon-cli.mjs browser snapshot, or
$OD_NODE_BIN $OD_BIN browser snapshot are not valid browser tools; they can be
misinterpreted as daemon startup and open an internal 127.0.0.1:<port> service
in the system browser. Use the external agent-browser CLI attached to CDP
instead.
Use this sequence:
if ! curl -fsS http://127.0.0.1:9223/json/version | rg -q webSocketDebuggerUrl; then
open -na "Google Chrome" --args \
--remote-debugging-port=9223 \
--user-data-dir=/tmp/od-agent-browser-chrome \
--no-first-run \
--no-default-browser-check
for i in {1..20}; do
if curl -fsS http://127.0.0.1:9223/json/version | rg -q webSocketDebuggerUrl; then
break
fi
sleep 0.5
done
fi
curl -fsS http://127.0.0.1:9223/json/version | rg webSocketDebuggerUrl
agent-browser connect http://127.0.0.1:9223
If CDP is still unavailable after polling, stop and ask the user to launch Chrome manually from Terminal:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remote-debugging-port=9223 \
--user-data-dir=/tmp/od-agent-browser-chrome \
--no-first-run \
--no-default-browser-check
If Chrome exits before CDP is ready or reports DevToolsActivePort, report:
"Chrome crashed before CDP became available; start Chrome manually with
--remote-debugging-port and retry attach."
Lightpanda is optional. Do not try --engine lightpanda unless
command -v lightpanda succeeds.
Use a temp home and stable session:
export HOME=/tmp/agent-browser-home
export AGENT_BROWSER_SESSION=od-local-preview
When you start a temporary Chrome profile for this smoke path, close it before finishing the task. Prefer a shell trap around the whole smoke script:
CHROME_USER_DATA_DIR=/tmp/od-agent-browser-chrome
cleanup_agent_browser() {
pkill -f -- "--user-data-dir=${CHROME_USER_DATA_DIR}" 2>/dev/null || true
}
trap cleanup_agent_browser EXIT INT TERM
With the OpenDesign preview at http://127.0.0.1:17573/, run:
if ! curl -fsS http://127.0.0.1:9223/json/version | rg -q webSocketDebuggerUrl; then
open -na "Google Chrome" --args \
--remote-debugging-port=9223 \
--user-data-dir="$CHROME_USER_DATA_DIR" \
--no-first-run \
--no-default-browser-check
for i in {1..20}; do
if curl -fsS http://127.0.0.1:9223/json/version | rg -q webSocketDebuggerUrl; then
break
fi
sleep 0.5
done
fi
curl -fsS http://127.0.0.1:9223/json/version | rg webSocketDebuggerUrl
agent-browser connect http://127.0.0.1:9223
agent-browser open http://127.0.0.1:17573/
agent-browser get title
agent-browser get url
agent-browser snapshot
agent-browser screenshot /tmp/od-agent-browser.png
Expected success: title OpenDesign, current URL under 127.0.0.1:17573,
visible OpenDesign UI text in the snapshot, and a screenshot at
/tmp/od-agent-browser.png.
agent-browser is installed.open -na if needed.agent-browser connect http://127.0.0.1:9223.Load these only when directly needed, and always redirect to temp files:
agent-browser skills get electron > "${TMPDIR:-/tmp}/agent-browser-electron.$$.md"
agent-browser skills get slack > "${TMPDIR:-/tmp}/agent-browser-slack.$$.md"
agent-browser skills get dogfood > "${TMPDIR:-/tmp}/agent-browser-dogfood.$$.md"
agent-browser skills get vercel-sandbox > "${TMPDIR:-/tmp}/agent-browser-vercel-sandbox.$$.md"
agent-browser skills get agentcore > "${TMPDIR:-/tmp}/agent-browser-agentcore.$$.md"
agent-browser skills list
Frequently asked questions
Use agent-browser for local OpenDesign preview validation: inspect rendered state, click/type when requested, and capture one screenshot when visual evidence matters. Keep the browser local-first unless the user explicitly asks for external browsing.
The source record exposes this install command: npx skills add https://github.com/nexu-io/open-design --skill "skills/agent-browser". Inspect the command and pinned source before running it.
Static rules flagged exec-script, network in the source; the page lists the matching lines and excerpts.
Alternatives
Jamie-BitFlight/claude_skills
Browser automation for AI agents using the agent-browser CLI and Playwright. Use when navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, logging into sites, or automating any browser task. Triggers on "open a website", "fill out a form", "click a button", "scrape data", "test this web app", "automate browser actions", or any programmatic web interaction request.
RTGS2017/NagaAgent
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
naveedharri/benai-skills
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
vasilyu1983/AI-Agents-public
Guides iOS testing with XCTest, XCUITest, Swift Testing, simctl, and xcresult. Use when choosing destinations, controlling flakes, or parsing test artifacts for native apps.