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 skills add yonatangross/orchestkit --skill mcp-patternsgit clone --depth 1 https://github.com/yonatangross/orchestkitWrote 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/skills/yonatangross/orchestkit/mcp-patterns)<a href="https://agentmods.dev/skills/yonatangross/orchestkit/mcp-patterns"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/mcp-patterns/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/skills/yonatangross/orchestkit/mcp-patterns"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/mcp-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 171 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- low MCP Rug Pull · line 18 pip install without ==version installs the latest release, which could include malicious changes.Fix: Pin the version: pip install package==1.2.3
- low MCP Rug Pull · line 48 pip install without ==version installs the latest release, which could include malicious changes.Fix: Pin the version: pip install package==1.2.3
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.00055 | $0.03369 |
| Opus 5.5 | $0.00022 | $0.01348 |
| Sonnet 5.5 | $0.00011 | $0.00674 |
| Haiku 4.5 | $0.00006 | $0.00337 |
Grade A, and why
mcp-patterns 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 5d 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 — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MCP Patterns
Patterns for building, composing, and securing Model Context Protocol servers. Based on the 2025-11-25 specification — the latest stable release maintained by the Agentic AI Foundation (Linux Foundation), co-founded by Anthropic, Block, and OpenAI.
Scaffolding a new server? Use Anthropic's
mcp-builderskill (from theanthropics/skillsmarketplace:/plugin marketplace add anthropics/skills) for project setup and evaluation creation. This skill focuses on patterns, security, and advanced features after initial setup.Deploying to Cloudflare? See the
building-mcp-server-on-cloudflareskill for Workers-specific deployment patterns.
Pin
mcp<2until you migrate. Every Python snippet in this skill targets the v1 SDK (from mcp.server.fastmcp import FastMCP). The Python SDK released 2.0.0,pip install mcpnow resolves to it, and upstream's own README says to keep a<2upper bound on your requirement until you have migrated.FastMCPdoes not appear anywhere in the 2.0 README, so treat these snippets as v1-only rather than assuming they still apply. v1.x continues to receive critical bug and security fixes on its own branch. Verified 2026-07-31. Migration guide: https://py.sdk.modelcontextprotocol.io/migration/
Decision Tree — Which Rule to Read
What are you building?
│
├── New MCP server
│ ├── Setup & primitives ──────► rules/server-setup.md
│ ├── Transport selection ─────► rules/server-transport.md
│ └── Scaffolding ─────────────► mcp-builder skill (anthropics/skills)
│
├── Authentication & authorization
│ └── OAuth 2.1 + OIDC ───────► rules/auth-oauth21.md
│
├── Advanced server features
│ ├── Tool composition ────────► rules/advanced-composition.md
│ ├── Resource caching ────────► rules/advanced-resources.md
│ ├── Elicitation (user input) ► rules/elicitation.md
│ ├── Sampling (agent loops) ──► rules/sampling-tools.md
│ └── Interactive UI ──────────► rules/apps-ui.md
│
├── Client-side consumption
│ └── Connecting to servers ───► rules/client-patterns.md
│
├── Security hardening
│ ├── Prompt injection defense ► rules/security-injection.md
│ └── Zero-trust & verification ► rules/security-hardening.md
│
├── Testing & debugging
│ └── Inspector + unit tests ──► rules/testing-debugging.md
│
├── Discovery & ecosystem
│ └── Registries & catalogs ──► rules/registry-discovery.md
│
└── Browser-native tools
└── WebMCP (W3C) ───────────► rules/webmcp-browser.md
What ships with it
20 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- checklists/mcp-server-checklist.md 1.1 KB
- references/mcp-audit-runbook.md 5.8 KB
- references/mcp-version-matrix.md 9.2 KB
- rules/_sections.md 2.3 KB
- rules/_template.md 339 B
- rules/advanced-composition.md 2.8 KB
- rules/advanced-resources.md 3.7 KB
- rules/apps-ui.md 4.4 KB
- rules/auth-oauth21.md 7.0 KB
- rules/client-patterns.md 5.4 KB
- rules/elicitation.md 4.5 KB
- rules/registry-discovery.md 3.8 KB
- rules/sampling-tools.md 4.8 KB
- rules/security-hardening.md 4.7 KB
- rules/security-injection.md 3.6 KB
- rules/server-setup.md 3.1 KB
- rules/server-transport.md 4.9 KB
- rules/testing-debugging.md 4.1 KB
- rules/webmcp-browser.md 3.6 KB
- test-cases.json 11 KB
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.
- 5d ago Changed d9c04b74b34e
- 7d ago Changed 817fa75dbef1
- 12d ago Changed · +1 lines 3a21fa9f5373
- 16d ago Changed · -1 tokens per session 830b29b6c26f
- 17d ago Changed · -1 lines 38f5a2301f32
- 1mo ago Changed · -1 lines 7730f5db8da9
- 2mo ago Changed 208dba320c80
- 2mo ago Changed · -5 lines 9e1b37556011
- 2mo ago Changed · -1 lines 0ce61c6fc1a0
- 2mo ago First seen · 225 lines · 56 tokens per session scan A 81067f460713
mcp-patterns is a skill published in the GitHub repository yonatangross/orchestkit (312 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 3,369 once invoked, about $0.0002 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-09-03.
mcp-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp-patternsyonatangross/orchestkit | Skill | 312 | today | MIT | A | 55 | Claude Code |
| Agent Workflow Buildereddiebelaval/squire | Skill | 21 | 3mo ago | MIT | A | 19 | Claude Code, Codex |
| implement-outlinehumanlayer/humanlayer | Skill | 13k | 7d ago | Apache-2.0 | A | 15 | Claude Code, Codex |
| web-researchshibing624/agentica | Skill | 368 | yesterday | Apache-2.0 | A | 24 | Claude Code, Codex |
| stall-resetSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 14 | Claude Code, Codex |
| time-steppingHeshamFS/materials-simulation-skills | Skill | 95 | 14d ago | Apache-2.0 | A | 108 | Claude Code |
| ai-multi-agent-systemsj4flmao/agent-skills | Skill | 46 | 13d ago | MIT | A | 88 | Claude Code, Codex |