agent-browser

agent-browser is a skill for Claude Code from mifunedev/openharness. It costs 68 tokens per session (1,806 once invoked), scanned B, original, Apache-2.0.

A skill for opening web pages in agent-browser, a headless browser that visits sites without displaying a normal browser window. It checks that the browser and Chromium can launch before navigating.

In plain words
What is it for?
Use it to open URLs, choose desktop or mobile viewport sizes, keep sessions isolated, take screenshots, or test a website.
Why use it?
It catches browser setup problems early and provides a diagnostic trace when a page cannot be opened.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Good fit Use it to open URLs, choose desktop or mobile viewport sizes, keep sessions isolated, take screenshots, or test a website.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mifunedev/openharness/agent-browser
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 mifunedev/openharness --skill agent-browser
Clone the repo
git clone --depth 1 https://github.com/mifunedev/openharness

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mifunedev/openharness/agent-browser/github.svg)](https://agentmods.dev/skills/mifunedev/openharness/agent-browser)
Your own site
<a href="https://agentmods.dev/skills/mifunedev/openharness/agent-browser"><img src="https://agentmods.dev/badge/skills/mifunedev/openharness/agent-browser/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 agent-browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/mifunedev/openharness/agent-browser"><img src="https://agentmods.dev/badge/skills/mifunedev/openharness/agent-browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,806 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 128
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • high Tool Misuse · line 131
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Privilege Escalation · line 68
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 131
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium MCP Rug Pull · line 74
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00068 $0.01806
Opus 5.5 $0.00027 $0.00722
Sonnet 5.5 $0.00014 $0.00361
Haiku 4.5 $0.00007 $0.00181

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

Security

Grade B, and why

agent-browser scanned grade B with 2 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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Do not reach for `sudo npm install -g`.** It lands under

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

IP=$(curl -sf "https://cloudflare-dns.com/dns-query?name=${HOSTNAME}&type=A" \
.oh/skills/agent-browser/SKILL.md · 202 lines

How it starts

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

Agent Browser

Open a URL in the headless browser. Runs a health check first — if the browser is broken, errors out with a full diagnostic trace so the user can fix it.

Instructions

Step 1 — Parse arguments

Arguments received: $ARGUMENTS

  • URL: $0 (required)
  • VIEWPORT: value after --viewport flag if present. Default: desktop
  • SESSION: value after --session flag if present (optional, for session isolation)

If URL is missing, ask the user to provide it.

Viewport defaults

Name Width Height
desktop 1280 720
mobile 414 896

Default is desktop if --viewport is not specified.

Step 2 — Preflight health check

Run each check sequentially. If any check fails, stop immediately and report the full diagnostic trace to the user.

2a. Check agent-browser is installed
command -v agent-browser && agent-browser --version 2>&1 || echo "FAIL: agent-browser not found in PATH"

If not found, install it through the CLI — the catalog entry pins the version, fixes the binary's mode, and runs agent-browser install --with-deps for you:

oh tool install agent-browser --yes

--yes is required whenever stdin is not a TTY: the entry declares a ~1 GB download, and the confirmation gate refuses rather than prompting.

Verify:

agent-browser --version     # → agent-browser 0.8.5
agent-browser open about:blank && agent-browser close

Notes:

  • 0.8.5 — later majors have breaking CLI changes; the rest of this skill targets 0.8.5's flags. The catalog owns the pin.
  • Do not reach for sudo npm install -g. It lands under /usr/lib/node_modules, which no running sandbox can upgrade in place. Use oh tool install agent-browser: the catalog installs into $PNPM_HOME under the sandbox user's own home.
  • If agent-browser install --with-deps ever ends with sh: 1: playwright: not found, the playwright CLI is missing: npx playwright install chromium after pnpm add -g playwright@latest.

Read the full file on GitHub · 202 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. 2mo ago Changed · -4 lines dc465db5ca93
  2. 3mo ago First seen · 206 lines · 68 tokens per session scan B 5d5367320c47

Subscribe to this mod's changes

agent-browser is a skill published in the GitHub repository mifunedev/openharness (37 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,806 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-browser compared with skills from other repositories

agent-browser next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-browsermifunedev/openharnessSkill372mo agoApache-2.0B68Claude Code
interactive-mapjgouviergmail/LIA-AssistantSkill80todayAGPL-3.0A53Claude Code, Codex
data-visualizationlangchain-ai/deepagentsSkill32ktodayMITA40Claude Code, Codex
cuml-machine-learninglangchain-ai/deepagentsSkill32ktodayMITA43Claude Code, Codex
blog-postlangchain-ai/deepagentsSkill32ktodayMITA58Claude Code, Codex
social-medialangchain-ai/deepagentsSkill32ktodayMITA58Claude Code, Codex
rememberlangchain-ai/deepagentsSkill32ktodayMITA71Claude Code, Codex