AGENTS.md@docs/archives/codex-browser-bridge-continuous-hardening/governanceA

AGENTS.md@docs/archives/codex-browser-bridge-continuous-hardening/governance from deliciousbuding/codex-browser-bridge is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add deliciousbuding/codex-browser-bridge/docs/archives/codex-browser-bridge-continuous-hardening/governance/AGENTS.md@git:20260706.57f48c5

Pins git:20260706.57f48c5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 16 of 16 checks passed
Kind
AGENTS.md file
Repository
deliciousbuding/codex-browser-bridge
Path
docs/archives/codex-browser-bridge-continuous-hardening/governance/AGENTS.md
Versions recorded
1
Latest version
git:20260706.57f48c5, committed Jul 6, 2026
Size
4,297 bytes
Repository stars
28
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AGENTS.md

禁止提交 `.env`、凭据、私钥。提交前 `git diff --staged` 自查。

## 仓库级 Skill

本仓库包含项目级 skill:`skills/codex-browser/SKILL.md`

该 skill 是 LLM agent 使用全部 52 个 MCP 工具的操作手册,包含工具分组速查、常用工作流、工具选择原则。支持项目级 skill 的 MCP 客户端会自动加载。

## MCP 工具设计规范

新增 MCP 工具遵循以下模式:

### 1. Browser 层(`src/browser.rs`)
- 每个 CDP 操作封装为一个 `pub async fn`,接受 `&Client` + 参数
- CDP 响应解析用私有函数,返回 `Result<T>`
- 使用 `#[derive(Deserialize)]` 私有结构体解析 CDP 响应
- `execute_cdp_generic()` 是通用 CDP 入口

### 2. MCP 层(`src/mcp/` 目录)
- `types.rs`:`ToolHandler` 枚举新增 variant(当前 52 个工具)
- `handlers.rs`:`handle_tool_call` 新增 match arm + `handle_*` 方法
- `schema.rs`:`registered_tools()` 新增工具定义
- `profiles.rs`:如需加入 profile,更新 `BASIC_TOOLS` / `NETWORK_TOOLS` 数组

### 3. 安全层(`src/security.rs`)
- 新增文件操作需经过 `validate_file_path()` 路径穿越防护
- 新增 URL 参数需经过 `validate_url()` scheme 检查

### 4. 诊断(`src/doctor.rs`)
- `run_diagnostics()` — 独立于 MCP Server 的 pipe 探活逻辑

### 5. 测试
- **Extractor 测试**(`src/mcp/types.rs`):`required_str`、`required_string_vec` 等
- **Schema 测试**(`src/mcp/schema.rs`):验证工具 required 字段、name order、type=object
- **集成测试**(`tests/browser_api.rs`):公开 browser/helper 行为与安全边界
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add deliciousbuding/codex-browser-bridge/docs/archives/codex-browser-bridge-continuous-hardening/governance/AGENTS.md@sha256:3bd1903748a08a98

The line at the top of this page pins the label git:20260706.57f48c5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_axterwlp5no4bb2p.svg)](https://markdownregistry.com/a/art_axterwlp5no4bb2p)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in deliciousbuding/codex-browser-bridge/docs/archives/codex-browser-bridge-continuous-hardening/governance/AGENTS.md since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of AGENTS.md from somewhere else? Ask it: where did my AGENTS.md come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Jul 6, 2026.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260706.57f48c5 latest2026-07-06 57f48c5 4,297 BA view
Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  16 of 16 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (4297 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

deliciousbuding/codex-browser-bridge · 28 stars · license MIT · pushed 2026-11-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_axterwlp5no4bb2p
GET https://markdownregistry.com/api/v1/resolve?ref=deliciousbuding/codex-browser-bridge/docs/archives/codex-browser-bridge-continuous-hardening/governance/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/3bd1903748a08a98d4af339fedd388cf3bc272f227e943a355aeeb3961dd2ed1
GET https://markdownregistry.com/api/v1/list?kind=agents

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from deliciousbuding/codex-browser-bridge

AGENTS.md AGENTS.md file
deliciousbuding/codex-browser-bridge · AGENTS.md
git:20261024.5a7d3a9 · audit A · 28 stars
codex-browser SKILL.md skill
deliciousbuding/codex-browser-bridge · docs/archives/codex-browser-bridge-continuous-hardening/skill/SKILL.md · Control Chrome via Codex Desktop's browser bridge. 52 MCP tools for tabs, navigation, DOM, input, CDP, network, file…
git:20260706.57f48c5 · audit A · 28 stars
codex-browser SKILL.md skill
deliciousbuding/codex-browser-bridge · skills/codex-browser/SKILL.md · Use the Codex Browser and Computer Use runtimes when explicitly registered, or the extension adapter for structured…
git:20261119.df08ebd · audit A · 28 stars

Every file in deliciousbuding/codex-browser-bridge

Browse by kind, by grade A, or by owner.