browser-control

browser-control is a skill for Claude Code, Codex from Peiiii/nextclaw. It costs 58 tokens per session (3,160 once invoked), scanned A, original, MIT.

A guide for inspecting and operating tabs already open in the user's Chrome browser through a browser extension and local connector. It supports controlled actions, page snapshots, and screenshots.

In plain words
What is it for?
Use it to list tabs, open URLs, read a page, find interactive elements, click or fill controls, navigate, and save visible screenshots.
Why use it?
It lets an agent work with the user's current browser session rather than starting from an unrelated browser. The workflow also checks the connection and requires a tab to be claimed before use.

Skill for Claude CodeCodex

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

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/peiiii/nextclaw/browser-control
Any agent
npx skills add Peiiii/nextclaw --skill browser-control
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/browser-control.svg)](https://agentmods.dev/skills/peiiii/nextclaw/browser-control)
Your own site
<a href="https://agentmods.dev/skills/peiiii/nextclaw/browser-control"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/browser-control.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,160 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.1 $0.00058 $0.03160
Opus 5 $0.00029 $0.01580
Sonnet 5 $0.00012 $0.00632
Haiku 4.5 $0.00006 $0.00316

Measured 2d ago against content hash 89642e81526f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

browser-control 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 2d 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-control/SKILL.md · 342 lines

How it starts

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

Browser Control

Use this skill when the user wants the AI to inspect or operate Chrome pages that are already open in the user's normal browser.

This is a wrapped external tool skill:

  • The skill owns setup guidance, readiness checks, safe workflow order, confirmation rules, and troubleshooting.
  • browser-connector owns the Chrome Extension, Native Messaging Host, tab lease, JSON contract, screenshots, DOM snapshots, and browser actions.
  • Do not present this as a built-in NextClaw browser runtime or as direct model vision.

What This Skill Covers

  • List currently open Chrome tabs.
  • Open a new Chrome tab for an http or https URL.
  • Keep new tabs in the background by default for temporary evaluation, research, and page-reading work.
  • Ask the connected unpacked Browser Connector extension to reload itself after local or package updates.
  • Read the selected tab or refresh metadata for a known tab.
  • Claim a tab before reading or operating it.
  • Read a bounded page snapshot.
  • Locate ref-addressable interactive elements by text, label, placeholder, role, or kind.
  • Capture a visible-tab screenshot, optionally writing it to a local PNG file.
  • Navigate a claimed tab with goto, reload, back, and forward.
  • Inspect elements, fill editable fields with verified state, click, type, press keys, scroll, wait, and read captured page logs through the connector.
  • Release the tab lease when done.

What This Skill Does Not Cover

  • Reading cookies, localStorage, sessionStorage, passwords, browser history, or extension private storage.
  • Bypassing website authentication or permission prompts.
  • Automatically confirming submit, send, upload, delete, payment, login, or permission actions.
  • Long-running daemon management.
  • Operating a separate Playwright browser instead of the user's current Chrome.

Readiness Check

First check whether browser-connector is available:

command -v browser-connector
browser-connector --version

If it is not installed, install the published package:

Read the full file on GitHub · 342 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. 2d ago First seen · 342 lines · 58 tokens per session scan A 89642e81526f

Subscribe to this mod's changes

browser-control is a skill published in the GitHub repository Peiiii/nextclaw (255 stars, last pushed today), licensed MIT. It adds 58 tokens to every session and 3,160 once invoked, about $0.0003 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.