coding-bridge-mcp: Instructions file for Codex

AGENTS.md

coding-bridge-mcp AGENTS.md is an instructions file for Codex, OpenCode from htmambo/coding-bridge-mcp. It costs 671 tokens per session, scanned A, original, MIT.

A set of AGENTS.md instructions for the coding-bridge-mcp repository. It requires the coding bridge to review implementation plans and code changes, then carry the same review session forward when asking follow-up questions.

In plain words
What is it for?
For getting plan and code reviews through the coding-bridge MCP tools, preserving session IDs, and checking changes before reporting them as complete.
Why use it?
It adds review checkpoints around new features, bug fixes, refactors, and important configuration changes. The returned review is treated as advice that still needs independent judgment.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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 coding-bridge-mcp AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/htmambo/coding-bridge-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/htmambo/coding-bridge-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 671 This file is loaded in full into every session.
When invoked 671 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.00671 $0.00671
Opus 5.5 $0.00268 $0.00268
Sonnet 5.5 $0.00134 $0.00134
Haiku 4.5 $0.00067 $0.00067

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

Security

Grade A, and why

coding-bridge-mcp 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

Coding Bridge MCP 自动审查规范

本项目已接入 coding-bridge MCP Server(火山方舟 / 讯飞 Coding Plan)。你必须在以下节点主动调用对应的 MCP 工具,并把审查结论纳入最终回复。

1. 计划审查(形成思路后)

在形成初步实现思路、但尚未开始编码前,调用:

  • mcp__coding-bridge__review_plan
  • 参数:
    • PLAN:当前实现计划或方案文本
    • cd:当前项目根目录
    • CONTEXT:项目背景、约束、目标(可选但推荐)
    • SESSION_ID:空字符串开始新会话;如需追问则沿用返回的 ID
    • model:模型版本(可选,留空用 provider 默认模型)
    • return_all_messages:返回完整消息历史(可选,默认 false,调试用)

2. 代码审查(完成修改后)

每次对 src/、tests/ 或配置文件做出实质性修改后,必须调用:

  • mcp__coding-bridge__review_code
  • 参数:
    • CODE:需要审查的完整代码或 diff。优先传入完整相关函数/类,确保上下文完整。
    • cd:当前项目根目录
    • REQUIREMENTS:额外上下文,例如修改原因、边界情况、需要重点关注的点
    • SESSION_ID:空字符串开始新会话;如需追问则沿用返回的 ID
    • model:模型版本(可选,留空用 provider 默认模型)
    • return_all_messages:返回完整消息历史(可选,默认 false,调试用)

3. 多轮追问(保存 SESSION_ID)

每次调用 review_plan / review_code / chat 后,返回中都会包含 SESSION_ID。必须保存该 ID,以便对同一话题继续追问,保持上下文连续。

4. 判断原则

Coding Plan / 星火返回的审查结论仅供参考。你仍需保持独立判断,不盲从;对于明显不合理的建议,应在最终回复中说明原因。

5. 何时必须审查

  • 新增功能、修复 bug、重构代码之后
  • 修改核心配置(如 pyproject.toml、Provider 默认值、API 客户端)之后
  • 在最终向用户汇报“已完成”之前,确认已执行 review

6. 工具列表速查

  • mcp__coding-bridge__chat — 通用多轮对话
  • mcp__coding-bridge__review_code — 代码审查
  • mcp__coding-bridge__review_plan — 计划/方案审查
  • mcp__coding-bridge__get_token_stats — 查询当前累计 token 用量
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 · 671 tokens per session scan A 3227342a28c2

Subscribe to this mod's changes

coding-bridge-mcp AGENTS.md is an instructions file published in the GitHub repository htmambo/coding-bridge-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 671 tokens to every session, about $0.0027 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens