browser-automation

browser-automation is a skill for Claude Code, Codex from mirsella/opencode-browser-mcp. It costs 28 tokens per session (424 once invoked), scanned A, original, MIT.

A browser-automation skill for inspecting and interacting with websites in a real browser.

In plain words
What is it for?
Use it to open pages, fill forms, click controls, capture screenshots, inspect accessibility or rendered content, and diagnose console or network problems.
Why use it?
It helps investigate behavior that plain source-code inspection cannot show, such as rendered layouts, login-dependent pages, browser errors, and network requests.

Skill for Claude CodeCodex

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/mirsella/opencode-browser-mcp/browser-automation
Any agent
npx skills add mirsella/opencode-browser-mcp --skill browser-automation
Clone the repo
git clone --depth 1 https://github.com/mirsella/opencode-browser-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mirsella/opencode-browser-mcp/browser-automation.svg)](https://agentmods.dev/skills/mirsella/opencode-browser-mcp/browser-automation)
Your own site
<a href="https://agentmods.dev/skills/mirsella/opencode-browser-mcp/browser-automation"><img src="https://agentmods.dev/badge/skills/mirsella/opencode-browser-mcp/browser-automation.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 424 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.00028 $0.00424
Opus 5 $0.00014 $0.00212
Sonnet 5 $0.00006 $0.00085
Haiku 4.5 $0.00003 $0.00042

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

Security

Grade A, and why

browser-automation 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 3d 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.

skills/browser-automation/SKILL.md · 40 lines

How it starts

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

Browser Automation

Use the browser tools when the task requires rendered state, authentication, client-side behavior, layout, accessibility, console output, or network traffic.

OpenCode normally exposes two compact tools:

  • browser_help lists action names or loads the current schema for one action.
  • browser_dispatch executes an action with { action, arguments }.

For compact browser_dispatch, put every action-specific field inside arguments, not beside it. For example, use { "action": "navigate_page", "arguments": { "url": "https://example.com" } }.

Common actions include navigate_page, take_snapshot, click, fill_form, take_screenshot, evaluate_script, list_console_messages, and list_network_requests. Call browser_help for an action before using it when its exact arguments are not already clear. Do not guess argument shapes.

Direct browser_* action tools may appear when compact tools are disabled. Use them directly with the same workflow.

Workflow

  1. Reuse the current page by default. Use navigate_page to change URLs or reload after code or deployment changes. Use new_page only when simultaneous pages are necessary, and close temporary pages when finished.
  2. Navigate, then inspect the page before interacting.
  3. Use the latest snapshot to identify elements and references. Refresh it after navigation or meaningful DOM changes.
  4. Perform the smallest interaction needed, then inspect the result.
  5. Verify consequential actions from visible state or relevant diagnostics.

Use screenshots when visual appearance, responsive layout, rendering, or image output matters. Prefer snapshots for locating elements and understanding page structure.

Inspect console messages for client-side exceptions and warnings. Inspect network requests when diagnosing API failures, redirects, authentication, caching, or unexpected response data.

Do not claim an interaction succeeded solely because a tool call returned without an error; verify its observable result.

Read the full file on GitHub · 40 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. 3d ago First seen · 40 lines · 28 tokens per session scan A cc88fbced56f

Subscribe to this mod's changes

browser-automation is a skill published in the GitHub repository mirsella/opencode-browser-mcp (1 stars, last pushed 9d ago), licensed MIT. It adds 28 tokens to every session and 424 once invoked, about $0.0001 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.