Borrowing it
Nothing to install: this file belongs to paiml/rust-mcp-sdk. 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/paiml/rust-mcp-sdk/main/CLAUDE.mdgit clone --depth 1 https://github.com/paiml/rust-mcp-sdkWrote 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/paiml/rust-mcp-sdk/claude-md)<a href="https://agentmods.dev/instructions/paiml/rust-mcp-sdk/claude-md"><img src="https://agentmods.dev/badge/instructions/paiml/rust-mcp-sdk/claude-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/paiml/rust-mcp-sdk/claude-md"><img src="https://agentmods.dev/badge/instructions/paiml/rust-mcp-sdk/claude-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.12099 | $0.12099 |
| Opus 5.5 | $0.04840 | $0.04840 |
| Sonnet 5.5 | $0.02420 | $0.02420 |
| Haiku 4.5 | $0.01210 | $0.01210 |
Grade A, and why
rust-mcp-sdk CLAUDE.md scanned grade A with 1 finding 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 20d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
crates.io API (`curl -s https://crates.io/api/v1/crates/<name>/versions`), NOT How it starts
The opening of the file, as written. The whole thing — 768 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PMCP SDK Development Standards
Toyota Way Quality System - ZERO TOLERANCE FOR DEFECTS
We have ZERO tolerance for defects. Your "clippy warnings won't..." is a P0 problem.
Quality Gate Enforcement
Pre-Commit Quality Gates (MANDATORY)
ALL commits are blocked until quality gates pass:
- Pre-commit hook automatically runs Toyota Way quality checks
- Format checking:
cargo fmt --all -- --check - Clippy analysis: Zero warnings allowed
- Build verification: Must compile successfully
- Doctest validation: All doctests must pass
To commit code:
make quality-gate # Run before any commit
git add -A
git commit -m "message" # Will be blocked if quality fails
CI Quality Gates (PR-blocking, added Phase 75 Wave 5)
PRs are blocked from merging if PMAT detects new cognitive-complexity violations.
The check runs in .github/workflows/ci.yml quality-gate job:
pmat quality-gate --fail-on-violation --checks complexity
PMAT version is pinned to 3.15.0 (matches .github/workflows/quality-badges.yml; see Phase 75 Wave 0 Task 3 for rationale). The gate aggregate job lists quality-gate in its needs: array, so a PMAT failure propagates to the org-required gate status check and blocks merge.
If your PR fails this check:
- Run locally to see which functions exceed cog 25:
pmat analyze complexity --format json --max-cognitive 25 \ | jq '.violations[] | select(.path | startswith("src/"))' - Apply one of the 6 refactor techniques (P1–P6) documented in
.planning/phases/75-fix-pmat-issues/75-RESEARCH.mdArchitecture Patterns. - If the function is irreducibly complex (parser, AST walker, protocol dispatch), apply a
// Why:annotated#[allow(clippy::cognitive_complexity)]per the template in.planning/phases/75-fix-pmat-issues/75-00-PLAN.md. Hard cap is cog 50 (D-03). - Re-push and the gate re-runs.
DO NOT disable, weaken, or remove this gate without explicit Phase-level approval — it is the mechanism that keeps the README "Quality Gate: passing" badge accurate.
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.
- 20d ago Changed · +8 lines · +202 tokens per session 64b6dd366137
- 22d ago Changed · +14 lines · +394 tokens per session 1c5385e45dc2
- 23d ago Changed · +76 lines · +1,252 tokens per session f387563d432d
- 1mo ago Changed · +5 lines · +41 tokens per session ddef0d2a4dbe
- 1mo ago First seen · 665 lines · 10,210 tokens per session scan A 95b4b7aee7ab
rust-mcp-sdk CLAUDE.md is an instructions file published in the GitHub repository paiml/rust-mcp-sdk (52 stars, last pushed 4d ago), licensed MIT. It adds 12,099 tokens to every session, about $0.0484 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
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).
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.
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).
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 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).
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.