control-browser
Skill by asgeirtj
Automates browser and web UI tasks inside ZCode, including page navigation, clicks, form filling, screenshots and checks on local HTTP targets. Built for developers who test frontends and read rendered pages.
Install control-browser
Built from the published package, never by AI.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.claude/skills && cp -r /tmp/system_prompts_leaks/GLM/skills/control-browser ~/.claude/skills/control-browserRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks /tmp/system_prompts_leaks && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/system_prompts_leaks/GLM/skills/control-browser ~/.gemini/antigravity-cli/skills/control-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
control-browser is a skill for ZCode that lets the assistant open, navigate, inspect, test, click, type, fill and screenshot web pages. It also covers local HTTP targets such as localhost, 127.0.0.1 and ::1. The browser is driven through the Node REPL MCP js tool and a browser registry that lists IAB, extension and CDP backends. The skill says to prefer it over Computer Use for work that stays inside a web page, unless the user asks for Computer Use.
Each js call runs in a fresh kernel, so the skill requires a bootstrap step and tab validation before acting. Pages are read with a Playwright DOM snapshot, and actions go through locators built from snapshot facts. It is aimed at ZCode users doing browser and web UI automation, rendered-page scraping, frontend checks and visible page-state reading. The skill is for the main agent only.
Written from the project's SKILL.md and checked against it.
What it can do
- mcp__node_repl__jsRuns the browser setup and later browser calls as JavaScript in a fresh kernel per call.
- agent.browsers.listReports which browser backends are available in the current runtime.
- tab.playwright.domSnapshotReturns a compact AI/ARIA tree of the rendered page, used as the main way to read it.
- tabs.list and tabs.getLists controlled tabs with ids, URLs and titles, and activates a chosen tab by id.
- tab.gotoNavigates a tab to a URL, followed by an explicit DOM content loaded wait.
- Playwright locatorsClicks, fills and selects elements using getByRole, getByText, getByLabel and similar methods.
- ScreenshotsTakes screenshots of visible page state when the visual branch of the skill applies.
What you need
- ZCode
- Node REPL MCP js tool
Try asking
- Open localhost:3000 and check that the login form renders correctly
- Fill the signup form on this page and report any validation errors
- Read the visible text of the pricing page and summarize the plans
Good to know
- Extension and CDP backends are used only when the runtime advertises them.
- Each js call starts a fresh kernel, so variables and browser bindings do not persist.
- Routine URL and load-state waits are capped at 3000ms.
- The skill is for the main agent only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: GLM/skills/control-browser/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md18 KB
Alternatives to control-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
control-browser: common questions
Should I use control-browser or Computer Use for web pages?
The skill says to prefer it over Computer Use for anything that stays inside a web page. Computer Use is used only when the user explicitly asks for it.
Can control-browser test localhost apps?
Yes. The skill covers local HTTP targets at localhost, 127.0.0.1 and ::1 inside ZCode.
Which browser backends does it support?
The source names IAB, extension and CDP as backend types. Availability is checked with agent.browsers.list(), and headless mode is a CDP launch mode.
How do I install control-browser?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is control-browser free?
The code is published under the CC0-1.0 licence. The service it connects to may have its own pricing.
Is control-browser safe to use?
It scores 90 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 control-browser?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
