browserops: Instructions file for Codex

AGENTS.md

browserops AGENTS.md is an instructions file for Codex, OpenCode from quaylabshq/browserops. It costs 4,727 tokens per session, scanned A, original, MIT.

Project instructions for browserops, a tool that lets coding agents operate the user’s live Chrome profile through a local browser extension and server.

In plain words
What is it for?
Use them when working on browser navigation, Chrome extension behavior, MCP tools, procedures, rate limits, or actions involving already signed-in browser tabs.
Why use it?
They explain the system’s components, tool naming, authentication, and procedure-first workflow so browser actions are planned and run consistently.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is quaylabshq/browserops's own configuration. It tells Codex and OpenCode how to work on browserops itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything browserops configures →

Reuse

Borrowing it

Nothing to install: this file belongs to quaylabshq/browserops. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/quaylabshq/browserops/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/quaylabshq/browserops

Made for: Codex, OpenCode.

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 browserops AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/quaylabshq/browserops/agents-md/github.svg)](https://agentmods.dev/instructions/quaylabshq/browserops/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/quaylabshq/browserops/agents-md"><img src="https://agentmods.dev/badge/instructions/quaylabshq/browserops/agents-md/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 browserops AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/quaylabshq/browserops/agents-md"><img src="https://agentmods.dev/badge/instructions/quaylabshq/browserops/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,727 This file is loaded in full into every session.
When invoked 4,727 The same file — it is already loaded in full.
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.04727 $0.04727
Opus 5.5 $0.01891 $0.01891
Sonnet 5.5 $0.00945 $0.00945
Haiku 4.5 $0.00473 $0.00473

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

Security

Grade A, and why

browserops AGENTS.md 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 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.

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.

AGENTS.md · 228 lines

How it starts

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

browserops — agent instructions

Guidance for any MCP-compatible coding agent (Claude Code, Cursor, Zed, Continue, Windsurf, custom SDK agents) working in this repo or consuming the browserops MCP server. Claude Code auto-loads this file via the CLAUDE.md symlink.

Project overview

browserops is an MCP server that drives the user's live Chrome profile. Three components in one pnpm workspace:

MCP client (Claude Code / Cursor / Zed / …)
      │ stdio MCP (JSON-RPC)
      ▼
packages/bridge  — Node process: MCP server + WebSocket server + rate limiter + risky-action gate + procedure runtime
      │ WebSocket on 127.0.0.1:57321, token-authed
      ▼
packages/extension  — Chrome MV3 extension: background service worker + content scripts + popup + options
      │ chrome.tabs / chrome.scripting / chrome.debugger
      ▼
user's real Chrome tabs (with existing logins intact)

packages/shared holds protocol types, error codes, the tool catalogue, and the procedure schema — consumed by both bridge and extension.

Tool naming. MCP tools use underscore form (browser_navigate, procedures_search) to stay within the MCP-spec ^[a-zA-Z0-9_-]+$ pattern. Procedure names (e.g. tempmail.get_email) are internal identifiers and stay dotted — they're YAML filenames, not MCP tool names.

Wire protocol. The bridge translates each MCP tools/call into a WebSocket {type:"request", id, method, params, timeout_ms} envelope. The extension routes method to a handler registered in packages/extension/src/background/handlers/. Responses go back as {type:"response", id, ok, result|error}.

Procedure runtime. Named, parameterised action graphs stored under ~/browserops/procedures/ as YAML. Five procedures_* tools (search, get, save, delete, execute) manage them. The store ships empty — new procedures are authored on-demand by the browserops-teach skill (autonomous) or by hand.

Where to look

Want to understand… File
The tool catalogue (names, schemas, descriptions) packages/shared/src/tools.ts
MCP dispatch pipeline (validate → rate-limit → risky-gate → forward) packages/bridge/src/mcp-server.ts
Bridge↔extension WebSocket protocol packages/shared/src/protocol.ts + packages/bridge/src/ws-server.ts + packages/extension/src/background/ws-client.ts
Extension handlers (what actually runs in Chrome) packages/extension/src/background/handlers/
Procedure YAML schema + search ranker packages/shared/src/procedures.ts + packages/bridge/src/procedures/
Error codes + WebSocket close codes packages/shared/src/errors.ts
Rate limiter + risky-action gate packages/bridge/src/rate-limiter.ts + packages/bridge/src/safety.ts
browserops-teach skill (autonomous procedure authoring, replaces teach + autoteach) ~/.claude/skills/browserops-teach/SKILL.md (mirror at skills/browserops-teach.md)
User-facing setup (registration for every major MCP client) README.md

Read the full file on GitHub · 228 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 First seen · 228 lines · 4,727 tokens per session scan A 6faacbd71ab6

Subscribe to this mod's changes

browserops AGENTS.md is an instructions file published in the GitHub repository quaylabshq/browserops (7 stars, last pushed 1mo ago), licensed MIT. It adds 4,727 tokens to every session, about $0.0189 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-08-31.

Related

browserops AGENTS.md compared with instructions from other repositories

browserops AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
browserops AGENTS.mdquaylabshq/browseropsInstructions file71mo agoMITA4,727Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot