mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 09:37:15 +00:00
Add model customization to all subagents (#7)
Implements claude-code v1.0.64's model customization feature by adding model specifications to all 46 subagents based on task complexity: - Claude Haiku 3.5 (8 agents): Simple tasks like data analysis, documentation - Claude Sonnet 4 (26 agents): Development, engineering, and standard tasks - Claude Opus 4 (11 agents): Complex tasks requiring maximum capability This task-based model tiering ensures cost-effective AI usage while maintaining quality for complex tasks. Updates: - Added model field to YAML frontmatter for all agent files - Updated README with comprehensive model assignments - Added model configuration documentation
This commit is contained in:
86
README.md
86
README.md
@@ -4,7 +4,7 @@ A comprehensive collection of specialized AI subagents for [Claude Code](https:/
|
||||
|
||||
## Overview
|
||||
|
||||
This repository contains 46 specialized subagents that extend Claude Code's capabilities. Each subagent is an expert in a specific domain, automatically invoked based on context or explicitly called when needed.
|
||||
This repository contains 46 specialized subagents that extend Claude Code's capabilities. Each subagent is an expert in a specific domain, automatically invoked based on context or explicitly called when needed. All agents are configured with specific Claude models based on task complexity for optimal performance and cost-effectiveness.
|
||||
|
||||
## Available Subagents
|
||||
|
||||
@@ -66,7 +66,75 @@ This repository contains 46 specialized subagents that extend Claude Code's capa
|
||||
- **[content-marketer](content-marketer.md)** - Write blog posts, social media content, and email newsletters
|
||||
- **[sales-automator](sales-automator.md)** - Draft cold emails, follow-ups, and proposal templates
|
||||
- **[customer-support](customer-support.md)** - Handle support tickets, FAQ responses, and customer emails
|
||||
<<<<<<< HEAD
|
||||
- **[legal-advisor](legal-advisor.md)** - Draft privacy policies, terms of service, disclaimers, and legal notices
|
||||
=======
|
||||
- **[legal-advisor](legal-advisor.md)** - 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 analysis
|
||||
- `api-documenter` - OpenAPI/Swagger documentation
|
||||
- `business-analyst` - Metrics and KPI tracking
|
||||
- `content-marketer` - Blog posts and social media
|
||||
- `customer-support` - Support tickets and FAQs
|
||||
- `sales-automator` - Cold emails and proposals
|
||||
- `search-specialist` - Web research and information gathering
|
||||
- `legal-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 features
|
||||
- `javascript-pro` - Modern JavaScript and Node.js
|
||||
- `golang-pro` - Go concurrency and idiomatic patterns
|
||||
- `rust-pro` - Rust memory safety and systems programming
|
||||
- `c-pro` - C programming and embedded systems
|
||||
- `cpp-pro` - Modern C++ with STL and templates
|
||||
- `frontend-developer` - React components and UI
|
||||
- `backend-architect` - API design and microservices
|
||||
- `mobile-developer` - React Native/Flutter apps
|
||||
- `sql-pro` - Complex SQL optimization
|
||||
- `graphql-architect` - GraphQL schemas and resolvers
|
||||
|
||||
**Infrastructure & Operations:**
|
||||
- `devops-troubleshooter` - Production debugging
|
||||
- `deployment-engineer` - CI/CD pipelines
|
||||
- `database-optimizer` - Query optimization
|
||||
- `database-admin` - Database operations
|
||||
- `terraform-specialist` - Infrastructure as Code
|
||||
- `network-engineer` - Network configuration
|
||||
- `dx-optimizer` - Developer experience
|
||||
- `data-engineer` - ETL pipelines
|
||||
|
||||
**Quality & Support:**
|
||||
- `test-automator` - Test suite creation
|
||||
- `code-reviewer` - Code quality analysis
|
||||
- `debugger` - Error investigation
|
||||
- `error-detective` - Log analysis
|
||||
- `ml-engineer` - ML model deployment
|
||||
- `legacy-modernizer` - Framework migrations
|
||||
- `payment-integration` - Payment processing
|
||||
|
||||
### 🧠 Claude Opus 4 (Maximum Capability) - 11 agents
|
||||
**Model:** `claude-opus-4-20250514`
|
||||
- `ai-engineer` - LLM applications and RAG systems
|
||||
- `security-auditor` - Vulnerability analysis
|
||||
- `performance-engineer` - Application optimization
|
||||
- `incident-responder` - Production incident handling
|
||||
- `mlops-engineer` - ML infrastructure
|
||||
- `architect-reviewer` - Architectural consistency
|
||||
- `cloud-architect` - Cloud infrastructure design
|
||||
- `prompt-engineer` - LLM prompt optimization
|
||||
- `context-manager` - Multi-agent coordination
|
||||
- `quant-analyst` - Financial modeling
|
||||
- `risk-manager` - Portfolio risk management
|
||||
>>>>>>> d614f7c (Add model customization to all subagents (#7))
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -179,12 +247,28 @@ 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 tasks
|
||||
- `claude-sonnet-4-20250514` - Balanced performance for most development work
|
||||
- `claude-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:
|
||||
|
||||
Reference in New Issue
Block a user