Browser Control

Browser Control is a skill for Claude Code, Codex from agent0ai/space-agent. It costs 16 tokens per session (1,477 once invoked), scanned A, original, MIT.

A set of controls for inspecting and operating web pages in open browser windows.

In plain words
What is it for?
Use it to open pages, navigate, reload, read content, inspect page structure, click links, enter text, submit forms, and scroll.
Why use it?
It avoids guessing which page is open or whether an interaction finished, so browser tasks can use current page content and results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to open pages, navigate, reload, read content, inspect page structure, click links, enter text, submit forms, and scroll.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agent0ai/space-agent/browser-control
About the project

Space Agent is a browser-based agent workspace that can build pages, tools, widgets, and workflows directly into the running interface. It is for users who want an extensible personal or collaborative assistant whose capabilities can grow through modular pieces and text-based skills. Catalogue add-ons extend the agent's skills and workflows.

agent0ai/space-agent · 1,421 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agent0ai/space-agent --skill browser-control
Clone the repo
git clone --depth 1 https://github.com/agent0ai/space-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Browser Control

README.md
[![agentmods](https://agentmods.dev/badge/skills/agent0ai/space-agent/browser-control/github.svg)](https://agentmods.dev/skills/agent0ai/space-agent/browser-control)
Your own site
<a href="https://agentmods.dev/skills/agent0ai/space-agent/browser-control"><img src="https://agentmods.dev/badge/skills/agent0ai/space-agent/browser-control/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Browser Control

Your own site · 80×15
<a href="https://agentmods.dev/skills/agent0ai/space-agent/browser-control"><img src="https://agentmods.dev/badge/skills/agent0ai/space-agent/browser-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,477 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.01477
Opus 5.5 $0.00006 $0.00591
Sonnet 5.5 $0.00003 $0.00295
Haiku 4.5 $0.00002 $0.00148

Measured 3mo ago against content hash 1be4eac17c39, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Browser Control scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

app/L0/_all/mod/_core/skillset/ext/skills/browser-control/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Use this skill once at least one browser surface is open. browser-manager handles stand-alone window open or close work.

transient

  • currently open web browsers lists browser id|url|title
  • last interacted web browser may include fresh page content↓ with typed ref markers such as [link 12], [button 18], [image 24], or [input text 30]

workflow

  • pick the target from transient or an explicit numeric browser id such as 1
  • space.browser helpers already settle navigation state internally; do not call a separate sync step
  • open, navigate, history, reload, state(...), content(...), detail(...), and dom(...) settle internally and return fresh read results without a separate sync step, and evaluate(...) still resolves a ready guest without requiring a separate sync step first
  • ref-targeted action helpers such as click, type, submit, typeSubmit, and scroll return { action, state }; inspect result.action.status before retrying
  • open(...) and typed navigate(...) treat bare hosts like novinky.cz or localhost:3000 as browser-address input instead of app-relative paths
  • widget or page-authored <x-browser src="google.com"></x-browser> surfaces appear in the same browser list as stand-alone windows
  • inspection helpers such as content(...), detail(...), dom(...), and state(...) also settle internally and mark that browser as the current prompt-time page-content source
  • prefer the fresh last interacted web browser transient block after open, navigate, history, reload, and ref-targeted actions before asking for another explicit content(...) capture
  • use content(...) to get readable page content with stable typed refs for the latest capture; unlike dom(...), it should stay cleaned up for agent use and should not include raw helper wrapper markup from nested frames or shadow roots
  • dom(...) and content(...) accept either { selector: "..." } or { selectors: ["...", "..."] } when you want a scoped read instead of the whole page
  • content(...) is lean by default to save tokens: it uses typed ref boxes like [link 12] Story, [disabled muted button 18] Continue, [checked checkbox 7] Email updates, or [input text 30] Search placeholder=Hledat value=Ethereum, omits link destinations, omits quotes around labels, and omits list bullets while keeping list indentation
  • those refs also cover generic controls wired through framework or inline handlers such as @click, x-on:click, v-on:click, or onclick
  • state and semantic tags are best-effort hints, not absolute truth; use detail(id, ref) when actionability is unclear
  • if you need flatter output, content(id, { includeStateTags: false, includeSemanticTags: false }) suppresses those extra bracket tags
  • images also get refs now, so detail(id, ref) works for image targets too
  • if a specific link or image target matters, prefer detail(id, ref) on that reference instead of asking content(...) to print every -> url
  • use detail(...) for deeper DOM on one ref before acting, and use it to inspect a link's real href, an image source, another referenced DOM target, or richer state metadata when the destination or actionability matters
  • use click, type, submit, typeSubmit, and scroll only with refs from the latest content(...) capture
  • typeSubmit(...) types into the field and then presses Enter in that same field
  • any new content(...) call or navigation replaces the old ref ids
  • prefer high-level helpers first; use evaluate(id, script) or send(id, "evaluate", { script }) only as a last resort when refs or navigation helpers cannot express the step, and remember that the last evaluated expression or resolved promise value becomes the result
  • if result.action.status.noObservedEffect === true, stop retrying the same action and re-read the page or inspect the relevant control with detail(...)
  • treat validationTextAdded, nearbyTextChanged, descriptorChanged, valueChanged, checkedChanged, selectedChanged, and semanticHints as evidence about what the page did after your action
  • use numeric ids like 1, not browser-1

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 111 lines · 16 tokens per session scan A 1be4eac17c39

Subscribe to this mod's changes

Browser Control is a skill published in the GitHub repository agent0ai/space-agent (1,421 stars, last pushed 5mo ago), licensed MIT. It adds 16 tokens to every session and 1,477 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Browser Control compared with skills from other repositories

Browser Control next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Browser Controlagent0ai/space-agentSkill1.4k5mo agoMITA16Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k6d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3ktodayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4k3d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
browser_cdpmateaix/mateclawSkill1.2ktodayApache-2.0A44Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1ktodayMITA40Claude Code