gsd-browser: Instructions file for Codex

AGENTS.md

gsd-browser AGENTS.md is an instructions file for Codex, OpenCode from open-gsd/gsd-browser. It costs 559 tokens per session, scanned C, original, Apache-2.0.

A browser-automation tool for AI agents that controls Chrome or Chromium. MCP, the Model Context Protocol, lets compatible AI tools call its browser actions.

In plain words
What is it for?
Opening pages, clicking and typing, filling forms, checking page content, extracting structured data, testing different devices, mocking network requests, and recording browser sessions.
Why use it?
It removes the need to manually operate a browser or build one-off scripts for navigation, form interaction, page checks, data extraction, and test evidence.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/open-gsd/gsd-browser/agents-md"><img src="https://agentmods.dev/badge/instructions/open-gsd/gsd-browser/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 559 This file is loaded in full into every session.
When invoked 559 The same file — it is already loaded in full.
Security scan C 2 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.00559 $0.00559
Opus 5.5 $0.00224 $0.00224
Sonnet 5.5 $0.00112 $0.00112
Haiku 4.5 $0.00056 $0.00056

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

Security

Grade C, and why

gsd-browser AGENTS.md scanned grade C with 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/open-gsd/gsd-browser/main/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/open-gsd/gsd-browser/main/install.sh | bash
AGENTS.md · 50 lines

How it starts

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

AGENTS.md

gsd-browser

Native Rust browser automation CLI for AI agents. Controls Chrome/Chromium via CDP with a persistent background daemon. Supports navigation, element interaction (click, type, fill), snapshots with versioned refs, assertions, form analysis, structured data extraction, visual regression testing, network mocking, device emulation, auth vault, prompt injection scanning, live viewer collaboration, recording/evidence bundles, and self-healing via action cache.

Primary path for AI agents (2026+): gsd-browser mcp — the stdio MCP server exposing 50+ tools, live resources, and executable prompts. All the unique strengths (refs, viewer + human handoff + annotations + recordings, semantic intents, evidence, batch, self-healing, etc.) become automatically available to Cursor, Claude Desktop, VS Code + Copilot, and other MCP clients.

Quick Start (CLI)

gsd-browser navigate https://example.com
gsd-browser snapshot
gsd-browser click-ref @v1:e1

Quick Start (MCP — Recommended for Agents)

gsd-browser mcp

Then point your MCP client at the command. Run ./scripts/mcp-quickstart.sh cursor (or claude/vscode) for tailored config snippets.

See:

  • docs/mcp.md
  • docs/AGENT-BEST-PRACTICES.md (essential — golden rules, workflows, "When to Use What")
  • Root SKILL.md (full semantics backing every MCP tool)
  • gsd-browser-skill/ (curated pack for coding agents)

Installation

curl -fsSL https://raw.githubusercontent.com/open-gsd/gsd-browser/main/install.sh | bash

# install the Codex Plugin integration too
curl -fsSL https://raw.githubusercontent.com/open-gsd/gsd-browser/main/install.sh | bash -s -- --codex-plugin

# or from a repo checkout
cargo install --path cli

Requires Chrome or Chromium. The installer reuses a system browser when present and downloads Chromium automatically where Chrome for Testing is available. It also offers to install the gsd-browser-skill/ pack.

Full Reference

See SKILL.md for complete command reference (90+ CLI commands), workflow patterns, configuration, and examples.

Read the full file on GitHub · 50 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 · 50 lines · 559 tokens per session scan C d0512769030a

Subscribe to this mod's changes

gsd-browser AGENTS.md is an instructions file published in the GitHub repository open-gsd/gsd-browser (57 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 559 tokens to every session, about $0.0022 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gsd-browser AGENTS.md compared with instructions from other repositories

gsd-browser AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gsd-browser AGENTS.mdopen-gsd/gsd-browserInstructions file571mo agoApache-2.0C559Codex, 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