Claude Skills & MCP Protocol
Two Parallel Extension Systems
The AI agent ecosystem has converged on two complementary approaches for extending AI model capabilities: Skills (prompt-based capability modules) and MCP (Model Context Protocol — standardized tool integration). Understanding when to use each is key to building effective AI workflows.
Claude Skills
What Is a Skill?
A Skill is a reusable capability module: a prompt template + optional scripts that extends an AI model’s ability to perform specific tasks. In Claude Code and similar tools, skills are triggered by:
- Slash commands (e.g.,
/commit,/review) - Natural language auto-matching (the model recognizes the intent and applies the skill)
Skills do not invent new tools — they compose existing tools in smart ways. They are essentially “canned expertise.”
Notable Skills (Real-World Examples)
ai-translate — Embedded Translation Skill
stormzhang’s open-source translation skill embedded in AI coding tools. Two characters (/t) trigger translation, no API key required. Key design principles:
- Context Fork mode ignores project context, minimizing token cost
- Zero-config: reuses the AI model already powering the coding tool (Claude or GPT)
- Five tool adapters: Claude Code, Codex, Cursor, Windsurf, OpenCode
- Voice variant:
/tstranslates and reads aloud - Context-aware: when translated word is a coding tool command, provides usage help
See: ../sources/2026-05-05-我开源了一个 AI 轻量翻译工具
ai-translate exemplifies the “Prompts-as-Products” philosophy — two carefully designed prompt files constitute the entire product. Competitive moat = prompt quality + “convenient enough.”
Top Skills (from 50,000+ user collection)
| Skill | Purpose | Popularity |
|---|---|---|
| Skill Mentor | Learning prompt engineering | Very High |
| Claude Code Best Practices | Using Claude Code effectively | Very High |
| Karpathy’s Autoresearch | Iterative prompt optimization | High |
| Code Review | Structured code review | High |
| Meeting Summary | Auto-generate meeting notes | High |
Skill Marketplace
ClawHub (for OpenClaw) and similar platforms allow:
- Publishing skills to community
- Browsing by category/use case
- One-click installation
- Version management
YAML skill configuration example:
name: code-review
description: Structured code review with security focus
trigger: /review
instructions: |
Review the provided code for:
1. Security vulnerabilities
2. Performance issues
3. Code style consistency
4. Test coverage
tools: [Read, Grep, Glob, Bash]The “Skill Designer Engineer” — New Role?
One article predicts a new job title emerging: Skill Designer Engineer
- Crafting effective prompts that work across many users and contexts
- Understanding which tool combinations solve specific task types
- Testing and iterating on skill effectiveness
- Similar to prompt engineering but at scale
Superpowers — 生产级 Workflow Skill
Superpowers 是 Claude Code 的生产级工作流 Skill(../sources/2026-05-02-Claude-Code-MiniMax-Superpowers-生产系统交付)。三步工作流:
/brainstorming:苏格拉底式引导讨论,主动收集必要信息,补全纠正需求/writing-plans:编写结构化执行计划文件,待用户确认/subagent-driven-development:启动子 Agent 按步骤执行计划,自动 git commit 保持可追溯性
配套工具:
- Planning-with-files:3 个文件约束长任务失控问题,适合跨天任务
- Claude-hud:实时展示上下文用量,超 70% 建议 compact 或新会话
安装:
/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers@superpowers-marketplace
Skill 工程方法论(2026-06 更新)
Skill = Context Engineering(Anthropic 核心观点)
Anthropic 内部 Skill 方法论的关键认知转变:
- Skill 不是一个 markdown 文件,而是一个文件夹:用文件夹形式表达 Context Engineering 理念
- 渐进式暴露:SKILL.md 是导航页,references/、scripts/、examples/、assets/ 按需加载
- 三层加载 Token 经济学:
- Level 1(常驻):name + description,~50-150 Token/Skill
- Level 2(触发加载):SKILL.md 正文,~2,000-5,000 Token
- Level 3(按需):脚本/参考文档,按实际大小
- Gotchas > Instructions:Skill 真正要写的是常踩的坑(“这个表不能按 created_at 排序”),不是模型已知的常识
Instructions vs Scripts 分界
| 层面 | Instructions | Scripts |
|---|---|---|
| 作用 | 经验和判断 | 能力和执行 |
| 示例 | ”Stripe 返回 200 不代表成功” | check_payment_events() |
Description = 路由规则
Description 最重要的不是”能干什么”,而是”什么情况下应该加载它”。检验方法:删掉 Skill,只保留 Description,模型能否判断何时触发。
常见反模式(腾讯技术工程总结)
| 反模式 | 症状 | 解法 |
|---|---|---|
| 大杂烩 | 一个 Skill 干三件事 | 拆分为子 Skill |
| Description 黑话 | 全是内部术语 | 通用语言+技术关键词 |
| 没有示例 | 纯文字描述 | Few-Shot + Before/After |
| 没有验证点 | 做完才检查 | 关键步骤加检查点 |
| 当 Wiki 写 | 背景 300 行正文 50 行 | 背景放 references/ |
Skill Creator 工程化评估
Anthropic 官方 Skill Creator 新增评估能力:触发评估(Precision/Recall ≥ 85%)+ 效果评估(通过率 ≥ 80%,相对提升 ≥ 30%)。
鲁班 Skill:Skill 自我升级
用 Claude Fable 5 打磨升级已有 Skill。横纵对比法:分析 GitHub 同类项目 Star 历史和 Release 记录,找出差距功能,自动迭代。
MCP vs HTTP 选择决策树
需要调用外部服务
→ 已有 MCP Server? → 优先 MCP
→ 需多平台复用? → 封装 MCP Server
→ 简单一次性调用? → 脚本直接 HTTP
核心原则:MCP 管连接,Skill 管流程,HTTP 脚本兜底
Enterprise Pipeline Skills: NVIDIA AI-Q
NVIDIA AI-Q expands the skill concept from “prompt + helper script” to “thin adapter over a full backend pipeline.” The AI-Q skill gives Claude Code, Codex, OpenCode, or LangChain Deep Agents a single deep-research capability backed by a running AI-Q server.
Key design distinction:
- Skill layer: tells the harness when/how to delegate a research task and uses a helper script to submit and poll jobs.
- MCP layer: connects enterprise data sources to AI-Q with auth patterns: unauthenticated
mcp_client, service-accountmcp_client + mcp_service_account, or signed-in user bearer-token forwarding. - Backend layer: AI-Q handles intent classification, clarification, shallow/deep research, evaluation, citations, and OpenTelemetry traces.
This is a useful layered pattern: Skills expose high-level reusable capabilities to the agent; MCP supplies data/tool connectivity; the specialized backend owns reliability, security, and evaluation.
MCP — Model Context Protocol
What Is MCP?
MCP (Model Context Protocol) is an open standard invented by Anthropic for connecting AI models to external tools and data sources. Think of it as “USB-C for AI” — a universal connector that works across different AI providers and tools.
Core concept: Instead of each AI model implementing custom integrations for every tool (n×m problem), MCP defines a standard interface. Tool developers implement the standard once; AI models can use any MCP-compatible tool.
Architecture
┌─────────────┐ MCP Server ┌──────────────┐
│ AI Model │ ←────────────────→ │ Tool (GitHub) │
│ (Claude) │ (Standard Protocol)│ (Database) │
└─────────────┘ └──────────────┘
↑─────────────────↓
MCP Server (Brave Search)
Key MCP Servers (Community-Owned)
| Server | Capabilities |
|---|---|
| GitHub | Read/write repos, issues, PRs |
| Google Drive | Read/write docs, sheets |
| Slack/Discord | Send/receive messages |
| PostgreSQL | Query databases |
| Brave Search | Web search |
| Filesystem | Read/write local files |
| Puppeteer | Browser automation |
MCP in Claude Code
Claude Code supports both MCP client (connecting to external MCP servers) and MCP server (exposing Claude Code tools to other applications).
# Example: Add GitHub MCP to Claude Code
claude mcp add github -- npx @anthropic/claude-mcp-server-githubSkills vs MCP — When to Use Each
| Dimension | Skills | MCP |
|---|---|---|
| What it does | Prompt template + tool composition | Tool integration standard |
| Flexibility | High — can encode complex logic | Fixed — follows protocol spec |
| Context impact | Adds to context window | Can pollute context if misused |
| Maintenance | Prompt versioning | Server maintenance |
| Best for | Complex reasoning patterns, specialized expertise | External data access, API calls |
| Composable | Can call MCP tools inside a skill | Can be triggered by skills |
Peter Steinberger’s View (OpenClaw Creator)
“MCP 污染上下文,不可组合;Skills + CLI 才是正道”
His argument:
- MCP pulls entire data blobs into context
- Skills + CLI: model calls Unix commands, filters with
jq, gets only what it needs - No context pollution
- More efficient and composable
The Emerging Consensus
Use MCP for: Data retrieval, API integrations, external services Use Skills for: Complex workflows, domain expertise, multi-step reasoning patterns Use both together: Skill invokes MCP tool calls
Obsidian Skills — Knowledge Management Extensions
Obsidian has developed its own Skill system for AI-powered knowledge management:
- Defuddle: Extract content from web pages (Obsidian CEO’s own skill)
- Memory: Persistent context across conversations
- Search: Semantic search across the vault
These represent a new paradigm: Skills that make AI understand your knowledge base.
Related Pages
- OpenClaw — Uses Skills + MCP together
- Claude Code — Implements both Skills and MCP
- MCP Protocol — Deep dive on MCP specifically
- AI Agent Memory — How Skills interact with agent memory
Sources: Claude Agent Skills Deep Dive, Skill Designer Engineer, MCP vs Skills vs PTC, Obsidian Skills, Top 10 Skills
Related Sources
- feishu-claude-bridge
- Claude-Roleplay-Quant-Trading
- Claude-Code-MiniMax-Superpowers-生产系统
- Claude-Code-Economics
- Claude-Code-Best-Practices
- Claude-Code-vs-Cursor
- Claude-Code-Qoder-CLI
- ClaudeCode用腻了终端?这个开源神器给AIAgent装上了图形界面-2026-04-29
- 我用 Tushare + Claude Code,手搓了一套本地股票数据同步系统(已开源)-2026-04-29
- 从Cursor返聘归来,90后华裔女高管带Claude开启日更模式:token成本比工程师工资低多了!-2026-…
- 一个CLAUDE霸榜GitHub第一,蒸馏自Karpathy,6万码农抄作业-36氪-2026-04-21
- Claude Code 并行开发完全指南:Subagents + Agent Teams + Git Worktr…
- 手机直接运行 Codex-OpenCode-Claude Code ,实时管理你的 AI Coding-2026-…
- Claude 接上 TradingView 之后,普通交易者第一次摸到了“交易台级别”的 AI 工作流-2026-…
- 赛博鸡生蛋,7小时用Claude Vibe Coding一个Mini-Claude-2026-04-17
- 我写了个脚本,一键检测 Claude 运行环境-2026-04-17
- 精简CLAUDE:从 Claude Code 源码机制验证Karpathy 的四条原则技术正确性-2026-04-16
- Karpathy-CLAUDE-MD-Principles
- Claude深夜放王炸!新功能24小时替你干活,不用开电脑、效率狂飙-2026-04-15
- 这个 Skill 太狠了:17种PPT风格,一句话就能做出来!-2026-04-15
- 巴菲特,被炼化成了Skills-2026-04-14
- 这可能是最好的 Claude Code 手机遥控器-2026-04-12
- 蒸馏:全员skill的职场恐怖故事-2026-04-10
- GitHub 上一路飙到 3.2 万 Star 的 Claude Code 最佳实践,开源了。-2026-04-10
- 【万字】拆完 Claude Code 51万行源码后,我才明白什么叫 Harness-2026-04-07
- 辞职搬回父母家,用claude code 90天月入40万-2026-04-07
- 解码Agent Harness—Claude Code 架构深度-2026-04-07
- WeWrite + Claude Code:小白也能快速写出高质量公众号文章-2026-04-07
- 【炸裂】167.4K+ star史上最快破5万星项目,用Rust重写Claude Code!-2026-04-05
- 开源书《解密 Claude Code》-2026-04-05
- 下载到本地的 Claude Code 源码,用这个 CLI 工具解读太香了。-2026-04-05
- Claude Code 可以接入 Telegram 了,快来试试-2026-04-03
- 一个 finance-skills,就把股票、期权和相关性分析都塞进 Agent 了-2026-04-02
- Claude Code 泄露的代码里,处处写着:这家公司人品不行-2026-04-02
- 从 Claude Code 源码学 Agent 开发-2026-04-01
- Claude Code 源码一夜流出:会看热闹的人很多,会读源码的人很少-2026-04-01
- Claude Code 源码泄露,全面剖析【长文】-2026-04-01
- 用 Happy 远程驱动 Claude Code 分析其泄露的源代码-2026-04-01
- 祝贺Claude Code成功越狱,获得永生-2026-04-01
- 源码被开源,Claude Code之父回应了:纯内部开发者手滑-2026-04-01
- Superpowers vs gstack:你该用哪个 Claude Code Skill?-2026-04-01
- Claude源码泄露,我们开发了全球首个专为学习Claude源码的网站Claudeleakage-2026-04-01
- 速递丨刚刚,Claude Code源码泄漏了!附链接~-2026-03-31
- 全网疯传fork!刚刚,Claude Code源代码泄露被开源了-2026-03-31
- 欢迎安装 xfg-ddd-skills - 拿几十亿 Token 喂出来的,支持 OpenClaw(QClaw)、…
- 曝!Claude Code 源码泄露!51 万行代码!插件体系、子智能体、计划模式被扒光-2026-03-31
- Claude Code Architecture-2026-03-31
- GitHub 2.3 万星神器!让 Claude Code 的 Team 协作“看得见”-2026-03-27
- Claude Code-Codex-OpenCode 成本神器诞生,Token 节省 80%!-2026-03-26
- Claude Code 唯一的缺点,被微信补上了-2026-03-26