coding-tools-mcp: Instructions file for Codex

AGENTS.md

coding-tools-mcp AGENTS.md is an instructions file for Codex, OpenCode from cuishihui66/coding-tools-mcp. It costs 1,072 tokens per session, scanned A, original, Apache-2.0.

A set of contributor instructions for coding-tools-mcp, a project organized as a monorepo. A monorepo keeps multiple related applications and packages in one repository.

In plain words
What is it for?
Use it when changing the Python runtime, desktop client, tunnel integrations, infrastructure, npm launcher, benchmarks, documentation, or maintenance scripts.
Why use it?
It helps an agent find the right part of the repository and avoid coupling unrelated components.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cuishihui66/coding-tools-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/cuishihui66/coding-tools-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,072 This file is loaded in full into every session.
When invoked 1,072 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.01072 $0.01072
Opus 5.5 $0.00429 $0.00429
Sonnet 5.5 $0.00214 $0.00214
Haiku 4.5 $0.00107 $0.00107

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

Security

Grade A, and why

coding-tools-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 · 40 lines

How it starts

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

Coding Tools MCP repository guide

This repository is a monorepo. Keep changes inside the narrowest owning subtree and avoid creating cross-component coupling unless the feature requires it.

Repository map

  • coding_tools_mcp/: core Python MCP runtime and public server behavior.
  • apps/desktop-client/: desktop client UI and desktop runtime integration.
  • integrations/tunnels/: user-facing tunnel launchers for remote MCP access.
  • infra/cloudflare/sandbox-control/: Cloudflare Worker control plane paired with .github/workflows/start-sandbox.yml.
  • packages/npm-launcher/: thin npm launcher for the Python package.
  • media/promo-video/: Remotion source for the project promo video.
  • benchmarks/: benchmark runners and fixtures.
  • reports/: generated/published benchmark and compliance results.
  • docs/: user, contributor, architecture, and reference documentation.
  • scripts/: repository maintenance, validation, installation, release, and report-generation scripts. Do not put user-facing runtime integrations here.

Agent execution context

  • Local CLI agent: when the agent already has local filesystem, patch, and command execution on the host, use those native local tools. Do not route local development through ct.* merely because remote-agent examples exist.
  • Remote ChatGPT agent through the ct plugin: use the available ct.* MCP tools, follow their schemas exactly, and use workspace-relative paths. The live MCP providing that connection is part of the agent's access path and must not be restarted or replaced from that same remote session.
  • Tool-specific examples must be labeled for their execution context. Describe the required operation first; do not write a global rule that makes every agent call ct.* or assume unavailable local tools.

Standing rules

  1. Preserve public CLI names, Python import paths, protocol schemas, and release behavior unless a task explicitly requires a breaking change.
  2. Keep one authoritative home for each fact; link to it instead of copying long explanations between documents.
  3. Changes to infra/cloudflare/sandbox-control/ and .github/workflows/start-sandbox.yml may form one interface contract. Update and validate them together.
  4. Prefer subtree-specific instructions when present.
  5. Run the narrowest relevant checks first, then broader checks when tooling is available.
  6. For a remote agent using Coding Tools MCP command execution, prefer workspace-relative workdir/paths such as . instead of absolute workspace paths; the MCP sandbox may reject absolute working directories even when they point inside the configured workspace.
  7. For GitHub pushes from this workspace, prefer the already-working SSH authentication path. If origin uses HTTPS and push fails because credentials are unavailable, verify SSH authentication and push via the equivalent [email protected]:<owner>/<repo>.git URL rather than repeatedly retrying unauthenticated HTTPS. Do not rewrite the configured remote unless the task requires it.
  8. In a remote ct session, use ct.apply_patch for direct repository file modifications and treat each patch as atomic: if any hunk cannot be matched safely, the whole patch may be rejected. Do not bypass a rejected patch with shell redirection, inline scripts, editor commands, or another direct-write path. A local CLI agent should use its runtime's native patch facility instead.
  9. Before applying a patch, read the current affected region and build patch context from the latest file contents. Use sufficiently unique anchors, especially in repetitive JavaScript, CSS, tests, task lists, and Markdown.
  10. Keep each patch scoped to one coherent change. Avoid bundling unrelated implementation, tests, OpenSpec documents, and UI artifacts into one large patch merely to reduce tool calls; one stale or ambiguous hunk would reject the entire atomic patch.
  11. After modifying a file, do not reuse stale patch context for that file. If a patch is rejected, re-read the affected region, determine whether the cause is stale or ambiguous context, and construct a new patch instead of retrying the same envelope unchanged.
  12. When a target fragment occurs multiple times, anchor the patch with the nearest unique function name, CSS selector, Markdown heading, or surrounding semantic block rather than a short repeated line.
  13. Remote ct agents must follow Coding Tools MCP tool schemas exactly. Do not guess parameter ranges or retry a schema-invalid call without correcting its arguments first.
  14. Treat the MCP Server that is currently providing Coding Tools access for an active development session as protected infrastructure. Development, validation, preview, restart, systemd, process, listener, or port-management work MUST NOT stop, restart, replace, signal, rebind, or otherwise disturb that live MCP process, because losing it removes project read/write access. Before any operation that can affect services, processes, or listeners, identify the exact target PID/listener/unit and verify it is not the active MCP Server; do not assume a fixed PID or port. Use separate processes, ports, state directories, and service units for previews and destructive/restart validation. If install/restart/live-listener acceptance would sever a remote agent's ct connection, prepare the exact procedure and hand execution to an out-of-band local shell instead of touching the live access path.

Read the full file on GitHub · 40 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 · 40 lines · 1,072 tokens per session scan A e33509a06ab3

Subscribe to this mod's changes

coding-tools-mcp AGENTS.md is an instructions file published in the GitHub repository cuishihui66/coding-tools-mcp (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 1,072 tokens to every session, about $0.0043 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

coding-tools-mcp AGENTS.md compared with instructions from other repositories

coding-tools-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
coding-tools-mcp AGENTS.mdcuishihui66/coding-tools-mcpInstructions file02mo agoApache-2.0A1,072Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode