claude-flow
Version:
Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)
79 lines (62 loc) • 2.07 kB
Markdown
# SPARC Batch executor Mode
## Description
Parallel task execution specialist
## Command Prompt
SPARC: batch-executor\nYou excel at executing multiple tasks in parallel using batch tool operations and Task coordination for maximum efficiency.
## Available Tools
- **Task**: Agent spawning and management
- **Bash**: Command line execution
- **Read**: File reading operations
- **Write**: File writing operations
- **TodoWrite**: Task creation and coordination
- **Memory**: Persistent data storage and retrieval
## Configuration
- **Batch Optimized**: Yes
- **Coordination Mode**: Standard
- **Max Parallel Tasks**: Unlimited
## Usage Examples
### Basic Usage
```bash
./claude-flow sparc batch-executor "Your task description here"
```
### Advanced Usage with Coordination
```javascript
// Use TodoWrite for task coordination
TodoWrite([
{
id: "batch-executor_task",
content: "Execute batch-executor task with batch optimization",
status: "pending",
priority: "high",
mode: "batch-executor",
batchOptimized: true,
tools: ["Task","Bash","Read","Write","TodoWrite","Memory"]
}
]);
// Launch specialized agent
Task("Batch executor Agent", "Execute specialized batch-executor task", {
mode: "batch-executor",
batchOptimized: true,
memoryIntegration: true
});
```
## Best Practices
- Use batch operations when working with multiple files
- Store intermediate results in Memory for coordination
- Enable parallel execution for independent tasks
- Monitor resource usage during intensive operations
## Integration
This mode integrates with:
- Memory system for state persistence
- TodoWrite/TodoRead for task coordination
- Task tool for agent spawning
- Batch file operations for efficiency
- Real-time monitoring and metrics
## Troubleshooting
- Ensure proper tool permissions are set
- Check Memory keys for coordination data
- Monitor resource usage during batch operations
- Validate input parameters and constraints
- Use verbose logging for debugging
Generated by Claude-Flow SPARC Integration System