automation smart-spawn command (monomind)
Scanned 9/10/2026
Install to Claude Code
npx -y skills add monoes/monomind --skill monomind-monomind-automation-smart-spawn --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Monomind Monomind Automation Smart Spawn?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/monoes-monomind-monomind-automation-smart-spawn)More formats (shields.io, HTML) on the badges page.
---
description: automation smart-spawn command (monomind)
type: flow
name: monomind-monomind-automation-smart-spawn
---
# smart-spawn
Automatically spawn agents at the start of a task using the hooks pre-task system.
## Usage
```bash
npx monomind hooks pre-task --description "<task>" --auto-spawn
```
## Options
- `--description, -d <text>` - Task description (used for agent selection)
- `--auto-spawn` - Enable automatic agent spawning based on task analysis
- `--id, -i <id>` - Task ID
## Examples
### Auto-spawn agents for a task
```bash
npx monomind hooks pre-task --description "Implement OAuth with Google" --auto-spawn
```
### Route + spawn in one step
```bash
npx monomind hooks route --task "Build REST API" --include-explanation
npx monomind hooks pre-task --description "Build REST API" --auto-spawn
```
## How It Works
The `pre-task` hook analyzes the task description and automatically selects and spawns the right agents:
- **Simple tasks** (`Fix typo`) → single coordinator agent
- **Complex tasks** (`Implement OAuth`) → Architect + Coder + Tester + Researcher
- **Parallel tasks** → mesh topology with load-balanced workers
## Integration with Claude Code
```javascript
// Initialize monoswarm with auto strategy
mcp__monomind__swarm_init({
topology: "hierarchical",
maxAgents: 8,
strategy: "specialized"
})
// Then spawn the appropriate agent type
mcp__monomind__agent_spawn({
type: "coder",
name: "Task Handler",
capabilities: ["typescript", "api"]
})
```
## See Also
- `auto-agent` — spawn agents manually with explicit type/task
- `workflow-select` — run a predefined workflow template
- `hooks pre-task` — full pre-task hook reference
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!