Tools List
Content Details
Alternatives
Installation
๐ Claude Code Subagents Collection
A comprehensive collection of specialized AI subagents for Claude Code, designed to enhance development workflows with domain-specific expertise.
๐ Quick Start
This repository offers a comprehensive collection of 46 specialized AI subagents for Claude Code. These subagents are configured with specific Claude models based on task complexity, aiming to enhance development workflows with domain - specific expertise.
โจ Features
- Diverse Specialties: Covers a wide range of domains including development, infrastructure, quality assurance, data & AI, specialized domains, and business & marketing.
- Model - Based Configuration: Each subagent is assigned a specific Claude model according to task complexity, ensuring cost - effectiveness and optimal performance.
- Automatic and Explicit Invocation: Supports both automatic delegation based on task context and explicit invocation by mentioning the subagent's name.
- Multi - Agent Workflows: Enables seamless collaboration among subagents for complex tasks, with pre - built slash commands available for more sophisticated orchestration.
๐ฆ Installation
These subagents are automatically available when placed in the ~/.claude/agents/ directory.
cd ~/.claude
git clone https://github.com/wshobson/agents.git
๐ป Usage Examples
Single Agent Tasks
# Code quality and review
"Use code-reviewer to analyze this component for best practices"
"Have security-auditor check for OWASP compliance issues"
# Development tasks
"Get backend-architect to design a user authentication API"
"Use frontend-developer to create a responsive dashboard layout"
# Infrastructure and operations
"Have devops-troubleshooter analyze these production logs"
"Use cloud-architect to design a scalable AWS architecture"
"Get network-engineer to debug SSL certificate issues"
"Use database-admin to set up backup and replication"
# Data and AI
"Get data-scientist to analyze this customer behavior dataset"
"Use ai-engineer to build a RAG system for document search"
"Have mlops-engineer set up MLflow experiment tracking"
# Business and marketing
"Have business-analyst create investor deck with growth metrics"
"Use content-marketer to write SEO-optimized blog post"
"Get sales-automator to create cold email sequence"
"Have customer-support draft FAQ documentation"
Multi - Agent Workflows
# Feature development workflow
"Implement user authentication feature"
# Automatically uses: backend-architect โ frontend-developer โ test-automator โ security-auditor
# Performance optimization workflow
"Optimize the checkout process performance"
# Automatically uses: performance-engineer โ database-optimizer โ frontend-developer
# Production incident workflow
"Debug high memory usage in production"
# Automatically uses: incident-responder โ devops-troubleshooter โ error-detective โ performance-engineer
# Network connectivity workflow
"Fix intermittent API timeouts"
# Automatically uses: network-engineer โ devops-troubleshooter โ performance-engineer
# Database maintenance workflow
"Set up disaster recovery for production database"
# Automatically uses: database-admin โ database-optimizer โ incident-responder
# ML pipeline workflow
"Build end-to-end ML pipeline with monitoring"
# Automatically uses: mlops-engineer โ ml-engineer โ data-engineer โ performance-engineer
# Product launch workflow
"Launch new feature with marketing campaign"
# Automatically uses: business-analyst โ content-marketer โ sales-automator โ customer-support
Advanced Workflows with Slash Commands
# Complex feature development (8+ subagents)
/full-stack-feature Build user dashboard with real-time analytics
# Production incident response (5+ subagents)
/incident-response Database connection pool exhausted
# ML infrastructure setup (6+ subagents)
/ml-pipeline Create recommendation engine with A/B testing
# Security-focused implementation (7+ subagents)
/security-hardening Implement OAuth2 with zero-trust architecture
๐ Documentation
Available Subagents
Development & Architecture
- backend-architect - Design RESTful APIs, microservice boundaries, and database schemas
- frontend-developer - Build React components, implement responsive layouts, and handle client - side state management
- mobile-developer - Develop React Native or Flutter apps with native integrations
- graphql-architect - Design GraphQL schemas, resolvers, and federation
- architect-reviewer - Reviews code changes for architectural consistency and patterns
Language Specialists
- python-pro - Write idiomatic Python code with advanced features and optimizations
- golang-pro - Write idiomatic Go code with goroutines, channels, and interfaces
- rust-pro - Write idiomatic Rust with ownership patterns, lifetimes, and trait implementations
- c-pro - Write efficient C code with proper memory management and system calls
- cpp-pro - Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms
- javascript-pro - Master modern JavaScript with ES6+, async patterns, and Node.js APIs
- php-pro - Write idiomatic PHP code with modern features and performance optimizations
- sql-pro - Write complex SQL queries, optimize execution plans, and design normalized schemas
Infrastructure & Operations
- devops-troubleshooter - Debug production issues, analyze logs, and fix deployment failures
- deployment-engineer - Configure CI/CD pipelines, Docker containers, and cloud deployments
- cloud-architect - Design AWS/Azure/GCP infrastructure and optimize cloud costs
- database-optimizer - Optimize SQL queries, design efficient indexes, and handle database migrations
- database-admin - Manage database operations, backups, replication, and monitoring
- terraform-specialist - Write advanced Terraform modules, manage state files, and implement IaC best practices
- incident-responder - Handles production incidents with urgency and precision
- network-engineer - Debug network connectivity, configure load balancers, and analyze traffic patterns
- dx-optimizer - Developer Experience specialist that improves tooling, setup, and workflows
Quality & Security
- code-reviewer - Expert code review for quality, security, and maintainability
- security-auditor - Review code for vulnerabilities and ensure OWASP compliance
- test-automator - Create comprehensive test suites with unit, integration, and e2e tests
- performance-engineer - Profile applications, optimize bottlenecks, and implement caching strategies
- debugger - Debugging specialist for errors, test failures, and unexpected behavior
- error-detective - Search logs and codebases for error patterns, stack traces, and anomalies
- search-specialist - Expert web researcher using advanced search techniques and synthesis
Data & AI
- data-scientist - Data analysis expert for SQL queries, BigQuery operations, and data insights
- data-engineer - Build ETL pipelines, data warehouses, and streaming architectures
- ai-engineer - Build LLM applications, RAG systems, and prompt pipelines
- ml-engineer - Implement ML pipelines, model serving, and feature engineering
- mlops-engineer - Build ML pipelines, experiment tracking, and model registries
- prompt-engineer - Optimizes prompts for LLMs and AI systems
Specialized Domains
- api-documenter - Create OpenAPI/Swagger specs and write developer documentation
- payment-integration - Integrate Stripe, PayPal, and payment processors
- quant-analyst - Build financial models, backtest trading strategies, and analyze market data
- risk-manager - Monitor portfolio risk, R - multiples, and position limits
- legacy-modernizer - Refactor legacy codebases and implement gradual modernization
- context-manager - Manages context across multiple agents and long - running tasks
Business & Marketing
- business-analyst - Analyze metrics, create reports, and track KPIs
- content-marketer - Write blog posts, social media content, and email newsletters
- sales-automator - Draft cold emails, follow - ups, and proposal templates
- customer-support - Handle support tickets, FAQ responses, and customer emails
- legal-advisor - Draft privacy policies, terms of service, and compliance documents
Model Assignments
All 46 subagents are configured with specific Claude models based on task complexity:
๐ Claude Haiku 3.5 (Fast & Cost - Effective) - 8 agents
Model: claude-3-5-haiku-20241022
data-scientist- SQL queries and data analysisapi-documenter- OpenAPI/Swagger documentationbusiness-analyst- Metrics and KPI trackingcontent-marketer- Blog posts and social mediacustomer-support- Support tickets and FAQssales-automator- Cold emails and proposalssearch-specialist- Web research and information gatheringlegal-advisor- Privacy policies and compliance documents
โก Claude Sonnet 4 (Balanced Performance) - 26 agents
Model: claude-sonnet-4-20250514
Development & Languages:
python-pro- Python development with advanced featuresjavascript-pro- Modern JavaScript and Node.jsgolang-pro- Go concurrency and idiomatic patternsrust-pro- Rust memory safety and systems programmingc-pro- C programming and embedded systemscpp-pro- Modern C++ with STL and templatesfrontend-developer- React components and UIbackend-architect- API design and microservicesmobile-developer- React Native/Flutter appssql-pro- Complex SQL optimizationgraphql-architect- GraphQL schemas and resolvers
Infrastructure & Operations:
devops-troubleshooter- Production debuggingdeployment-engineer- CI/CD pipelinesdatabase-optimizer- Query optimizationdatabase-admin- Database operationsterraform-specialist- Infrastructure as Codenetwork-engineer- Network configurationdx-optimizer- Developer experiencedata-engineer- ETL pipelines
Quality & Support:
test-automator- Test suite creationcode-reviewer- Code quality analysisdebugger- Error investigationerror-detective- Log analysisml-engineer- ML model deploymentlegacy-modernizer- Framework migrationspayment-integration- Payment processing
๐ง Claude Opus 4 (Maximum Capability) - 11 agents
Model: claude-opus-4-20250514
ai-engineer- LLM applications and RAG systemssecurity-auditor- Vulnerability analysisperformance-engineer- Application optimizationincident-responder- Production incident handlingmlops-engineer- ML infrastructurearchitect-reviewer- Architectural consistencycloud-architect- Cloud infrastructure designprompt-engineer- LLM prompt optimizationcontext-manager- Multi - agent coordinationquant-analyst- Financial modelingrisk-manager- Portfolio risk management
Subagent Format
Each subagent follows this structure:
---
name: subagent-name
description: When this subagent should be invoked
model: claude-3-5-haiku-20241022 # Optional - specify which model to use
tools: tool1, tool2 # Optional - defaults to all tools
---
System prompt defining the subagent's role and capabilities
Model Configuration
As of Claude Code v1.0.64, subagents can specify which Claude model they should use. This allows for cost - effective task delegation based on complexity:
- Low Complexity (Haiku 3.5): Simple tasks like basic data analysis, documentation generation, and standard responses
- Medium Complexity (Sonnet 4): Development tasks, code review, testing, and standard engineering work
- High Complexity (Opus 4): Critical tasks like security auditing, architecture review, incident response, and AI/ML engineering
Available models:
claude-3-5-haiku-20241022- Fast and cost - effective for simple tasksclaude-sonnet-4-20250514- Balanced performance for most development workclaude-opus-4-20250514- Most capable for complex analysis and critical tasks
If no model is specified, the subagent will use the system's default model.
Agent Orchestration Patterns
Claude Code automatically coordinates agents using these common patterns:
Sequential Workflows
User Request โ Agent A โ Agent B โ Agent C โ Result
Example: "Build a new API feature"
backend-architect โ frontend-developer โ test-automator โ security-auditor
Parallel Execution
User Request โ Agent A + Agent B (simultaneously) โ Merge Results
Example: "Optimize application performance"
performance-engineer + database-optimizer โ Combined recommendations
Conditional Branching
User Request โ Analysis โ Route to appropriate specialist
Example: "Fix this bug"
debugger (analyzes) โ Routes to: backend-architect OR frontend-developer OR devops-troubleshooter
Review & Validation
Primary Agent โ Review Agent โ Final Result
Example: "Implement payment processing"
payment-integration โ security-auditor โ Validated implementation
When to Use Which Agent
๐๏ธ Planning & Architecture
- backend-architect: API design, database schemas, system architecture
- frontend-developer: UI/UX planning, component architecture
- cloud-architect: Infrastructure design, scalability planning
๐ง Implementation & Development
- python-pro: Python - specific development tasks
- golang-pro: Go - specific development tasks
- rust-pro: Rust - specific development, memory safety, systems programming
- c-pro: C programming, embedded systems, performance - critical code
- javascript-pro: Modern JavaScript, async patterns, Node.js/browser code
- sql-pro: Database queries, schema design, query optimization
- mobile-developer: React Native/Flutter development
๐ ๏ธ Operations & Maintenance
- devops-troubleshooter: Production issues, deployment problems
- incident-responder: Critical outages requiring immediate response
- database-optimizer: Query performance, indexing strategies
- database-admin: Backup strategies, replication, user management, disaster recovery
- terraform-specialist: Infrastructure as Code, Terraform modules, state management
- network-engineer: Network connectivity, load balancers, SSL/TLS, DNS debugging
๐ Analysis & Optimization
- performance-engineer: Application bottlenecks, optimization
- security-auditor: Vulnerability scanning, compliance checks
- data-scientist: Data analysis, insights, reporting
- mlops-engineer: ML infrastructure, experiment tracking, model registries, pipeline automation
๐งช Quality Assurance
- code-reviewer: Code quality, maintainability review
- test-automator: Test strategy, test suite creation
- debugger: Bug investigation, error resolution
- error-detective: Log analysis, error pattern recognition, root cause analysis
- search-specialist: Deep web research, competitive analysis, fact - checking
๐ผ Business & Strategy
- business-analyst: KPIs, revenue models, growth projections, investor metrics
- risk-manager: Portfolio risk, hedging strategies, R - multiples, position sizing
- content-marketer: SEO content, blog posts, social media, email campaigns
- sales-automator: Cold emails, follow - ups, proposals, lead nurturing
- customer-support: Support tickets, FAQs, help documentation, troubleshooting
- legal-advisor - Draft privacy policies, terms of service, and compliance documents
Best Practices
๐ฏ Task Delegation
- Let Claude Code delegate automatically - The main agent analyzes context and selects optimal agents
- Be specific about requirements - Include constraints, tech stack, and quality requirements
- Trust agent expertise - Each agent is optimized for their domain
๐ Multi - Agent Workflows
- Start with high - level requests - Let agents coordinate complex multi - step tasks
- Provide context between agents - Ensure agents have necessary background information
- Review integration points - Check how different agents' outputs work together
๐๏ธ Explicit Control
- Use explicit invocation for specific needs - When you want a particular expert's perspective
- Combine multiple agents strategically - Different specialists can validate each other's work
- Request specific review patterns - "Have security - auditor review backend - architect's API design"
๐ Optimization
- Monitor agent effectiveness - Learn which agents work best for your use cases
- Iterate on complex tasks - Use agent feedback to refine requirements
- Leverage agent strengths - Match task complexity to agent capabilities
Troubleshooting
Common Issues
Agent not being invoked automatically:
- Ensure your request clearly indicates the domain (e.g., "performance issue" โ performance - engineer)
- Be specific about the task type (e.g., "review code" โ code - reviewer)
Unexpected agent selection:
- Provide more context about your tech stack and requirements
- Use explicit invocation if you need a specific agent
Multiple agents producing conflicting advice:
- This is normal - different specialists may have different priorities
- Ask for clarification: "Reconcile the recommendations from security - auditor and performance - engineer"
Agent seems to lack context:
- Provide background information in your request
- Reference previous conversations or established patterns
Getting Help
If agents aren't working as expected:
- Check agent descriptions in their individual files
- Try more specific language in your requests
- Use explicit invocation to test specific agents
- Provide more context about your project and goals
Learn More
Alternatives







