Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/cuishihui66/coding-tools-mcp/agents-mdgit clone --depth 1 https://github.com/cuishihui66/coding-tools-mcpWhat 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 | $0.01072 | $0.01072 |
| Opus 5 | $0.00536 | $0.00536 |
| Sonnet 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 yesterday.
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.
- yesterday 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 3d ago), licensed Apache-2.0. It adds 1,072 tokens to every session, about $0.0054 per session on Opus 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.
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).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.