/ 目录 / 演练场 / Anthropic Quickstarts
● 官方 anthropics ⚡ 即开即用

Anthropic Quickstarts

作者 anthropics · anthropics/anthropic-quickstarts

来自 Anthropic 的即 fork 即跑的 quickstart 模板——agent、computer use、客服、金融助手——生产形态的脚手架。

anthropics/anthropic-quickstarts 包含常见 Claude 应用的可运行模板:客服 agent、金融数据助手、computer use 演示和 agent 框架入门。每个模板都旨在 fork 后直接定制,而非深入研读。作为 skill 资源使用,能给 Claude 模式匹配的示例,为实现提供参考。

为什么要用

核心特性

实时演示

实际使用效果

就绪

安装

选择你的客户端

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

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

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

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

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

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

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

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

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

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

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

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

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

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

使用场景

实战用法: Anthropic Quickstarts

Fork 客服 quickstart 为你的业务服务

👤 构建支持自动化的创始人/产品开发者 ⏱ ~240 min intermediate

何时使用: 你想要一个可用的基线,然后再做定制。

前置条件
  • Anthropic API key — 从 console.anthropic.com 获取
步骤
  1. Fork 并配置
    Use anthropic-quickstarts. Walk me through forking the customer-support template for my company's KB.✓ 已复制
    → 仓库已 fork,知识库已接入
  2. 替换数据源
    Swap mock KB with my Notion/Helpscout export. Test against 10 real tickets.✓ 已复制
    → 回复以你的知识库为依据
  3. 对接实际支持工具
    Now connect to Zendesk/Intercom for live use.✓ 已复制
    → 工单实际开始生成回复草稿

结果: 生产形态的支持 agent,以天而非周计。

以 agent 框架 quickstart 作为起点

👤 即将构建自定义 agent 的开发者 ⏱ ~90 min intermediate

何时使用: 你想要 SDK 认可的脚手架,而非 Reddit 上随便找来的 fork。

步骤
  1. 提取脚手架
    Show me the agents quickstart skeleton. Strip to the minimum viable.✓ 已复制
    → 可以 fork 的最小骨架
  2. 加入你的领域
    Add tools: lookup_user, refund_order, send_email.✓ 已复制
    → 领域特定的 agent

结果: 基于官方模式构建的自定义 agent。

搭建 computer use 演示,评估其对你任务的适用性

👤 考虑将 computer use 用于内部工作流的团队 ⏱ ~60 min advanced

何时使用: 你想知道 computer use 对你的任务是否真的可用。

前置条件
  • Docker — 运行 computer use 沙箱所必需
步骤
  1. 运行演示
    Walk me through running the computer-use container.✓ 已复制
    → 容器运行;演示浏览器可见
  2. 在我的工作流上测试
    Have it complete a real task from our SOP.✓ 已复制
    → 任务已尝试,附截图

结果: 关于 computer use 是否解决你的任务的实测答案。

注意事项
  • computer use 比直接 tool 调用更慢、更脆弱 — 优先尝试直接 API 工具;只有在没有 API 时才退回到 computer use

组合

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

anthropic-quickstarts-skill + anthropic-cookbook-skill

quickstart 定形,cookbook 提供技术细节

anthropic-quickstarts-skill + anthropic-courses-skill

quickstart 代码 + 课程解释

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
(quickstart templates) fork point 开始一个新应用时 0

成本与限制

运行它的成本

API 配额
quickstart 会调用 API——你的使用费用适用
每次调用 Token 数
因 quickstart 而异
费用
模板免费;运行时按 Claude API 调用计费
提示
开发阶段用 Sonnet,不用 Opus

安全

权限、密钥、影响范围

最小权限: anthropic-api-key
凭据存储: ANTHROPIC_API_KEY 存在环境变量中
数据出站: quickstart 调用的内容(Anthropic API + 你的知识库)

故障排查

常见错误与修复

依赖过时

quickstart 会锁定版本;谨慎升级并重新运行测试

computer use 容器启动失败

内存需求较高;为 Docker 分配 >= 4GB

替代方案

Anthropic Quickstarts 对比其他方案

替代方案何时用它替代权衡
anthropics/anthropic-cookbook你想要配方,不想要完整应用配方粒度 vs 应用粒度
wshobson/agents你想要 Claude Code 中的 subagent,而非独立应用不同的运行时目标

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

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