mcp-browser-kit: Instructions file for Codex

AGENTS.md

mcp-browser-kit AGENTS.md is an instructions file for Codex, OpenCode from ndthanhdev/mcp-browser-kit. It costs 430 tokens per session, scanned A, original, MIT.

Project instructions for MCP Browser Kit, a TypeScript tool that lets an AI assistant observe and control local web browsers through an extension. It describes the project's technologies, commands, checks, and tests.

In plain words
What is it for?
Use it when changing this browser-control project, including building its server or extension, running checks, and running Playwright browser tests.
Why use it?
It gives coding agents the correct commands and project rules, such as using Yarn and Biome instead of other package or formatting tools.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is ndthanhdev/mcp-browser-kit's own configuration. It tells Codex and OpenCode how to work on mcp-browser-kit 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 mcp-browser-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ndthanhdev/mcp-browser-kit. 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/ndthanhdev/mcp-browser-kit/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/ndthanhdev/mcp-browser-kit

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 mcp-browser-kit AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ndthanhdev/mcp-browser-kit/agents-md"><img src="https://agentmods.dev/badge/instructions/ndthanhdev/mcp-browser-kit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 430 This file is loaded in full into every session.
When invoked 430 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.00430 $0.00430
Opus 5.5 $0.00172 $0.00172
Sonnet 5.5 $0.00086 $0.00086
Haiku 4.5 $0.00043 $0.00043

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

Security

Grade A, and why

mcp-browser-kit 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 · 51 lines

What it actually says

AGENTS.md

MCP Browser Kit: an MCP server that lets AI assistants observe and control local browsers through a companion browser extension.

Tech stack

  • Language: TypeScript (ESM, target ES2024), strict project references
  • Runtime: Node ^26
  • Package manager: Yarn 4.17.1 (Yarn Berry workspaces) — never use npm or pnpm
  • Monorepo orchestrator: moon (moon run, moon check)
  • Toolchain version manager: proto (.prototools)
  • Lint/format: Biome (not ESLint/Prettier)
  • Dependency consistency: syncpack
  • Bundler: tsup; type emit: tsc --build
  • Tests: Playwright (extension E2E in apps/ext-e2e)
  • DI: InversifyJS + reflect-metadata

Commands

Run from the workspace root.

# Install
yarn install

# Full check across all projects (build + biome + syncpack) — mirrors CI
moon check --all

# Lint / format (Biome)
moon run scripts:biome-check        # check only

# Dependency consistency
moon run scripts:syncpack-lint
moon run scripts:syncpack-fix

# Build a project (e.g. server or an extension)
moon run server:build
moon run m3:build

# E2E tests (Playwright)
moon run ext-e2e:test

# MCP inspector against the built server
moon run server:mcp-inspector

CI runs via two workflows: .github/workflows/pr-updated.yml (PRs, moon ci) and .github/workflows/workspace-updated.yml (push to main/release/*, moon check --all). Both build via Dagger then run sharded e2e tests. Make them pass before considering work done.

Constraints

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 · 51 lines · 430 tokens per session scan A f032834fab6a

Subscribe to this mod's changes

mcp-browser-kit AGENTS.md is an instructions file published in the GitHub repository ndthanhdev/mcp-browser-kit (55 stars, last pushed 6d ago), licensed MIT. It adds 430 tokens to every session, about $0.0017 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-30.

Related

mcp-browser-kit AGENTS.md compared with instructions from other repositories

mcp-browser-kit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-browser-kit AGENTS.mdndthanhdev/mcp-browser-kitInstructions file556d agoMITA430Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode