opencode-browser-plugin

A browser-automation skill that lets a coding agent use a provider-neutral browser through OpenCode tools.

In plain words
What is it for?
It helps search pages, perform browser actions, use named browser profiles, and inspect results after an interaction.
Why use it?
It gives the agent a structured way to handle tasks that require a website interface when an API or connector is unavailable, and to verify what a page looks like.

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

Made for: Claude Code, Codex.

Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,528 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.00020 $0.01528
Opus 5 $0.00010 $0.00764
Sonnet 5 $0.00004 $0.00306
Haiku 4.5 $0.00002 $0.00153

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

Security

Grade A, and why

opencode-browser-plugin 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 yesterday.

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/opencode-browser-plugin/SKILL.md · 62 lines

How it starts

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

opencode-browser-plugin

Prefer a structured connector or API when it can complete the task. Use these browser tools for UI-only work, connector gaps, and visual verification. Do not switch to raw Node, Playwright, or another browser integration when this runtime is available.

Use browser_run, browser_observe, browser_session, and browser_finalize. Pass a user-named profile on the first useful call. Avoid status-only calls. Combine find, action, conditional settling, and post-observation in one browser_run; never synthesize fixed-delay wait steps.

Reuse sessionId. Page search uses the Snowflake model by default. Pass searchStrategy: "lexical" for lowest latency, "auto" for lexical-first adaptive retrieval, or "deep" for multilingual, code-heavy, or genuinely semantic retrieval. Request advanced descriptions with browser_observe mode capabilities, then execute a capability through a browser_run step without adding top-level tools.

Choose the browser surface deliberately. An explicit user request for a named profile or browser wins over URL-based selection; when no profile is named, let the target URL select the profile; with neither, use the default profile. Selection and discovery stay read-only — never inspect cookies, storage, profiles, passwords, or session stores. When authentication blocks a requested navigation, ask the user to sign in directly in their browser; do not substitute another profile or bypass the sign-in with a search engine, a mirror site, or any other source.

When browser setup succeeds but discovery or selection fails, read docs/troubleshooting.md — topic #discovery — before retrying. When extension or native-host installation or communication fails, read #installation before taking another recovery action.

When the user asks to continue, resume, or recall what a prior session did — or when the target describes a reasonably repeatable multi-step workflow (logins aside) that you or a previous run already attempted — consult local action memory instead of re-exploring from scratch: call memory_status first, then one bounded memory_search "<task intent>" (and memory_query only for provenance) before broader page or tab discovery. memory_search returns at most three high-level recipes and already rejects unrelated matches; if a returned recipe fits, prefer replaying it through browser_run with memoryMode: "auto" and memoryIntent: "<task intent>" — the runtime re-resolves each remembered target against the live DOM through the ordinary execution path and falls back to normal exploration automatically when a step is stale. Typed values and URLs always come from your own request, never from memory. Treat results as evidence, not a transcript: reuse confirmed routes, treat returned negative lessons as what failed, verify current page state through the least intrusive observation, and ask the user when intent is missing. Never consult memory for unrelated tasks, and continue normally when memory is absent, disabled, unhealthy, or search returns nothing.

For deeper network inspection of one controlled tab, request the lazy network pack and then run network.inspect:

{"mode":"capabilities","pack":"network"}
{
  "steps": [{
    "action": "capability",
    "capability": "network.inspect",
    "input": {"tabId": 123, "urlIncludes": "/api/", "includeHeaders": true}
  }]
}

The default network result is lifecycle-only. Headers are redacted, bodies are disabled by default, and includeBody: "request" | "response" | "both" is bounded, redacted, and approval-gated.

When a result is approval_required, review the chain and call browser_run again with only approvalToken. Never recreate or modify the approved chain. Retrieve screenshots and oversized results from their artifact URI. When the work is complete, call browser_finalize and pass keep only for tabs that must survive:

  • {"tabId": <id>, "status": "deliverable"} — the live tab itself is the user-facing output: a created or edited document, spreadsheet, dashboard, checkout, submitted form result, or a page the user explicitly asked to keep open. Deliverables move into the blue OpenCode Deliverables group.
  • {"tabId": <id>, "status": "handoff"} (the default when a status is omitted) — work must continue from the live page in a later turn: a page waiting for user input, login, approval, payment, CAPTCHA, or an unfinished workflow. Handoffs stay inside the session's green group and remain available in later turns; mark them again at the end of that later turn if they must survive it too, because the latest mark per tab wins.
  • Do not keep research, search, source, intermediate, duplicate, blank, or error pages. Extract what you need and let finalize close them.
  • Agent-created tabs that are not kept are closed; user-claimed tabs that are not kept are released without closing.

Read the full file on GitHub · 62 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 62 lines · 20 tokens per session scan A a5fa4ee10bb9

Subscribe to this mod's changes

opencode-browser-plugin is a skill published in the GitHub repository Quindart-com/opencode-chromium (10 stars, last pushed 2d ago), licensed MIT. It adds 20 tokens to every session and 1,528 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.

Related

Other skills, from other repositories

version-upgrade

Prepare, validate, and publish a Rustwright version across the Python/PyPI and Node.js/npm packages. Use when asked to bump or upgrade the Rustwright version, prepare a release PR, tag a release, publish Rustwright, or verify both package registries.

Skyvern-AI/rustwright · 58 tokens

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…

drisplabs/browser-mcp · 213 tokens

aim-browser

Headed Chromium CDP CLI: tabs, navigate, click/type, extract, screenshots, optional captcha hold helper. Use for general page exploration when a one-verb skill is not enough. Not Puppeteer/Playwright.

BrianV1981/aim-browser · 48 tokens

aim-google-ai

Google Search AI Mode (udm=50) via headed Chromium. Returns answer text and sources as markdown + JSON. Use for AI Mode answers, not classic blue links.

BrianV1981/aim-browser · 39 tokens

aim-form-fill

Fill form fields on an allowlisted host. Requires --allow-host and --fields. Never submits unless --submit. Redacts password-like values in output.

BrianV1981/aim-browser · 35 tokens

aim-login-hold

Open a URL and wait for Operator human login or CAPTCHA. Continues when --ready-file is created or URL matches --until-url-includes. Never captures passwords. Window visible by default for this skill.

BrianV1981/aim-browser · 46 tokens