control-browser

control-browser is a skill for Claude Code, Codex from sylin-org/ghostlight. It costs 79 tokens per session (1,270 once invoked), scanned A, original, Apache-2.0.

A browser-control skill for operating a user's visible, signed-in Chromium browser through governed tools.

In plain words
What is it for?
It helps open, navigate, inspect, search, click, type, fill forms, take screenshots, upload files, record actions, and verify web pages.
Why use it?
It provides a controlled way to inspect pages and interact with web forms without guessing which controls are present.

Skill for Claude CodeCodex

Part of the ghostlight plugin — 1 skill shipped together

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.

agentmods
npx agentmods add skills/sylin-org/ghostlight/control-browser
Any agent
npx skills add sylin-org/ghostlight --skill control-browser
Clone the repo
git clone --depth 1 https://github.com/sylin-org/ghostlight

Made for: Claude Code, Codex.

Or install ghostlight, the plugin that ships this one along with the rest of its 1 skill.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sylin-org/ghostlight/control-browser.svg)](https://agentmods.dev/skills/sylin-org/ghostlight/control-browser)
Your own site
<a href="https://agentmods.dev/skills/sylin-org/ghostlight/control-browser"><img src="https://agentmods.dev/badge/skills/sylin-org/ghostlight/control-browser.svg" alt="Measured on agentmods" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00079 $0.01270
Opus 5 $0.00039 $0.00635
Sonnet 5 $0.00016 $0.00254
Haiku 4.5 $0.00008 $0.00127

Measured 4d ago against content hash 15291469a195, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

control-browser 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 4d 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.

packaging/plugin/ghostlight/skills/control-browser/SKILL.md · 90 lines

How it starts

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

Controlling the browser with Ghostlight

These tools drive the user's visible Chromium browser through one governed path. Every call returns one envelope: status, effect, readiness, repeat_safe, a Ghostlight-authored summary, tool-specific facts, and up to two safe next_steps. Read the summary and next_steps before deciding what to do next; they are written to be followed.

Observe, then act

Perception handles are cheap and deliberate. Do not guess at page structure.

  • browser_inspect lists semantic controls (role, accessible name, state) and returns target_ handles. scope: "document" returns a bounded structure tree under a snapshot_ handle and diffs it against the prior snapshot, so one extra inspect proves whether your edit landed.
  • browser_find ranks controls by visible or accessible text. Use it when you know the label: the fastest route to a control is its name.
  • Acting on a stale target_ handle is refused on purpose: a navigation made the page unseen, so observe again. tab_ handles are different -- they are durable slots, and navigating through a closed one recreates the tab under the same handle and says so.
  • Typed selectors (name, optional role, optional exact) are accepted wherever target handles are, including waits. Prefer a selector when stashing a handle adds nothing.

Coordinates come from a view

Never invent pixel coordinates. browser_screenshot returns a view_ handle that binds coordinates to one tab, document generation, viewport, scale, and zoom. Click, hover, drag, and wheel-scroll at view_ pixels from the returned image; a bounded region capture returns a new, magnified view for precision. Coordinate input on a stale view is rejected -- take a fresh screenshot.

Acting

  • browser_fill_form fills 1 to 30 fields in one call and proves a contained submit before clicking submit_target; it never submits without one. Use it over repeated typing.
  • browser_type_text sends real per-character events, with focused: true to type into whatever is focused and clear_first to replace. Use it when keystroke events matter.
  • browser_click takes a target or a view point; click_count covers double and triple. browser_press_key takes one key or a stroke sequence with repeat and modifiers.
  • Credential-class fields (passwords, card numbers) stop before dispatch and ask for visible user handoff. That refusal is a feature; do not route around it.
  • browser_upload attaches local paths, inline base64 files (1 to 5, each and combined under 5,000,000 bytes), or a captured image, to a file input or dropped at a view point.
  • browser_execute runs page JavaScript and can mutate or navigate anything. Use a semantic tool whenever one fits; reach for execute only for what no other tool expresses.

Read the full file on GitHub · 90 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. 4d ago First seen · 90 lines · 79 tokens per session scan A 15291469a195

Subscribe to this mod's changes

control-browser is a skill published in the GitHub repository sylin-org/ghostlight (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 79 tokens to every session and 1,270 once invoked, about $0.0004 per session on Opus 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-31.