octocode-browser-tools

octocode-browser-tools is a skill for Claude Code, Codex from bgauryy/octocode. It costs 54 tokens per session (1,141 once invoked), scanned A, original, MIT.

A set of tools for driving a live Chrome browser, including opening pages, clicking controls, filling forms, reading page data, taking screenshots, checking console and network activity, and recording performance traces.

In plain words
What is it for?
Use it to test web flows, log in, submit forms, inspect requests and errors, run Chrome DevTools Protocol commands, and collect page results.
Why use it?
It lets an agent perform and inspect browser tasks instead of relying only on source code or descriptions of a web page.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test web flows, log in, submit forms, inspect requests and errors, run Chrome DevTools Protocol commands, and collect page results.

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

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 octocode-browser-tools

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bgauryy/octocode/octocode-browser-tools"><img src="https://agentmods.dev/badge/skills/bgauryy/octocode/octocode-browser-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,141 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.
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.00054 $0.01141
Opus 5.5 $0.00022 $0.00456
Sonnet 5.5 $0.00011 $0.00228
Haiku 4.5 $0.00005 $0.00114

Measured today against content hash 5e74ed394d43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

octocode-browser-tools 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 today.

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.

packages/octocode-browser-tools/skills/octocode-browser-tools/SKILL.md · 31 lines

How it starts

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

Octocode Browser Tools

Prefer the connected MCP tools (initialize.instructions carries the live contract, WebMCP rules, and HTTP agent discovery paths). Both MCP and /cli expose the same unified 15-tool surface (open, tabs, wait, run, flow, check, cdp, protocol, schema, query, session, proxy, script, helper, cleanup) with all tools enabled:

npx -y @octocodeai/octocode-browser-tools /cli open --url https://app.example.com --headless true --json
npx -y @octocodeai/octocode-browser-tools /cli wait --ms 500 --json
npx -y @octocodeai/octocode-browser-tools /cli run --plan '{"observe":{"network":true,"afterMs":1500},"steps":[{"op":"act","action":"click","role":"button","name":"Sign in","after":{"url":"/dashboard"}},{"op":"extract","selector":"table tbody tr","fields":["text","data-id"],"save":"rows"}]}' --json

High-leverage workflow & schema rules

  • Session scope: open launches headless isolated Chrome by default (headless: false for visible; defaultBrowser: true or open.cookies uses purple 'Octocode🐙' after user consent; tabs {action:"open"} creates isolated multi-account contexts). Never pass url or headless in run.connection.
  • Step & wait rules: flat role + name matches text, aria-label, and aria-labelledby across interactive, table, menu, landmark, and list roles (standard CSS selector only, never :has-text); action: "rightclick" (or press Shift+F10 / ContextMenu) opens context menus; holdMs on click/rightclick/hover holds trusted press or hover for N ms; omit target on page-level press ({op:"act", action:"press", key:"Escape"}); wait supports standalone timers ({ms}) and browser conditions (role+name, selector, ref, text, value, url, expression, loadState: "load"|"networkIdle", timeoutMs); evaluate awaits Promises by default (awaitPromise: false disables); extract.fields accepts text, href, value, role, name, title, src, html, or any HTML attribute (data-sku); snapshot, screenshot, and pdf auto-save to files (only extract, evaluate, webmcp, cdp take save).

Read the full file on GitHub · 31 lines

Files

What ships with it

3 files 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. today First seen · 31 lines · 54 tokens per session scan A 5e74ed394d43

Subscribe to this mod's changes

octocode-browser-tools is a skill published in the GitHub repository bgauryy/octocode (971 stars, last pushed today), licensed MIT. It adds 54 tokens to every session and 1,141 once invoked, about $0.0002 per session on Opus 5.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-12-01.

Related

octocode-browser-tools compared with skills from other repositories

octocode-browser-tools next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
octocode-browser-toolsbgauryy/octocodeSkill971todayMITA54Claude Code, Codex
playwright-clizebbern/claude-code-guideSkill4.7ktodayMITA67Claude Code
playwright-skillzebbern/claude-code-guideSkill4.7ktodayMITA87Claude Code, Codex
playwright-corezebbern/claude-code-guideSkill4.7ktodayMITA62Claude Code, Codex
playwright-migrationzebbern/claude-code-guideSkill4.7ktodayMITA33Claude Code, Codex
playwright-pomzebbern/claude-code-guideSkill4.7ktodayMITA35Claude Code, Codex
agent-e2e-test-specialisttravisjneuman/.claudeSkill1152d agoMITA75Claude Code