Overview
AIOX agents expose commands that users invoke with the* prefix. Commands are defined in agent YAML configuration and map to task files that contain executable workflows.
All agent commands use the
* prefixExample: *develop, *help, *create-serviceCommands map to task files in
.aiox-core/development/tasks/Example: *develop → dev-develop-story.mdCommand Structure
Commands are defined in the agent’s YAML configuration:Command Schema
Command name (without
* prefix)Example: "help", "develop", "create-agent"Visibility levels determine where command appears
Brief command descriptionShould be concise (under 80 characters) and action-oriented.
Common Agent Commands
Universal Commands
All agents support these core commands:Show all available commands with descriptionsVisibility:
[full, quick, key]Show comprehensive usage guide for this agentVisibility:
[full]Exit current agent mode and return to base stateVisibility:
[full, quick, key]Dev Agent Commands
Implement story tasks with selectable execution modesUsage:Modes:
interactive- Educational, explicit checkpoints (5-10 prompts)yolo- Autonomous, minimal interaction (0-1 prompts)preflight- Comprehensive upfront planning
[full, quick, key]Complete autonomous build pipelinePipeline:
- Create worktree
- Generate implementation plan
- Execute subtasks
- Run verification
- Merge to main
*build {story-id}Visibility: [full, quick, key]Execute single subtask using 13-step Coder Agent workflowWorkflow Steps:
- Read subtask definition
- Analyze requirements
- Plan implementation
- Execute code changes
- Self-critique (mandatory)
- Run tests
- Update documentation
[full, quick]Generate new service from Handlebars templateService Types:
api-integration- External API clientutility- Utility serviceagent-tool- Agent tool integration
[full, quick]Apply QA feedback and fix reported issuesReads from
QA_FIX_REQUEST.md and implements fixes.Visibility: [quick, key]Architect Agent Commands
Analyze architectural impact of proposed changesAnalysis Dimensions:
- Performance impact
- Security implications
- Scalability concerns
- Integration complexity
[full, quick, key]Design system architecture from requirementsOutputs:
- Architecture diagrams
- Technology stack decisions
- ADRs (Architecture Decision Records)
[full, quick]QA Agent Commands
Comprehensive story quality reviewReview Areas:
- Code quality
- Test coverage
- Documentation completeness
- Acceptance criteria validation
[full, quick, key]Generate test suite for implementationTest Types:
- Unit tests
- Integration tests
- E2E tests
- Visual regression tests
[full, quick]Create structured fix request for dev agentGenerates
QA_FIX_REQUEST.md with categorized issues.Visibility: [full, quick]Command Execution Modes
Many commands support execution modes to balance automation vs. control:Balanced, Educational (5-10 prompts)
- Explicit decision checkpoints
- Educational explanations
- Best for: Learning, complex decisions
Fast, Autonomous (0-1 prompts)
- Autonomous decision making
- Minimal user interaction
- Best for: Simple, deterministic tasks
Comprehensive Planning
- Upfront analysis phase
- Identify all ambiguities
- Zero-ambiguity execution
- Best for: Ambiguous requirements, critical work
Command Resolution
Commands resolve to task files using these patterns:Command name matches task file nameExample:
*develop → dev-develop-story.mdCommand includes agent prefixExample:
*qa-review → qa-review-story.mdNatural language requests match to commandsExample:
- “draft a story” →
*create→create-next-story.md - “make a new PRD” →
*create-doc+prd-tmpl.md
Command Parameters
Commands accept parameters in various formats:Positional Parameters
Named Parameters
Flag Parameters
Command Chaining
Some commands support workflow chains for multi-step operations:Command Dependencies
Commands declare dependencies in agent YAML:Permission Modes
Agents operate in different permission modes that affect command execution:[⚠️ Ask] - Confirm before destructive operationsAgent asks permission for:
- File writes/deletions
- Git commits
- External API calls
[🟢 Auto] - Autonomous execution with loggingAgent proceeds automatically, logs all decisions.
[🔍 Explore] - Read-only explorationAgent can read files, analyze code, but cannot modify.
*yolo command (cycles through modes).
Best Practices
Command Design
Command Design
- Use clear, action-oriented names
- Keep descriptions under 80 characters
- Assign appropriate visibility levels
- Support both interactive and autonomous modes
- Provide parameter validation
Command Usage
Command Usage
- Start with
*helpto discover commands - Use
*guidefor comprehensive documentation - Default to
interactivemode when learning - Use
yolomode for repetitive tasks - Use
preflightmode for critical work
Error Handling
Error Handling
- Validate parameters before execution
- Provide clear error messages
- Support graceful degradation
- Log all failures for debugging
- Offer recovery options
Related Documentation
Reference: Agent YAML
commands section