Directly invoke a specific agent for a targeted task. Useful when you know exactly which agent you need.
Directly invoke a specific specialized agent for targeted tasks. Use when you know exactly which agent you need and want direct control over delegation, bypassing orchestration for simple, focused work.
/plugin marketplace add az9713/claude-code-agentic-framework/plugin install az9713-codebase-singularity@az9713/claude-code-agentic-frameworkDirectly invoke a specific specialized agent for a targeted task. Use this when you know exactly which agent you need and want direct control over the delegation.
/delegate [agent-name] [task description]
Examples:
/delegate planner Design the API structure
/delegate reviewer Check this file for issues
/delegate builder Create a validation utility
/delegate security-auditor Audit the auth module
| Agent | Name | Model | Capabilities |
|---|---|---|---|
| ๐ฏ orchestrator | orchestrator | opus | Multi-agent coordination |
| ๐ planner | planner | opus | Planning, architecture, research |
| ๐จ builder | builder | sonnet | Code implementation |
| ๐ reviewer | reviewer | opus | Code review, quality analysis |
| ๐ง fixer | fixer | sonnet | Bug fixes, issue resolution |
| ๐งช test-writer | test-writer | sonnet | Test creation |
| ๐ doc-fetcher | doc-fetcher | haiku | Documentation research |
| ๐ security-auditor | security-auditor | opus | Security analysis |
| โป๏ธ refactorer | refactorer | sonnet | Code improvement |
When this command is invoked:
Extract:
Check that:
If invalid:
Unknown agent: "[name]"
Available agents:
- planner: Planning and architecture
- builder: Code implementation
- reviewer: Code review
- fixer: Issue resolution
- test-writer: Test creation
- doc-fetcher: Documentation
- security-auditor: Security analysis
- refactorer: Code improvement
Usage: /delegate [agent] [task]
Gather relevant context for the agent:
Agent: [agent-name]
Task: [task description]
Project Context:
- Working directory: [path]
- Relevant files: [from conversation or inferred]
- Previous work: [if any]
Constraints:
- Follow project conventions (CLAUDE.md)
- Save outputs to appropriate locations
- Report completion status
Invoke the agent with the Task tool:
Task({
subagent_type: "[agent-name]",
prompt: [prepared context + task]
})
Show agent output and status:
## Agent: [agent-name]
### Task
[Original task]
### Result
[Agent output]
### Files Created/Modified
- [file list if any]
### Status
โ Complete / โ Partial / โ Failed
### Next Steps
[Suggested follow-up if any]
Good for:
Example tasks:
/delegate planner Design the user authentication system
/delegate planner Compare REST vs GraphQL for our API
/delegate planner Create a migration plan for the database
Good for:
Example tasks:
/delegate builder Create a date formatting utility
/delegate builder Add validation to the user form
/delegate builder Implement the search functionality
Good for:
Example tasks:
/delegate reviewer Review app/services/userService.js
/delegate reviewer Check the authentication module for issues
/delegate reviewer Analyze code quality of recent changes
Good for:
Example tasks:
/delegate fixer Fix the null pointer in getUserById
/delegate fixer Address the issues from the last review
/delegate fixer Resolve the failing tests
Good for:
Example tasks:
/delegate test-writer Write tests for the validation module
/delegate test-writer Add edge case tests for date parsing
/delegate test-writer Create integration tests for the API
Good for:
Example tasks:
/delegate doc-fetcher Get JWT authentication best practices
/delegate doc-fetcher Document the Express.js middleware API
/delegate doc-fetcher Research caching strategies
Good for:
Example tasks:
/delegate security-auditor Audit the authentication system
/delegate security-auditor Check for SQL injection vulnerabilities
/delegate security-auditor Review data encryption practices
Good for:
Example tasks:
/delegate refactorer Clean up the utility functions
/delegate refactorer Reduce complexity in the order processor
/delegate refactorer Extract common patterns into helpers
# Planning
/delegate planner [design/analyze/plan something]
# Building
/delegate builder [create/implement/add something]
# Reviewing
/delegate reviewer [review/check/analyze file or feature]
# Fixing
/delegate fixer [fix/resolve/address issue]
# Testing
/delegate test-writer [write/add/create tests for X]
# Research
/delegate doc-fetcher [research/document/find X]
# Security
/delegate security-auditor [audit/check/review security of X]
# Refactoring
/delegate refactorer [improve/clean/refactor X]
/orchestrate