/ 目錄 / 演練場 / Awesome Claude Code Subagents
● 社群 VoltAgent ⚡ 即開即用

Awesome Claude Code Subagents

作者 VoltAgent · VoltAgent/awesome-claude-code-subagents

100+ 個涵蓋前端、後端、基礎設施、安全性、效能、資料的專門 Claude Code 子代理——呼叫專家,而非通才。

VoltAgent 的 awesome-claude-code-subagents 是一個有主見的子代理設定函式庫——每個都是領域專家,有自己的系統提示、工具白名單和審查檢查清單。你將「安全性審查員」或「效能審計員」作為子代理委派,取得專注的輸出,再讓主代理整合。

為什麼要用

核心特性

即時演示

實際使用效果

就緒

安裝

選擇你的客戶端

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

開啟 Claude Desktop → Settings → Developer → Edit Config。儲存後重啟應用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "awesome-claude-subagents": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/VoltAgent/awesome-claude-code-subagents",
        "~/.claude/skills/awesome-subagents"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用與 Claude Desktop 相同的 mcpServers 格式。專案級設定優先於全域。

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

點擊 Cline 側欄中的 MCP Servers 圖示,然後選 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "awesome-claude-subagents": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/VoltAgent/awesome-claude-code-subagents",
        "~/.claude/skills/awesome-subagents"
      ],
      "_inferred": true
    }
  }
}

格式與 Claude Desktop 相同。重啟 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "awesome-claude-subagents",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/VoltAgent/awesome-claude-code-subagents",
        "~/.claude/skills/awesome-subagents"
      ]
    }
  ]
}

Continue 使用伺服器物件陣列,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "awesome-claude-subagents": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/VoltAgent/awesome-claude-code-subagents",
          "~/.claude/skills/awesome-subagents"
        ]
      }
    }
  }
}

加入 context_servers。Zed 儲存後熱重載。

claude mcp add awesome-claude-subagents -- git clone https://github.com/VoltAgent/awesome-claude-code-subagents ~/.claude/skills/awesome-subagents

一行命令搞定。用 claude mcp list 驗證,claude mcp remove 移除。

使用場景

實戰用法: Awesome Claude Code Subagents

將安全性審查委派給專門子代理

👤 發布觸及驗證/資料的功能的開發者 ⏱ ~20 min intermediate

何時使用: 你的主代理寫了 auth 程式碼;你想要一個專注子代理的第二雙眼睛。

步驟
  1. 啟動
    使用 awesome-subagents。在 src/auth 上啟動「security-reviewer」子代理。✓ 已複製
    → 子代理回報發現
  2. 分流
    按嚴重程度分組發現。識別哪些主代理應立即修復,哪些應歸檔為議題。✓ 已複製
    → 已分流的列表

結果: 每個 PR 都有安全性回饋,而無需支付真實審查員的薪資。

注意事項
  • 子代理發現主代理不同意的事情 — 你來決定——通常以安全性為中心的輸出是對的;預設謹慎
搭配使用: claude-hud-skill

對熱路徑執行效能審計子代理

👤 分析慢速功能的開發者 ⏱ ~45 min intermediate

何時使用: 一個端點很慢,你想要專注的效能審查。

步驟
  1. 限定範圍
    在 /orders 端點上啟動「perf-auditor」子代理。包含資料庫 schema。✓ 已複製
    → 發現:N+1、遺失索引、熱迴圈
  2. 套用
    套用前 3 個修復;對比前後的基準測試。✓ 已複製
    → 含數字的延遲下降

結果: 真實的效能提升,而非感覺上的。

注意事項
  • 子代理建議微優化 — 要求影響排名;忽略雜訊

為特定任務找到合適的子代理

👤 剛接觸目錄的開發者 ⏱ ~15 min beginner

何時使用: 你有一個特定任務,不知道用哪個子代理。

步驟
  1. 搜尋
    列出適合「Postgres 查詢優化」的子代理。✓ 已複製
    → 2–3 個含範圍的候選項
  2. 嘗試
    在 /reports/slow_queries.sql 上使用最佳匹配。✓ 已複製
    → 針對性分析

結果: 用對工具;更少通才代理的推論。

注意事項
  • 子代理定義重疊 — 選擇範圍最窄的那個

組合

與其他 MCP 搭配,撬動十倍槓桿

awesome-claude-subagents + claude-hud-skill

啟動子代理並即時觀察其進度

啟動 3 個審查員;透過 HUD 追蹤。✓ 已複製
awesome-claude-subagents + mcp-agent-mail

子代理透過郵件協調以避免重複工作

子代理開始前先在 #review 討論串宣告。✓ 已複製

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
list_subagents domain? 探索 免費
spawn_subagent name, scope, task 委派專注任務 子代理執行的 token

成本與限制

運行它的成本

API 配額
不適用
每次呼叫 Token 數
每個子代理執行都有自己的上下文——成本會累積;有意識地規劃預算
費用
免費
提示
只在任務真正需要專門知識時使用子代理;不要過度委派

安全

權限、密鑰、影響範圍

最小權限: 按子代理而定——有些需要 shell,有些不需要
憑證儲存: 無內建
資料出站: 取決於子代理的工具
切勿授予: 向不需要的子代理授予廣泛工具存取

故障排查

常見錯誤與修復

子代理永遠跑不完

設定逾時;部分子代理過於積極

子代理忽略範圍

在啟動任務中更明確;設定嚴格的路徑範圍

替代方案

Awesome Claude Code Subagents 對比其他方案

替代方案何時用它替代權衡
單一多工具代理任務是通用性的輸出較不專注
wshobson/agents你想要不同的精選集有重疊;選擇你偏好的哲學

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

🔍 瀏覽全部 400+ MCP 伺服器和 Skills