/ 目录 / 演练场 / Anthropic Skills (Official)
● 官方 anthropics ⚡ 即开即用

Anthropic Skills (Official)

作者 anthropics · anthropics/skills

Anthropic 官方参考 skill 合集——SKILL.md 格式和最佳实践的权威示例。

anthropics/skills 是 SKILL.md 格式的官方参考仓库。包含权威示例(如 document-handling、web-design、slash-creator)、skill 结构的参考模式,以及最佳实践模板。构建自己的 skill 时,这里就是真相来源。

为什么要用

核心特性

实时演示

实际使用效果

就绪

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "anthropic-skills-official": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/anthropics/skills",
        "~/.claude/skills/anthropic"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "anthropic-skills-official": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/anthropics/skills",
        "~/.claude/skills/anthropic"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "anthropic-skills-official": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/anthropics/skills",
        "~/.claude/skills/anthropic"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "anthropic-skills-official": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/anthropics/skills",
        "~/.claude/skills/anthropic"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "anthropic-skills-official",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/anthropics/skills",
        "~/.claude/skills/anthropic"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "anthropic-skills-official": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/anthropics/skills",
          "~/.claude/skills/anthropic"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add anthropic-skills-official -- git clone https://github.com/anthropics/skills ~/.claude/skills/anthropic

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: Anthropic Skills (Official)

通过阅读权威示例学习 SKILL.md 格式

👤 即将编写第一个 skill 的开发者 ⏱ ~30 min beginner

何时使用: 你想要一个精良的示例,而不是凭感觉猜。

步骤
  1. 选择一个参考 skill
    Use anthropics/skills. Show me the document-handling skill in full. Walk me through its structure.✓ 已复制
    → SKILL.md 字段解析——name、description、instructions、resources
  2. 映射到我的领域
    Adapt the structure to my domain (e.g. database-migrations). Show me the SKILL.md skeleton.✓ 已复制
    → 领域映射的骨架
  3. 测试触发
    Add the new skill to ~/.claude/skills. Verify it triggers on the right prompts.✓ 已复制
    → skill 正确激活

结果: 你的第一个 skill,按照 Anthropic 推荐的方式构建。

注意事项
  • 描述模糊 = 误触发 — 让描述对触发信号更具体;少即是多

直接使用 Anthropic 的 document-handling skill 处理文档工作流

👤 有文档处理需求的任何人 ⏱ ~15 min beginner

何时使用: 你想要由 Anthropic 维护的 skill,而非社区 fork。

步骤
  1. 安装
    Clone anthropics/skills into ~/.claude/skills/anthropic.✓ 已复制
    → skill 可被发现
  2. 自然触发
    I have a 200-page PDF I need to summarize and extract tables from. Help.✓ 已复制
    → doc-handling skill 以结构化方式介入

结果: 文档工作流由官方 skill 处理。

搭配使用: markitdown-mcp

将其作为团队内部 skill 的模板

👤 推进 AI 工作流标准化的平台/DX 团队 ⏱ ~60 min intermediate

何时使用: 你想让团队每个人都用同一种方式编写 skill。

步骤
  1. fork 并定制
    Fork anthropics/skills. Add an internal skill following the same structure for our deploy process.✓ 已复制
    → Fork 后的仓库,新 skill 与原有风格一致
  2. 分发
    Document the install path so the team can clone uniformly.✓ 已复制
    → 内部文档就绪

结果: 以官方 skill 为根基的组织内 skill 标准。

组合

与其他 MCP 搭配,撬动十倍杠杆

anthropic-skills-official + markitdown-mcp

doc-handling skill + MarkItDown MCP 实现端到端文档处理

anthropic-skills-official + wshobson-skills-skill

叠加官方 skill 与社区 skill

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
(reference skill bundle) trigger via natural language 当 prompt 与描述匹配时,由 Claude 自动触发 0

成本与限制

运行它的成本

API 配额
不适用
每次调用 Token 数
skill 仅在触发时加载;空闲成本为零
费用
免费(Apache 2.0)
提示
只保留团队实际需要的 skill;移除未使用的,保持触发面干净

安全

权限、密钥、影响范围

最小权限: filesystem-read
凭据存储:
数据出站:

故障排查

常见错误与修复

skill 与自定义的发生冲突

skill 名称必须唯一;给你的自定义 skill 重命名或加命名空间

skill 不触发

描述决定 Claude 何时加载;要匹配用户意图的措辞

替代方案

Anthropic Skills (Official) 对比其他方案

替代方案何时用它替代权衡
wshobson/skills你想要更广泛的社区维护覆盖规范性低;多样性更高
obra/superpowers想要带有强主见的更小精选集不同策展人的视角

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills