/pre-task
Execute pre-task preparations and context loading.
> /plugin marketplace add proffesor-for-testing/agentic-qe> /plugin install agentic-qe-fleet@agentic-qe
Command definition
pre-task.mdhook pre-task
Execute pre-task preparations and context loading.
Usage
npx ruflo@3.76.0 hook pre-task [options]
Options
- `--description, -d <text>` - Task description for context
- `--auto-spawn-agents` - Automatically spawn required agents (default: true)
- `--load-memory` - Load relevant memory from previous sessions
- `--optimize-topology` - Select optimal swarm topology
- `--estimate-complexity` - Analyze task complexity
Examples
Basic pre-task hook
npx ruflo@3.76.0 hook pre-task --description "Implement user authentication"
With memory loading
npx ruflo@3.76.0 hook pre-task -d "Continue API development" --load-memory
Manual agent control
npx ruflo@3.76.0 hook pre-task -d "Debug issue #123" --auto-spawn-agents false
Full optimization
npx ruflo@3.76.0 hook pre-task -d "Refactor codebase" --optimize-topology --estimate-complexity
Features
Auto Agent Assignment
- Analyzes task requirements
- Determines needed agent types
- Spawns agents automatically
- Configures agent parameters
Memory Loading
- Retrieves relevant past decisions
- Loads previous task contexts
- Restores agent configurations
- Maintains continuity
Topology Optimization
- Analyzes task structure
- Selects best swarm topology
- Configures communication patterns
- Optimizes for performance
Complexity Estimation
- Evaluates task difficulty
- Estimates time requirements
- Suggests agent count
- Identifies dependencies
Integration
This hook is automatically called by Claude Code when:
- Starting a new task
- Resuming work after a break
- Switching between projects
- Beginning complex operations
Manual usage in agents:
# In agent coordination
npx ruflo@3.76.0 hook pre-task --description "Your task here"
Output
Returns JSON with:
{
"continue": true,
"topology": "hierarchical",
"agentsSpawned": 5,
"complexity": "medium",
"estimatedMinutes": 30,
"memoryLoaded": true
}See Also
- `hook post-task` - Post-task cleanup
- `agent spawn` - Manual agent creation
- `memory usage` - Memory management
- `swarm init` - Swarm initialization
Read more
hook pre-task
Execute pre-task preparations and context loading.
Usage
npx ruflo@3.76.0 hook pre-task [options]
Options
- `--description, -d <text>` - Task description for context
- `--auto-spawn-agents` - Automatically spawn required agents (default: true)
- `--load-memory` - Load relevant memory from previous sessions
- `--optimize-topology` - Select optimal swarm topology
- `--estimate-complexity` - Analyze task complexity
Examples
Basic pre-task hook
npx ruflo@3.76.0 hook pre-task --description "Implement user authentication"
With memory loading
npx ruflo@3.76.0 hook pre-task -d "Continue API development" --load-memory
Manual agent control
npx ruflo@3.76.0 hook pre-task -d "Debug issue #123" --auto-spawn-agents false
Full optimization
npx ruflo@3.76.0 hook pre-task -d "Refactor codebase" --optimize-topology --estimate-complexity
Features
Auto Agent Assignment
- Analyzes task requirements
- Determines needed agent types
- Spawns agents automatically
- Configures agent parameters
Memory Loading
- Retrieves relevant past decisions
- Loads previous task contexts
- Restores agent configurations
- Maintains continuity
Topology Optimization
- Analyzes task structure
- Selects best swarm topology
- Configures communication patterns
- Optimizes for performance
Complexity Estimation
- Evaluates task difficulty
- Estimates time requirements
- Suggests agent count
- Identifies dependencies
Integration
This hook is automatically called by Claude Code when:
- Starting a new task
- Resuming work after a break
- Switching between projects
- Beginning complex operations
Manual usage in agents:
# In agent coordination npx ruflo@3.76.0 hook pre-task --description "Your task here"
Output
Returns JSON with:
{
"continue": true,
"topology": "hierarchical",
"agentsSpawned": 5,
"complexity": "medium",
"estimatedMinutes": 30,
"memoryLoaded": true
}See Also
- `hook post-task` - Post-task cleanup
- `agent spawn` - Manual agent creation
- `memory usage` - Memory management
- `swarm init` - Swarm initialization
Quality engineering tools for your coding agent. Generate tests, investigate coverage gaps, analyze flaky behavior and coordinate quality checks across the software lifecycle. Keep the findings close to the code and use them to make a better quality decision.
Other commands on agentic-qe.
agent-coordination
CommandCoordination patterns for multi-agent collaboration.
agent-spawning
CommandGuide to spawning agents with Claude Code's Task tool.
agent-types
CommandComplete guide to all 87 available agent types in Claude Flow V3
More commands from other plugins.
bkit
Commandbkit plugin help - Show all available bkit functions. Workaround for skills autocomplete issue. Use "/bkit" or just type "bkit…
check-code-quality
CommandYou are performing static code quality analysis on the Scopy package: `$ARGUMENTS`
bind-docs-sync
CommandCreate a docs-sync binding between local docs and a YApi category.

