browser-harness-skill

browser-harness-skill is a skill for Claude Code from zeenie-ai/OpenCompany. It costs 49 tokens per session (1,485 once invoked), scanned A, original, MIT.

A tool for controlling the user's actual Chrome browser through screenshots, clicks, JavaScript, and form input.

In plain words
What is it for?
Open pages, switch tabs, read page content, fill forms, click by screen coordinates, run page scripts, and verify results visually.
Why use it?
It helps automate websites that require the user's existing login or do not work well with standard browser automation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Open pages, switch tabs, read page content, fill forms, click by screen coordinates, run page scripts, and verify results visually.

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

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 browser-harness-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zeenie-ai/opencompany/browser-harness-skill"><img src="https://agentmods.dev/badge/skills/zeenie-ai/opencompany/browser-harness-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,485 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00049 $0.01485
Opus 5 $0.00024 $0.00743
Sonnet 5 $0.00010 $0.00297
Haiku 4.5 $0.00005 $0.00148

Measured 7d ago against content hash 26cf4374d34d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

browser-harness-skill 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 7d 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.

server/skills/web_agent/browser-harness-skill/SKILL.md · 115 lines

How it starts

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

Browser Harness Skill

Controls the user's real Chrome through raw CDP (browser-use/browser-harness). Unlike the browser tool (accessibility tree + @eN refs), this tool is vision-first: you look at screenshots and click coordinates, with js() for reading the DOM. Use it when you need the user's logged-in browser, sites that fight automation frameworks, or interactions the structured tool can't express.

Core Workflow

The see -> act -> verify loop, written as Python in operation: run_python:

  1. capture_screenshot() to SEE the page (the returned path is an image you can view)
  2. click_at_xy(x, y) at coordinates you identified from the screenshot
  3. wait_for_load() after anything that navigates
  4. capture_screenshot() again to verify the result
  5. js(...) when you need exact text/attributes instead of pixels
{"operation": "run_python", "code": "ensure_real_tab()\ngoto_url('https://example.com')\nwait_for_load()\nprint(page_info())"}

browserHarness Tool

Field Type Required Description
operation string Yes run_python (primary), goto, screenshot, js, tabs, doctor
code string run_python Python executed with helpers pre-imported. Print a JSON object as the LAST line for structured output
url string goto URL to open
expression string js JavaScript to evaluate in the page
full_page bool screenshot Capture the full scrollable page (default: false)
timeout int no Script timeout in seconds (default: 60)

Helper Reference (inside run_python)

All pre-imported — never import them.

Navigation & tabs

  • goto_url(url) — navigate current tab
  • new_tab(url="about:blank") / close_tab(target=None) / switch_tab(target)
  • list_tabs(include_chrome=True) — enumerate open tabs
  • current_tab() / ensure_real_tab() — make sure a real page tab is focused (call first!)
  • page_info(){url, title, w, h, sx, sy, pw, ph} (viewport + scroll + page size)
  • iframe_target(url_substr) — target for js/interaction inside an iframe

Read the full file on GitHub · 115 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. 7d ago First seen · 115 lines · 49 tokens per session scan A 26cf4374d34d

Subscribe to this mod's changes

browser-harness-skill is a skill published in the GitHub repository zeenie-ai/OpenCompany (880 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 1,485 once invoked, about $0.0002 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-09-03.