/ 目錄 / 演練場 / wshobson agents
● 社群 wshobson ⚡ 即開即用

wshobson agents

作者 wshobson · wshobson/agents

83 個即用型 Claude Code 子代理——後端、前端、DevOps、資料、安全——由 orchestrator-agent 協調。

wshobson/agents 是最常使用的 Claude Code 子代理集合之一。83 個專業代理(backend-architectfrontend-developercode-reviewersecurity-auditor 等)加上一個在它們之間委派工作的 orchestrator-agent。放入 ~/.claude/agents,Claude 就會自動探索並路由工作。

為什麼要用

核心特性

即時演示

實際使用效果

就緒

安裝

選擇你的客戶端

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

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

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

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

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

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

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

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

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

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

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

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

claude mcp add wshobson-agents-skill -- git clone https://github.com/wshobson/agents ~/.claude/agents

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

使用場景

實戰用法: wshobson agents

透過自動路由的專業代理端到端建構功能

👤 建構全端功能的獨立開發者 ⏱ ~60 min intermediate

何時使用: 你想要後端 + 前端 + 測試 + 審查,無需在提示間切換。

前置條件
  • 已安裝 Claude Code — npm install -g @anthropic-ai/claude-code
  • 已複製代理 — git clone https://github.com/wshobson/agents ~/.claude/agents
步驟
  1. 用協調代理啟動
    Use orchestrator-agent. Build a CRUD feature for 'invoices' — backend (FastAPI), frontend (Next.js), tests, review.✓ 已複製
    → 帶有子任務的計畫,路由到專業代理
  2. 觀察每次移交
    Show me each agent's contribution as it goes. Pause for my approval after backend before frontend starts.✓ 已複製
    → 帶有檢查點的每個代理差異
  3. 最終安全審查
    Run security-auditor on the diff. Anything risky?✓ 已複製
    → 帶有發現的安全報告

結果: 全端功能完成,每層都有適合的專業代理。

注意事項
  • 協調代理對瑣碎任務過度委派 — 對簡單變更使用 --no-orchestrator 覆蓋
搭配使用: desktop-commander-mcp

用專屬的 code-reviewer 代理進行程式碼審查

👤 想要比「看起來沒問題」更深入的 PR 審查的任何人 ⏱ ~20 min beginner

何時使用: 你想要不只是橡皮圖章的深入審查。

步驟
  1. 整理差異
    Run code-reviewer on the current branch's diff vs main. Group findings by severity.✓ 已複製
    → 按嚴重性 1/2/3 分組的發現
  2. 套用修正
    Apply the sev-1 findings now. Park sev-2/3 for later.✓ 已複製
    → 差異已更新;建議已追蹤

結果: 比「lgtm」更高品質的審查。

搭配使用: wshobson-commands-skill

不透過協調直接呼叫特定專業代理

👤 明確知道需要哪種專業知識的開發者 ⏱ ~30 min intermediate

何時使用: 針對性任務;不需要計畫和路由。

步驟
  1. 選擇代理
    Use database-architect agent. Design a schema for multi-tenant orders with audit trail.✓ 已複製
    → 帶有理由的 schema
  2. 在同一代理中迭代
    Stay in database-architect. Now add a hot/cold partition strategy for 100M rows.✓ 已複製
    → 精修的設計

結果: 領域專業輸出,無需協調代理的開銷。

組合

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

wshobson-agents-skill + wshobson-commands-skill

斜線指令快速觸發特定代理

wshobson-agents-skill + desktop-commander-mcp

代理規劃,desktop-commander 執行

工具

此 MCP 暴露的能力

工具輸入參數何時呼叫成本
orchestrator-agent high-level goal 多領域功能 Coordinator overhead — multi-step
backend-architect service spec 後端決策 0
frontend-developer ui spec UI 工作 0
code-reviewer diff 合併前的閘控 0
security-auditor diff or code 風險性變更 0

成本與限制

運行它的成本

API 配額
不適用——本地技能
每次呼叫 Token 數
協調模式下較高(多代理協調)
費用
免費(MIT)
提示
單領域任務跳過協調代理;直接呼叫專業代理

安全

權限、密鑰、影響範圍

最小權限: filesystem-read
憑證儲存: 無——純提示
資料出站: 無(技能為本地檔案)

故障排查

常見錯誤與修復

找不到代理

確認檔案在 ~/.claude/agents/ 中,帶有 .md 副檔名和正確的 frontmatter

驗證: claude --list-agents
協調代理無限迴圈

在提示中新增明確的終止條件;協調代理服從「當 X 時停止」

路由到錯誤的專業代理

檢查 frontmatter 描述欄位——協調代理按描述匹配路由

替代方案

wshobson agents 對比其他方案

替代方案何時用它替代權衡
wshobson/skills (sibling)你想要技能(Anthropic 技能格式)而非子代理不同格式;同一作者
obra/superpowers帶有不同觀點的精選多技能套件較小、更有主見

更多

資源

📖 閱讀 GitHub 上的官方 README

🐙 查看未解決的 issue

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