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.
npx agentmods add skills/sylin-org/ghostlight/control-browsernpx skills add sylin-org/ghostlight --skill control-browsergit clone --depth 1 https://github.com/sylin-org/ghostlightWrote 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.
[](https://agentmods.dev/skills/sylin-org/ghostlight/control-browser)<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>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.
| Model | Per session | Once 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 |
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.
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_inspectlists semantic controls (role, accessible name, state) and returnstarget_handles.scope: "document"returns a bounded structure tree under asnapshot_handle and diffs it against the prior snapshot, so one extra inspect proves whether your edit landed.browser_findranks 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, optionalrole, optionalexact) 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_formfills 1 to 30 fields in one call and proves a contained submit before clickingsubmit_target; it never submits without one. Use it over repeated typing.browser_type_textsends real per-character events, withfocused: trueto type into whatever is focused andclear_firstto replace. Use it when keystroke events matter.browser_clicktakes a target or a view point;click_countcovers double and triple.browser_press_keytakes 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_uploadattaches 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_executeruns 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.
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.
- 4d ago First seen · 90 lines · 79 tokens per session scan A 15291469a195
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.
Other skills, from other repositories
Browser-Use Automation
CLI tool for persistent browser automation with multi-session support, featuring Chromium/Real/Remote browser modes, cookie management, JavaScript execution, and long-running automation workflows.
website-explorer
Discover website capabilities from user behaviors. Learn APIs and automate workflows.
opencode-browser-plugin
Use the provider-neutral browser runtime through its four MCP or OpenCode tools.
drisp-browser
Drive a real browser against a live or staging website with the Drisp Browser (@drisp/browser-mcp) MCP tools (navigate, snapshot, click, type, find, getform, screenshot, etc.). Load it whenever the task is to actually open a URL and observe or act on the running page: read live page state, click, type, fill or submit…
website-explorer
通过用户行为发现网站能力,学习 API 并沉淀自动化流程.
interceptor-research
Deep web-research methodology for the interceptor browser surface — investigate a topic the way researchers, intelligence analysts, investigative journalists, private investigators, and OSINT operators do, not 'read 3 links and summarize.' Use when the task is research, deep research, investigate, go deeper, be…