A comprehensive collection of 33 specialized AI subagents for Claude Code, designed to enhance development workflows with domain-specific expertise and intelligent automation.
Repo: lst97/claude-code-sub-agents
What's inside
A comprehensive collection of 33 specialized AI subagents for Claude Code, designed to enhance development workflows with domain-specific expertise and intelligent automation.
This repository contains a curated set of specialized subagents that extend Claude Code's capabilities across the entire software development lifecycle. Each subagent is an expert in a specific domain, automatically invoked based on context analysis or explicitly called when specialized expertise is needed.
Agents are now organized into logical categories for easier navigation:
Frontend & UI Specialists
Backend & Architecture
Language Specialists
Platform & Mobile
Developer Experience
Data Engineering & Analytics
AI & Machine Learning
Key Capabilities:
When to Use: Complex multi-step projects, cross-domain tasks, architecture decisions, comprehensive analysis, or any scenario requiring coordinated expertise from multiple specialized agents.
Alternatively, you can manually copy individual agent files:
# Prevent replacing documents from other providers
mkdir ~/.claude/agents/lst97
# Copy specific agents to your Claude agents directory
cp /path/to/agents/*.md ~/.claude/agents/lst97
To verify agents are loaded correctly:
# List all available agents
ls ~/.claude/agents/lst97/*.md
# Check Claude Code recognizes the agents (run in Claude Code)
# "List all available subagents"
These subagents are automatically available when placed in the ~/.claude/agents/ directory. Claude Code will automatically detect and load them on startup. This will enable the CLAUDE.md to be available in global scope, may also conflict with other repository.
# Clone the repository to your Claude agents directory
# Documents are base on the scaffold from https://github.com/wshobson/agents.git
cd ~/.claude
git clone https://github.com/lst97/claude-code-sub-agents.git
# Or if the directory already exists, pull the latest updates
cd ~/.claude
git pull origin main
To enable optimal performance with specialized MCP (Model Context Protocol) servers that enhance agent capabilities, add the following configuration to your global Claude settings file (~/.claude.json):
"mcpServers": {
"sequential-thinking": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
],
"env": {}
},
"context7": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/context7-mcp"
],
"env": {}
},
"magic": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@21st-dev/magic@latest",
"API_KEY=\"api-key\"" // API key is required
],
"env": {}
},
"playwright": {
"type": "stdio",
"command": "npx",
"args": [
"@playwright/mcp@latest"
],
"env": {}
},
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/your/allowed/path" // please add your path here
]
},
"puppeteer": {
"command": "npx",
"args": [
"-y",
"puppeteer-mcp-server"
],
"env": {}
}
}
MCP Server Benefits:
Note: These MCP servers significantly enhance agent capabilities but are not strictly required for basic functionality.
For complex projects requiring multi-agent coordination, you can enable the dispatch protocol in your project root directory (not globally):
# Copy CLAUDE.md to your PROJECT root directory (recommended)
cp /path/to/agents/CLAUDE.md /path/to/your/project/CLAUDE.md
โ ๏ธ Project-Scope Recommendation:
~/.claude/CLAUDE.md to prevent over-orchestration of simple tasksTrade-offs to Consider:
Claude Code intelligently analyzes your request and automatically delegates to the most appropriate subagent(s) based on:
Example: "Implement user authentication with secure password handling" โ Automatically uses: backend-architect โ security-auditor โ test-automator
For specific expertise or when you want control over agent selection:
# Direct agent requests
"Use the code-reviewer to check my recent changes"
"Have the security-auditor scan for vulnerabilities"
"Get the performance-engineer to optimize this bottleneck"
# Multi-agent requests
"Have backend-architect design the API, then security-auditor review it"
"Use data-scientist to analyze this dataset, then ai-engineer to build recommendations"
Combine automatic and explicit invocation:
# Start explicit, let Claude coordinate the rest
"Use backend-architect to design a REST API for user management, then handle the implementation automatically"
# Explicit validation after automatic work
"Implement this feature automatically, then have security-auditor review the result"
When not using agent-organizer, specify the exact agent needed for your task:
# Development Tasks
"Use backend-architect to design a REST API for user management"
"Have frontend-developer create a responsive login form component"
"Get python-pro to implement async data processing with proper error handling"
"Have react-pro optimize this component for performance and add proper TypeScript types"
"Use typescript-pro to refactor this module with advanced type safety"
# Code Quality & Review
"Use code-reviewer to analyze this pull request for best practices"
"Have architect-reviewer check if this change maintains architectural consistency"
"Get debugger to investigate why this test is failing intermittently"
# Security & Performance
"Have security-auditor scan this authentication module for vulnerabilities"
"Use performance-engineer to identify bottlenecks in this API endpoint"
"Get database-optimizer to improve these slow queries"
# Testing & QA
"Use test-automator to create comprehensive tests for this user service"
"Have qa-expert design a testing strategy for this new feature"
# Infrastructure & Deployment
"Get devops-incident-responder to investigate this production deployment failure"
"Use cloud-architect to design scalable infrastructure for this microservice"
"Have deployment-engineer set up CI/CD pipeline for this repository"
# Data & AI
"Use data-scientist to analyze user behavior patterns in this dataset"
"Have ai-engineer implement a RAG system for document search"
"Get ml-engineer to deploy this trained model to production"
# Documentation & Specialization
"Use documentation-expert to create comprehensive API documentation"
"Have api-documenter generate OpenAPI specs for these endpoints"
# Multi-Agent Coordination Examples
"Use backend-architect to design the API, then have security-auditor review it"
"Get frontend-developer to build the component, then use test-automator for coverage"
"Have database-optimizer improve queries, then performance-engineer validate results"
Each agent uses a standardized communication protocol with agent-specific context requests. Here are examples:
{
"requesting_agent": "frontend-developer",
"request_type": "get_task_briefing",
"payload": {
"query": "Initial briefing required for UI component development. Provide overview of existing React project structure, design system, component library, and relevant frontend files."
}
}
Each subagent follows a standardized structure for consistent behavior and optimal integration:
---
name: subagent-name
description: When this subagent should be invoked
tools: tool1, tool2 # Optional - defaults to all tools
---
# Subagent Name
**Role**: Detailed role description and primary responsibilities
**Expertise**: Specific technologies, frameworks, and domain knowledge
**Key Capabilities**:
- Capability 1: Description
- Capability 2: Description
- Capability 3: Description
System prompt defining the subagent's specialized behavior, decision-making patterns, and interaction style with other agents.
Claude Code automatically coordinates agents using these patterns:
architect โ implement โ test โ review for dependent tasksperformance-engineer + database-optimizer for independent analysisprimary-agent โ security-auditor for critical componentsreview โ refine โ validate for optimization tasks| Agent | Best For | Example Use Cases |
|---|---|---|
| backend-architect | API design, system architecture | RESTful APIs, microservices, database schemas |
| frontend-developer | UI/UX planning, component design | React components, responsive layouts, state management |
| cloud-architect | Infrastructure design, scalability | AWS/Azure/GCP architecture, cost optimization |
| graphql-architect | GraphQL system design | Schema design, resolvers, federation |
| Agent | Best For | Example Use Cases |
|---|---|---|
| python-pro | Python development | Django/FastAPI apps, data processing, async programming |
| golang-pro | Go development | Microservices, concurrent systems, CLI tools |
| typescript-pro | TypeScript development | Type-safe applications, advanced TS features |
| react-pro | React expertise | Hooks, performance optimization, advanced patterns |
| nextjs-pro | Next.js applications | SSR/SSG, full-stack React, routing |
| Agent | Best For | Example Use Cases |
|---|---|---|
| devops-incident-responder | Production issues, deployments | Log analysis, deployment failures, system debugging |
| incident-responder | Critical outages | Immediate response, crisis management, escalation |
| deployment-engineer | CI/CD, containerization | Docker, Kubernetes, pipeline configuration |
| database-optimizer | Database performance | Query optimization, indexing, migration strategies |
| Agent | Best For | Example Use Cases |
|---|---|---|
| performance-engineer | Application performance | Bottleneck analysis, caching strategies, optimization |
| security-auditor | Security assessment | Vulnerability scanning, OWASP compliance, threat modeling |
| data-scientist | Data analysis | SQL queries, BigQuery, insights and reporting |
| code-reviewer | Code quality | Best practices, maintainability, architectural review |
| Agent | Best For | Example Use Cases |
|---|---|---|
| test-automator | Testing strategy | Unit tests, integration tests, E2E test suites |
| debugger | Bug investigation | Error analysis, test failures, troubleshooting |
| architect-reviewer | Design validation | Architectural consistency, pattern compliance |
To contribute a new subagent to the collection:
Follow Naming Convention
backend-architect.md)Use Standard Format
name, description, and optional toolsWrite Clear Descriptions
Define Specialized Behavior
Test Integration
Common Issues:
Resources:
architect โ implement โ test โ reviewdebugger โ specialist โ validatorperformance-engineer + database-optimizer โ validationprimary-agent โ security-auditor โ approvalThese examples demonstrate real-world multi-agent coordination scenarios with detailed resource metrics to help you understand the token usage, execution time, and expected deliverables for different project complexities:
Both examples include actual token counts, execution times, and deliverable quality to help you plan and budget for multi-agent workflows in your projects.
User Request: /sc:implement use agent-organizer to design and implement the ExportStep.tsx function, improve the UI/UX as well

Step 1: agent-organizer Analysis (56.7K tokens, 1m 20s)

Step 2: backend-architect Implementation (99.1K tokens, 7m 31s)

Step 3: frontend-developer Enhancement (84.3K tokens, 5m 29s)

Step 4: test-automator Quality Assurance (61.4K tokens, 2m 46s)

Complete Feature Delivery:

Resource Usage:
Efficiency Highlights:
User Request: /sc:design implement complex workspace management with user config persistence, multiple workspaces, workspace groups, Discord-like UI with drag-and-drop functionality

5-Agent Team Assembly: backend-architect, frontend-developer, electron-pro, ux-designer, test-automator
Design Deliverables:

Phase 1 Assessment Results:

Comprehensive Team Assessment (5 agents, ~400K tokens total):

Full 5-Phase Implementation:
Final Deliverables:
Total Project Metrics:

Second User Prompt: @agent-code-reviewer-pro the application have build error please find all the build errors and ask the related sub agent to fix it. @agent-agent-organizer

Error Resolution Flow:
Error Resolution Efficiency:
Happy coding with your AI specialist team! ๐
_images/
example-1-agent-organizer.png
example-1-backend-architect.png
example-1-caption-convertion-demo.gif
example-1-final-output.png
example-1-frontend-developer.png
example-1-test-automator.png
example-2-agent-organizer.png
example-2-all-pharse-complete.png
example-2-build-error.png
example-2-nested-sub-agents.png
example-2-pharse-1-complete-summary.png
example-2-pharse-1-complete.png
example-2-pharse-1-working.png
.gitignore
agents/
agent-organizer.md
business/
product-manager.md
data-ai/
ai-engineer.md
data-engineer.md
data-scientist.md
database-optimizer.md
graphql-architect.md
ml-engineer.md
postgres-pro.md
prompt-engineer.md
development/
backend-architect.md
dx-optimizer.md
electorn-pro.md
frontend-developer.md
full-stack-developer.md
golang-pro.md
legacy-modernizer.md
mobile-developer.md
nextjs-pro.md
python-pro.md
react-pro.md
typescript-pro.md
ui-designer.md
ux-designer.md
infrastructure/
cloud-architect.md
deployment-engineer.md
devops-incident-responder.md
incident-responder.md
performance-engineer.md
quality-testing/
architect-review.md
code-reviewer.md
debugger.md
qa-expert.md
test-automator.md
security/
security-auditor.md
specialization/
api-documenter.md
documentation-expert.md
CLAUDE.md
CONTRIBUTING.md
LICENSE
README.mdFAQ
claude-code-sub-agents is a Claude Code plugin with hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.