agent-browser
Skill by nexu-io
Automates a browser through the agent-browser CLI so an AI agent can inspect, test and screenshot web pages. Built for QA, bug hunts and checking local OpenDesign previews.
Install agent-browser
Built from the published package, never by AI.
git clone --depth 1 https://github.com/nexu-io/open-design /tmp/open-design && mkdir -p ~/.claude/skills && cp -r /tmp/open-design/skills/agent-browser ~/.claude/skills/agent-browserRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/nexu-io/open-design /tmp/open-design && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/open-design/skills/agent-browser ~/.gemini/antigravity-cli/skills/agent-browserAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
agent-browser is a skill that tells an AI agent how to drive a browser with the agent-browser CLI. It covers navigating pages, filling forms, clicking buttons, taking screenshots, extracting page data and reading the selected OpenDesign browser tab. The skill prefers local OpenDesign preview URLs unless the user explicitly asks for external browsing.
The agent must attach to an existing Chrome DevTools Protocol endpoint, usually on port 9223, rather than letting the CLI launch Chrome. The skill includes a smoke path that connects, opens the preview, takes a snapshot and captures a screenshot. It is aimed at developers and QA work that tests web apps, dogfoods OpenDesign previews and reviews app quality. Its safety rules require confirmation before forms are submitted or data is changed.
Written from the project's SKILL.md and checked against it.
What it can do
- Page inspectionReads the current page title and URL, and captures a snapshot before any click or extraction.
- Clicking and typingClicks buttons and types into fields when the user requests it.
- ScreenshotsSaves page screenshots and, where the core guide supports it, element screenshots.
- Design evidence extractionExtracts logos, fonts, colors, images, motion code, OG metadata and accessibility details.
- Selected tab contextReads the selected OpenDesign browser tab and uses its URL as the target.
- CDP connectionConnects the CLI to an existing Chrome endpoint on a remote debugging port.
- Upstream guide handlingSaves upstream guides to temp files and pulls only the lines relevant to the task.
What you need
- agent-browser CLI installed with npm
- Google Chrome with a remote debugging port
- macOS, as the launch commands use open -na and the Chrome app path
Try asking
- Open my local OpenDesign preview and take a screenshot of the page.
- Extract the logo, fonts and colors from the selected browser tab.
- Run a QA pass on the local preview and list visible issues.
Good to know
- Must attach to an existing CDP endpoint; the CLI should not run open before connect.
- Form submits, data changes and purchases need explicit user confirmation.
- Does not bypass CAPTCHAs, paywalls, security interstitials or age checks.
- The Lightpanda engine is optional and used only if installed.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/agent-browser/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB
Alternatives to agent-browser
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
agent-browser: common questions
Does agent-browser open external websites?
It keeps the browser local-first and prefers local OpenDesign preview URLs. External browsing happens only when the user explicitly asks for it.
Can it submit forms on my behalf?
Not without explicit user confirmation at the time of the action. The safety rules also cover sending messages, uploading files and deleting data.
Why does it need Chrome running with a debugging port?
The skill says the CLI must attach to an existing CDP endpoint. Running open before connect can make the CLI auto-launch Chrome and crash.
How do I install agent-browser?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agent-browser free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is agent-browser safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agent-browser?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
