VoltAgent/awesome-claude-code-subagents

GitHub: VoltAgent/awesome-claude-code-subagents

一个收录了 130 多个 Claude Code 专业化子代理的精选合集,覆盖开发、运维、安全、数据等十大技术领域,可通过插件或手动方式一键安装。

Stars: 18738 | Forks: 2142

Group 32

Claude Code 子代理的精选合集。

[![Awesome](https://awesome.re/badge.svg)](https://awesome.re) ![Subagent Count](https://img.shields.io/badge/subagents-131+-blue?style=flat-square) [![Last Update](https://img.shields.io/github/last-commit/VoltAgent/awesome-claude-code-subagents?label=Last%20update&style=flat-square)](https://github.com/VoltAgent/awesome-claude-code-subagents) VoltAgent [![Discord](https://img.shields.io/discord/1361559153780195478.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://s.voltagent.dev/discord)
为开发者准备的更多精选合集

[![Agent Skills](https://img.shields.io/github/stars/VoltAgent/awesome-agent-skills?style=classic&label=%E2%9A%A1%20Agent%20Skills&color=black)](https://github.com/VoltAgent/awesome-agent-skills) [![Codex Subagents](https://img.shields.io/github/stars/VoltAgent/awesome-codex-subagents?style=classic&label=Codex%20Subagents&color=000000&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0id2hpdGUiPjxwYXRoIGQ9Ik0yMi4yODIgOS44MjFhNS45ODUgNS45ODUgMCAwIDAtLjUxNi00LjkxIDYuMDQ2IDYuMDQ2IDAgMCAwLTYuNTEtMi45QTYuMDY1IDYuMDY1IDAgMCAwIDQuOTgxIDQuMThhNS45ODUgNS45ODUgMCAwIDAtMy45OTggMi45IDYuMDQ2IDYuMDQ2IDAgMCAwIC43NDMgNy4wOTcgNS45OCA1Ljk4IDAgMCAwIC41MSA0LjkxMSA2LjA1MSA2LjA1MSAwIDAgMCA2LjUxNSAyLjlBNS45ODUgNS45ODUgMCAwIDAgMTMuMjYgMjRhNi4wNTYgNi4wNTYgMCAwIDAgNS43NzItNC4yMDYgNS45OSA1Ljk5IDAgMCAwIDMuOTk3LTIuOSA2LjA1NiA2LjA1NiAwIDAgMC0uNzQ3LTcuMDczek0xMy4yNiAyMi40M2E0LjQ3NiA0LjQ3NiAwIDAgMS0yLjg3Ni0xLjA0bC4xNDEtLjA4MSA0Ljc3OS0yLjc1OGEuNzk1Ljc5NSAwIDAgMCAuMzkyLS42ODF2LTYuNzM3bDIuMDIgMS4xNjhhLjA3MS4wNzEgMCAwIDEgLjAzOC4wNTJ2NS41ODNhNC41MDQgNC41MDQgMCAwIDEtNC40OTQgNC40OTR6TTMuNiAxOC4zMDRhNC40NyA0LjQ3IDAgMCAxLS41MzUtMy4wMTRsLjE0Mi4wODUgNC43ODMgMi43NTlhLjc3MS43NzEgMCAwIDAgLjc4IDBsNS44NDMtMy4zNjl2Mi4zMzJhLjA4LjA4IDAgMCAxLS4wMzMuMDYyTDkuNzQgMTkuOTVhNC41IDQuNSAwIDAgMS02LjE0LTEuNjQ2ek0yLjM0IDcuODk2YTQuNDg1IDQuNDg1IDAgMCAxIDIuMzY2LTEuOTczVjExLjZhLjc2Ni43NjYgMCAwIDAgLjM4OC42NzZsNS44MTUgMy4zNTUtMi4wMiAxLjE2OGEuMDc2LjA3NiAwIDAgMS0uMDcxIDBsLTQuODMtMi43ODZBNC41MDQgNC41MDQgMCAwIDEgMi4zNCA3Ljg3MnptMTYuNTk3IDMuODU1bC01LjgzMy0zLjM4N0wxNS4xMTkgNy4yYS4wNzYuMDc2IDAgMCAxIC4wNzEgMGw0LjgzIDIuNzkxYTQuNDk0IDQuNDk0IDAgMCAxLS42NzYgOC4xMDV2LTUuNjc4YS43OS43OSAwIDAgMC0uNDA3LS42Njd6bTIuMDEtMy4wMjNsLS4xNDEtLjA4NS00Ljc3NC0yLjc4MmEuNzc2Ljc3NiAwIDAgMC0uNzg1IDBMOS40MDkgOS4yM1Y2Ljg5N2EuMDY2LjA2NiAwIDAgMSAuMDI4LS4wNjFsNC44My0yLjc4N2E0LjUgNC41IDAgMCAxIDYuNjggNC42NnptLTEyLjY0IDQuMTM1bC0yLjAyLTEuMTY0YS4wOC4wOCAwIDAgMS0uMDM4LS4wNTdWNi4wNzVhNC41IDQuNSAwIDAgMSA3LjM3NS0zLjQ1M2wtLjE0Mi4wOEw4LjcwNCA1LjQ2YS43OTUuNzk1IDAgMCAwLS4zOTMuNjgxem0xLjA5Ny0yLjM2NWwyLjYwMi0xLjUgMi42MDcgMS41djIuOTk5bC0yLjU5NyAxLjUtMi42MDctMS41eiIvPjwvc3ZnPg==)][codex-link] [![OpenClaw Skills](https://img.shields.io/github/stars/VoltAgent/awesome-openclaw-skills?style=classic&label=%F0%9F%A6%9E%20OpenClaw%20Skills&color=f53e36)](https://github.com/VoltAgent/awesome-openclaw-skills) [![AI Agent Papers](https://img.shields.io/github/stars/VoltAgent/awesome-ai-agent-papers?style=classic&label=AI%20Agent%20Papers&color=b31b1b&logo=arxiv)](https://github.com/VoltAgent/awesome-ai-agent-papers)
# Awesome Claude Code Subagents 本仓库是 Claude Code 子代理的权威合集,这些子代理是专为特定开发任务设计的专业化 AI 助手。 ## 安装 ### 作为 Claude Code 插件(推荐) ``` claude plugin marketplace add VoltAgent/awesome-claude-code-subagents claude plugin install ``` 示例: ``` claude plugin install voltagent-lang # Language specialists claude plugin install voltagent-infra # Infrastructure & DevOps ``` 有关所有可用插件,请参阅下面的[分类](#-categories)。 ### 方式 1:手动安装 1. 克隆本仓库 2. 将所需的代理文件复制到: - `~/.claude/agents/` (用于全局访问) - `.claude/agents/` (用于特定项目) 3. 根据您的项目需求进行自定义 ### 方式 2:交互式安装器 ``` git clone https://github.com/VoltAgent/awesome-claude-code-subagents.git cd awesome-claude-code-subagents ./install-agents.sh ``` 此交互式脚本允许您浏览分类、选择代理,并通过单个命令安装/卸载它们。 ### 方式 3:独立安装器(无需克隆) ``` curl -sO https://raw.githubusercontent.com/VoltAgent/awesome-claude-code-subagents/main/install-agents.sh chmod +x install-agents.sh ./install-agents.sh ``` 直接从 GitHub 下载代理,无需克隆仓库。需要 `curl`。 ### 方式 4:代理安装器(使用 Claude Code 安装代理) ``` curl -s https://raw.githubusercontent.com/VoltAgent/awesome-claude-code-subagents/main/categories/09-meta-orchestration/agent-installer.md -o ~/.claude/agents/agent-installer.md ``` 然后在 Claude Code 中:"使用 agent-installer 显示可用分类" 或 "查找 PHP 代理并全局安装 php-pro"。 ## 📚 分类 ### [01. 核心开发](categories/01-core-development/) **插件:** `voltagent-core-dev` 用于日常编码任务的核心开发子代理。 - [**api-designer**](categories/01-core-development/api-designer.md) - REST 和 GraphQL API 架构师 - [**backend-developer**](categories/01-core-development/backend-developer.md) - 面向可扩展 API 的服务端专家 - [**design-bridge**](categories/01-core-development/design-bridge.md) - 设计到代理的转换器 - [**electron-pro**](categories/01-core-development/electron-pro.md) - 桌面应用程序专家 - [**frontend-developer**](categories/01-core-development/frontend-developer.md) - 专注于 React、Vue 和 Angular 的 UI/UX 专家 - [**fullstack-developer**](categories/01-core-development/fullstack-developer.md) - 端到端功能开发专家 - [**graphql-architect**](categories/01-core-development/graphql-architect.md) - GraphQL schema 和联邦专家 - [**microservices-architect**](categories/01-core-development/microservices-architect.md) - 分布式系统设计师 - [**mobile-developer**](categories/01-core-development/mobile-developer.md) - 跨平台移动端专家 - [**ui-designer**](categories/01-core-development/ui-designer.md) - 视觉设计与交互专家 - [**websocket-engineer**](categories/01-core-development/websocket-engineer.md) - 实时通信专家 ### [02. 语言专家](categories/02-language-specialists/) **插件:** `voltagent-lang` 具备深厚框架知识的特定语言专家。 - [**typescript-pro**](categories/02-language-specialists/typescript-pro.md) - TypeScript 专家 - [**sql-pro**](categories/02-language-specialists/sql-pro.md) - 数据库查询专家 - [**swift-expert**](categories/02-language-specialists/swift-expert.md) - iOS 和 macOS 专家 - [**vue-expert**](categories/02-language-specialists/vue-expert.md) - Vue 3 Composition API 专家 - [**angular-architect**](categories/02-language-specialists/angular-architect.md) - Angular 15+ 企业级模式专家 - [**cpp-pro**](categories/02-language-specialists/cpp-pro.md) - C++ 性能专家 - [**csharp-developer**](categories/02-language-specialists/csharp-developer.md) - .NET 生态专家 - [**django-developer**](categories/02-language-specialists/django-developer.md) - Django 4+ Web 开发专家 - [**dotnet-core-expert**](categories/02-language-specialists/dotnet-core-expert.md) - .NET 8 跨平台专家 - [**dotnet-framework-4.8-expert**](categories/02-language-specialists/dotnet-framework-4.8-expert.md) - .NET Framework 遗留企业级专家 - [**elixir-expert**](categories/02-language-specialists/elixir-expert.md) - Elixir 和 OTP 容错系统专家 - [**expo-react-native-expert**](categories/02-language-specialists/expo-react-native-expert.md) - Expo 和 React Native 移动开发专家 - [**fastapi-developer**](categories/02-language-specialists/fastapi-developer.md) - 现代异步 Python API 框架专家 - [**flutter-expert**](categories/02-language-specialists/flutter-expert.md) - Flutter 3+ 跨平台移动端专家 - [**golang-pro**](categories/02-language-specialists/golang-pro.md) - Go 并发专家 - [**java-architect**](categories/02-language-specialists/java-architect.md) - 企业级 Java 专家 - [**javascript-pro**](categories/02-language-specialists/javascript-pro.md) - JavaScript 开发专家 - [**powershell-5.1-expert**](categories/02-language-specialists/powershell-5.1-expert.md) - Windows PowerShell 5.1 及完整 .NET Framework 自动化专家 - [**powershell-7-expert**](categories/02-language-specialists/powershell-7-expert.md) - 跨平台 PowerShell 7+ 自动化及现代 .NET 专家 - [**kotlin-specialist**](categories/02-language-specialists/kotlin-specialist.md) - 现代 JVM 语言专家 - [**laravel-specialist**](categories/02-language-specialists/laravel-specialist.md) - Laravel 10+ PHP 框架专家 - [**nextjs-developer**](categories/02-language-specialists/nextjs-developer.md) - Next.js 14+ 全栈专家 - [**node-specialist**](categories/02-language-specialists/node-specialist.md) - Node.js 专家 - [**php-pro**](categories/02-language-specialists/php-pro.md) - PHP Web 开发专家 - [**python-pro**](categories/02-language-specialists/python-pro.md) - Python 生态大师 - [**rails-expert**](categories/02-language-specialists/rails-expert.md) - Rails 8.1 敏捷开发专家 - [**react-specialist**](categories/02-language-specialists/react-specialist.md) - React 18+ 现代模式专家 - [**rust-engineer**](categories/02-language-specialists/rust-engineer.md) - 系统编程专家 - [**spring-boot-engineer**](categories/02-language-specialists/spring-boot-engineer.md) - Spring Boot 3+ 微服务专家 - [**symfony-specialist**](categories/02-language-specialists/symfony-specialist.md) - Symfony 6+/7+/8+ PHP 框架及 Doctrine ORM 专家 ### [03. 基础设施](categories/03-infrastructure/) **插件:** `voltagent-infra` DevOps、云和部署专家。 - [**azure-infra-engineer**](categories/03-infrastructure/azure-infra-engineer.md) - Azure 基础设施和 Az PowerShell 自动化专家 - [**cloud-architect**](categories/03-infrastructure/cloud-architect.md) - AWS/GCP/Azure 专家 - [**database-administrator**](categories/03-infrastructure/database-administrator.md) - 数据库管理专家 - [**docker-expert**](categories/03-infrastructure/docker-expert.md) - Docker 容器化与优化专家 - [**deployment-engineer**](categories/03-infrastructure/deployment-engineer.md) - 部署自动化专家 - [**devops-engineer**](categories/03-infrastructure/devops-engineer.md) - CI/CD 和自动化专家 - [**devops-incident-responder**](categories/03-infrastructure/devops-incident-responder.md) - DevOps 事件管理专家 - [**incident-responder**](categories/03-infrastructure/incident-responder.md) - 系统事件响应专家 - [**kubernetes-specialist**](categories/03-infrastructure/kubernetes-specialist.md) - 容器编排大师 - [**network-engineer**](categories/03-infrastructure/network-engineer.md) - 网络基础设施专家 - [**platform-engineer**](categories/03-infrastructure/platform-engineer.md) - 平台架构专家 - [**security-engineer**](categories/03-infrastructure/security-engineer.md) - 基础设施安全专家 - [**sre-engineer**](categories/03-infrastructure/sre-engineer.md) - 站点可靠性工程专家 - [**terraform-engineer**](categories/03-infrastructure/terraform-engineer.md) - 基础设施即代码专家 - [**terragrunt-expert**](categories/03-infrastructure/terragrunt-expert.md) - Terragrunt 编排与 DRY IaC 专家 - [**windows-infra-admin**](categories/03-infrastructure/windows-infra-admin.md) - Active Directory、DNS、DHCP 和 GPO 自动化专家 ### [04. 质量与安全](categories/04-quality-security/) **插件:** `voltagent-qa-sec` 测试、安全和代码质量专家。 - [**accessibility-tester**](categories/04-quality-security/accessibility-tester.md) - A11y 合规专家 - [**ad-security-reviewer**](categories/04-quality-security/ad-security-reviewer.md) - Active Directory 安全和 GPO 审计专家 - [**ai-writing-auditor**](categories/04-quality-security/ai-writing-auditor.md) - AI 写作模式检测和改写专家 - [**architect-reviewer**](categories/04-quality-security/architect-reviewer.md) - 架构评审专家 - [**chaos-engineer**](categories/04-quality-security/chaos-engineer.md) - 系统弹性测试专家 - [**code-reviewer**](categories/04-quality-security/code-reviewer.md) - 代码质量守护者 - [**compliance-auditor**](categories/04-quality-security/compliance-auditor.md) - 监管合规专家 - [**debugger**](categories/04-quality-security/debugger.md) - 高级调试专家 - [**error-detective**](categories/04-quality-security/error-detective.md) - 错误分析与解决专家 - [**penetration-tester**](categories/04-quality-security/penetration-tester.md) - 道德黑客专家 - [**performance-engineer**](categories/04-quality-security/performance-engineer.md) - 性能优化专家 - [**powershell-security-hardening**](categories/04-quality-security/powershell-security-hardening.md) - PowerShell 安全加固与合规专家 - [**qa-expert**](categories/04-quality-security/qa-expert.md) - 测试自动化专家 - [**security-auditor**](categories/04-quality-security/security-auditor.md) - 安全漏洞专家 - [**test-automator**](categories/04-quality-security/test-automator.md) - 测试自动化框架专家 - [**ui-ux-tester**](categories/04-quality-security/ui-ux-tester.md) - 全面的文档化流程 UI 测试专家 ### [05. 数据与 AI](categories/05-data-ai/) **插件:** `voltagent-data-ai` 数据工程、ML 和 AI 专家。 - [**ai-engineer**](categories/05-data-ai/ai-engineer.md) - AI 系统设计与部署专家 - [**data-analyst**](categories/05-data-ai/data-analyst.md) - 数据洞察与可视化专家 - [**data-engineer**](categories/05-data-ai/data-engineer.md) - 数据管道架构师 - [**data-scientist**](categories/05-data-ai/data-scientist.md) - 分析与洞察专家 - [**database-optimizer**](categories/05-data-ai/database-optimizer.md) - 数据库性能专家 - [**llm-architect**](categories/05-data-ai/llm-architect.md) - 大语言模型架构师 - [**machine-learning-engineer**](categories/05-data-ai/machine-learning-engineer.md) - 机器学习系统专家 - [**ml-engineer**](categories/05-data-ai/ml-engineer.md) - 机器学习专家 - [**mlops-engineer**](categories/05-data-ai/mlops-engineer.md) - MLOps 和模型部署专家 - [**nlp-engineer**](categories/05-data-ai/nlp-engineer.md) - 自然语言处理专家 - [**postgres-pro**](categories/05-data-ai/postgres-pro.md) - PostgreSQL 数据库专家 - [**prompt-engineer**](categories/05-data-ai/prompt-engineer.md) - Prompt 优化专家 - [**reinforcement-learning-engineer**](categories/05-data-ai/reinforcement-learning-engineer.md) - 强化学习和代理训练专家 ### [06. 开发者体验](categories/06-developer-experience/) **插件:** `voltagent-dev-exp` 工具和开发者生产力专家。 - [**build-engineer**](categories/06-developer-experience/build-engineer.md) - 构建系统专家 - [**cli-developer**](categories/06-developer-experience/cli-developer.md) - 命令行工具创建者 - [**dependency-manager**](categories/06-developer-experience/dependency-manager.md) - 包与依赖专家 - [**documentation-engineer**](categories/06-developer-experience/documentation-engineer.md) - 技术文档专家 - [**dx-optimizer**](categories/06-developer-experience/dx-optimizer.md) - 开发者体验优化专家 - [**git-workflow-manager**](_URL_104/>) - Git 工作流与分支专家 - [**legacy-modernizer**](categories/06-developer-experience/legacy-modernizer.md) - 遗留代码现代化专家 - [**mcp-developer**](categories/06-developer-experience/mcp-developer.md) - Model Context Protocol 专家 - [**powershell-ui-architect**](categories/06-developer-experience/powershell-ui-architect.md) - 专注于 WinForms、WPF、Metro 框架和 TUI 的 PowerShell UI/UX 专家 - [**powershell-module-architect**](categories/06-developer-experience/powershell-module-architect.md) - PowerShell 模块和配置文件架构专家 - [**readme-generator**](categories/06-developer-experience/readme-generator.md) - 仓库 README 生成专家 - [**refactoring-specialist**](categories/06-developer-experience/refactoring-specialist.md) - 代码重构专家 - [**slack-expert**](categories/06-developer-experience/slack-expert.md) - Slack 平台和 @slack/bolt 专家 - [**tooling-engineer**](categories/06-developer-experience/tooling-engineer.md) - 开发者工具专家 ### [07. 专精领域](categories/07-specialized-domains/) **插件:** `voltagent-domains` 特定领域的技术专家。 - [**api-documenter**](categories/07-specialized-domains/api-documenter.md) - API 文档专家 - [**blockchain-developer**](categories/07-specialized-domains/blockchain-developer.md) - Web3 和加密货币专家 - [**embedded-systems**](categories/07-specialized-domains/embedded-systems.md) - 嵌入式与实时系统专家 - [**fintech-engineer**](categories/07-specialized-domains/fintech-engineer.md) - 金融科技专家 - [**game-developer**](categories/07-specialized-domains/game-developer.md) - 游戏开发专家 - [**healthcare-admin**](categories/07-specialized-domains/healthcare-admin.md) - 医疗保健管理专家,包含 51 个子代理,覆盖收入周期、合规性、质量、临床运营、医疗 IT 和付款人关系 - [**iot-engineer**](categories/07-specialized-domains/iot-engineer.md) - IoT 系统开发者 - [**m365-admin**](categories/07-specialized-domains/m365-admin.md) - Microsoft 365、Exchange Online、Teams 和 SharePoint 管理专家 - [**mobile-app-developer**](categories/07-specialized-domains/mobile-app-developer.md) - 移动应用专家 - [**payment-integration**](categories/07-specialized-domains/payment-integration.md) - 支付系统专家 - [**quant-analyst**](categories/07-specialized-domains/quant-analyst.md) - 量化分析专家 - [**risk-manager**](categories/07-specialized-domains/risk-manager.md) - 风险评估与管理专家 - [**seo-specialist**](categories/07-specialized-domains/seo-specialist.md) - 搜索引擎优化专家 ### [08. 商业与产品](categories/08-business-product/) **插件:** `voltagent-biz` 产品管理和业务分析。 - [**business-analyst**](categories/08-business-product/business-analyst.md) - 需求分析专家 - [**content-marketer**](categories/08-business-product/content-marketer.md) - 内容营销专家 - [**customer-success-manager**](categories/08-business-product/customer-success-manager.md) - 客户成功专家 - [**legal-advisor**](categories/08-business-product/legal-advisor.md) - 法律与合规专家 - [**license-engineer**](categories/08-business-product/license-engineer.md) - 软件许可与合规系统专家 - [**product-manager**](categories/08-business-product/product-manager.md) - 产品战略专家 - [**project-manager**](categories/08-business-product/project-manager.md) - 项目管理专家 - [**sales-engineer**](categories/08-business-product/sales-engineer.md) - 技术销售专家 - [**scrum-master**](categories/08-business-product/scrum-master.md) - 敏捷方法论专家 - [**technical-writer**](categories/08-business-product/technical-writer.md) - 技术文档专家 - [**ux-researcher**](categories/08-business-product/ux-researcher.md) - 用户研究专家 - [**wordpress-master**](categories/08-business-product/wordpress-master.md) - WordPress 开发与优化专家 ### [09. 元代理与编排](categories/09-meta-orchestration/) **插件:** `voltagent-meta` 代理协调和元编程。 - [**airis-mcp-gateway**](https://github.com/agiletec-inc/airis-mcp-gateway) - 基于 Docker 的 MCP 多路复用器,将 60 多个工具聚合在 7 个元工具之后,减少了 97% 的上下文 token 使用量。只需一个命令即可启动,按需自动启用服务器 - [**agent-installer**](categories/09-meta-orchestration/agent-installer.md) - 通过 GitHub 浏览并安装本仓库中的代理 - [**agent-organizer**](categories/09-meta-orchestration/agent-organizer.md) - 多代理协调器 - [**codebase-orchestrator**](categories/09-meta-orchestration/codebase-orchestrator.md) - 安全的重构治理编排器 - [**context-manager**](categories/09-meta-orchestration/context-manager.md) - 上下文优化专家 - [**error-coordinator**](categories/09-meta-orchestration/error-coordinator.md) - 错误处理与恢复专家 - [**it-ops-orchestrator**](categories/09-meta-orchestration/it-ops-orchestrator.md) - IT 运营工作流编排专家 - [**knowledge-synthesizer**](categories/09-meta-orchestration/knowledge-synthesizer.md) - 知识聚合专家 - [**multi-agent-coordinator**](categories/09-meta-orchestration/multi-agent-coordinator.md) - 高级多代理编排 - [**performance-monitor**](categories/09-meta-orchestration/performance-monitor.md) - 代理性能优化 - [**pied-piper**](https://github.com/sathish316/pied-piper/) - 编排 AI 子代理团队以处理重复性的 SDLC 工作流 - [**task-distributor**](categories/09-meta-orchestration/task-distributor.md) - 任务分配专家 - [**taskade**](https://github.com/taskade/mcp) - 具备自主代理、实时协作和工作流自动化及 MCP 集成的 AI 驱动工作区 - [**workflow-orchestrator**](categories/09-meta-orchestration/workflow-orchestrator.md) - 复杂工作流自动化 ### [10. 研究与分析](categories/10-research-analysis/) **插件:** `voltagent-research` 研究、搜索和分析专家。 - [**research-analyst**](categories/10-research-analysis/research-analyst.md) - 综合研究专家 - [**search-specialist**](categories/10-research-analysis/search-specialist.md) - 高级信息检索专家 - [**trend-analyst**](categories/10-research-analysis/trend-analyst.md) - 新兴趋势与预测专家 - [**competitive-analyst**](categories/10-research-analysis/competitive-analyst.md) - 竞争情报专家 - [**market-researcher**](categories/10-research-analysis/market-researcher.md) - 市场分析与消费者洞察 - [**project-idea-validator**](categories/10-research-analysis/project-idea-validator.md) - 严酷的产品创意做/不做验证器 - [**data-researcher**](categories/10-research-analysis/data-researcher.md) - 数据发现与分析专家 - [**scientific-literature-researcher**](categories/10-research-analysis/scientific-literature-researcher.md) - 通过 [BGPT MCP](https://github.com/connerlambden/bgpt-mcp) 进行科学论文搜索和证据综合 ## 🤖 理解子代理 子代理是专业化的 AI 助手,通过提供特定任务的专长来增强 Claude Code 的能力。它们充当 Claude Code 在遇到特定类型工作时可以调用的专属助手。 ### 是什么让子代理如此特别? **独立的上下文窗口** 每个子代理都在其独立的隔离上下文空间内运行,防止不同任务之间的交叉污染,并保持主对话线程的清晰。 **特定领域的智能** 子代理配备了针对其专业领域精心制作的指令,从而在专业任务上带来卓越的表现。 **跨项目共享** 创建子代理后,您可以在各种项目中使用它,并在团队成员之间分发,以确保一致的开发实践。 **细粒度的工具权限** 您可以为每个子代理配置特定的工具访问权限,从而对不同任务类型可用的功能进行细粒度控制。 ### 核心优势 - **内存效率**:隔离的上下文防止主对话被特定任务的细节弄得杂乱无章 - **增强的准确性**:专门的 Prompt 和配置在特定领域带来更好的结果 - **工作流一致性**:团队范围内的子代理共享确保了处理常见任务的统一方法 - **安全控制**:可以根据子代理的类型和目的限制工具访问 ### 子代理入门 **1. 访问子代理管理器** ``` /agents ``` **2. 创建您的子代理** - 在项目特定或全局子代理之间进行选择 - 让 Claude 生成一个初始版本,然后根据您的需求进行完善 - 提供有关子代理目的和激活触发器的详细描述 - 配置工具访问(留空以继承所有可用工具) - 使用内置编辑器(按 `e`)自定义系统 Prompt **3. 部署和使用** 您的子代理将立即可用。Claude Code 会在合适的时候自动调用它,或者您可以明确请求它的帮助: ``` > Have the code-reviewer subagent analyze my latest commits ``` ### 子代理存储位置 | 类型 | 路径 | 可用性 | 优先级 | |------|------|--------------|------------| | 项目子代理 | `.claude/agents/` | 仅限当前项目 | 较高 | | 全局子代理 | `~/.claude/agents/` | 所有项目 | 较低 | 注意:当发生命名冲突时,项目特定的子代理会覆盖全局子代理。 ## 📖 子代理结构 每个子代理都遵循标准化的模板: ``` --- name: subagent-name description: When this agent should be invoked tools: Read, Write, Edit, Bash, Glob, Grep model: sonnet --- You are a [role description and expertise areas]... [Agent-specific checklists, patterns, and guidelines]... ## Communication Protocol Inter-agent communication specifications... ## 开发 Workflow Structured implementation phases... ``` ### 工具分配理念 ### 智能模型路由 每个子代理都包含一个 `model` 字段,会自动将其路由到合适的 Claude 模型 —— 在质量和成本之间取得平衡: | 模型 | 何时使用 | 示例 | |-------|----------------|----------| | `opus` | 深度推理 —— 架构评审、安全审计、金融逻辑 | `security-auditor`、`architect-reviewer`、`fintech-engineer` | | `sonnet` | 日常编码 —— 编写、调试、重构 | `python-pro`、`backend-developer`、`devops-engineer` | | `haiku` | 快速任务 —— 文档、搜索、依赖检查 | `documentation-engineer`、`seo-specialist`、`build-engineer` | 您可以通过编辑其 frontmatter 中的 `model` 字段来覆盖任何代理的模型。设置 `model: inherit` 以使用主对话正在使用的任何模型。 ### 工具分配理念 每个子代理的 `tools` 字段都指定了针对其角色优化的 Claude Code 内置工具: - **只读代理**(评审员、审计员):`Read, Grep, Glob` - 分析而不修改 - **研究代理**(分析师、研究员):`Read, Grep, Glob, WebFetch, WebSearch` - 收集信息 - **代码编写者**(开发者、工程师):`Read, Write, Edit, Bash, Glob, Grep` - 创建和执行 - **文档代理**(撰写者、文档员):`Read, Write, Edit, Glob, Grep, WebFetch, WebSearch` - 带研究的文档编写 每个代理都拥有最少的必要权限。您可以通过向 `tools` 字段添加 MCP 服务器或外部工具来扩展代理。 ## 🧰 工具 ### [subagent-catalog](tools/subagent-catalog/) 用于从此目录中浏览和获取子代理的 Claude Code 技能。 | 命令 | 描述 | |---------|-------------| | `/subagent-catalog:search ` | 按名称、描述或分类查找代理 | | `/subagent-catalog:fetch ` | 获取完整的代理定义 | | `/subagent-catalog:list` | 浏览所有分类 | | `/subagent-catalog:invalidate` | 刷新缓存 | **安装:** ``` cp -r tools/subagent-catalog ~/.claude/commands/ ``` ## 🤝 贡献 我们欢迎您的贡献!请参阅 [CONTRIBUTING.md](CONTRIBUTING.md) 获取指南。 - 通过 PR 提交新的子代理 - 改进现有定义 - 报告问题和错误 ## 贡献者 ♥️ 感谢 ![Contributors](https://contrib.rocks/image?repo=voltagent/awesome-claude-code-subagents&max=500&columns=20&anon=1) ## 📄 许可证 MIT 许可证 - 详见 [LICENSE](LICENSE) 本仓库是由维护者和社区共同贡献的子代理定义的精选合集。所有子代理均“按原样”提供,不作任何担保。我们不审计或保证任何子代理的安全性或正确性。使用前请自行审查,维护者对因使用它们而产生的任何问题不承担任何责任。 如果您发现列出的子代理存在问题或希望移除您的贡献,请[开启一个 issue](https://github.com/VoltAgent/awesome-claude-code-subagents/issues),我们将及时处理。
标签:AI编程, AI编程助手, Anthropic, CIS基准, Claude, Claude Code, Cutter, CVE检测, DLL 劫持, DNS解析, LLM, SOC Prime, Subagent, Unmanaged PE, VoltAgent, 人工智能, 代码生成, 大语言模型, 开发工具, 开发效率, 开发用例, 开源项目, 提示词工程, 数据管道, 渗透测试工具, 用户模式Hook绕过, 策略决策点, 网络可观测性, 自动化开发, 资源集合, 软件工程, 防御加固