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.
curl -O https://raw.githubusercontent.com/cuishihui66/coding-tools-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/cuishihui66/coding-tools-mcpWrote 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.
[](https://agentmods.dev/instructions/cuishihui66/coding-tools-mcp/agents-md)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
ctplugin: use the availablect.*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
- Preserve public CLI names, Python import paths, protocol schemas, and release behavior unless a task explicitly requires a breaking change.
- Keep one authoritative home for each fact; link to it instead of copying long explanations between documents.
- Changes to
infra/cloudflare/sandbox-control/and.github/workflows/start-sandbox.ymlmay form one interface contract. Update and validate them together. - Prefer subtree-specific instructions when present.
- Run the narrowest relevant checks first, then broader checks when tooling is available.
- 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. - For GitHub pushes from this workspace, prefer the already-working SSH authentication path. If
originuses HTTPS and push fails because credentials are unavailable, verify SSH authentication and push via the equivalent[email protected]:<owner>/<repo>.gitURL rather than repeatedly retrying unauthenticated HTTPS. Do not rewrite the configured remote unless the task requires it. - In a remote
ctsession, usect.apply_patchfor 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. - 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.
- 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.
- 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.
- 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.
- Remote
ctagents must follow Coding Tools MCP tool schemas exactly. Do not guess parameter ranges or retry a schema-invalid call without correcting its arguments first. - 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
ctconnection, prepare the exact procedure and hand execution to an out-of-band local shell instead of touching the live access path.
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.
- 2mo ago First seen · 40 lines · 1,072 tokens per session scan A e33509a06ab3
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.
coding-tools-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| coding-tools-mcp AGENTS.mdcuishihui66/coding-tools-mcp | Instructions file | 0 | 2mo ago | Apache-2.0 | A | 1,072 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 3d ago | MIT | A | 4,313 | Codex, OpenCode |