Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 90
  • 74k stars
  • CC0-1.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-browser

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install control-browser in Claude Code

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

A

No 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 →

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.

control-browser Install

Add to stack

Loading.