Level 1: Ultra-Lightweight Workflows
Complexity: Low | Artifacts: None | State: Stateless | Iteration: Via AskUser
The simplest workflow for immediate simple tasks - minimal overhead, direct execution.
Overview
Level 1 workflows are designed for quick, straightforward tasks that don't require planning, documentation, or persistent state. They execute directly from input to completion.
Included Workflow: lite-lite-lite
Command
/workflow:lite-lite-lite
# Or CCW auto-selects for simple tasks
Flow Diagram
Characteristics
| Property | Value |
|---|---|
| Complexity | Low |
| Artifacts | None (no intermediate files) |
| State | Stateless |
| CLI Selection | Auto-analyze task type |
| Iteration | Via AskUser interaction |
Process Phases
-
Input Analysis
- Parse user input for task intent
- Detect complexity level
- Identify required CLI tools
-
Optional Clarification (if clarity_score < 2)
- Goal: Create/Fix/Optimize/Analyze
- Scope: Single file/Module/Cross-module
- Constraints: Backward compat/Skip tests/Urgent hotfix
-
CLI Auto-Selection
- Task type -> CLI tool mapping
- Parallel analysis across multiple tools
- Aggregated result presentation
-
Direct Execution
- Execute changes immediately
- No intermediate artifacts
- Optional iteration via AskUser
CLI Selection Logic
function selectCLI(task) {
const patterns = {
'gemini': /analyze|review|understand|explore/,
'codex': /implement|generate|create|write code/,
'claude': /debug|fix|optimize|refactor/,
'qwen': /consult|discuss|compare/
};
for (const [cli, pattern] of Object.entries(patterns)) {
if (pattern.test(task)) return cli;
}
return 'gemini'; // Default
}
Use Cases
When to Use
- Quick fixes (simple typos, minor adjustments)
- Simple feature additions (single function, small utility)
- Configuration adjustments (environment variables, config files)
- Small-scope renaming (variable names, function names)
- Documentation updates (readme, comments)
When NOT to Use
- Multi-module changes (use Level 2+)
- Need persistent records (use Level 3+)
- Complex refactoring (use Level 3-4)
- Test-driven development (use Level 3 TDD)
- Architecture design (use Level 4-5)
Examples
Example 1: Quick Fix
/workflow:lite-lite-lite "Fix typo in function name: getUserData"
Flow:
- Detect: Simple typo fix
- Select: Codex for refactoring
- Execute: Direct rename across files
- Complete: No artifacts generated
Example 2: Simple Feature
/workflow:lite-lite-lite "Add logging to user login function"
Flow:
- Detect: Single-module feature
- Select: Claude for implementation
- Clarify: Log level? Output destination?
- Execute: Add log statements
- Complete: Working code
Example 3: Config Adjustment
/workflow:lite-lite-lite "Update API timeout to 30 seconds"
Flow:
- Detect: Config change
- Select: Gemini for analysis
- Analysis: Find all timeout configs
- Execute: Update values
- Complete: Configuration updated
Pros & Cons
Pros
| Benefit | Description |
|---|---|
| Speed | Fastest workflow, zero overhead |
| Simplicity | No planning or documentation |
| Direct | Input -> Execute -> Complete |
| No Artifacts | Clean workspace, no file clutter |
| Low Cognitive Load | Simple, straightforward execution |
Cons
| Limitation | Description |
|---|---|
| No Trace | No record of changes made |
| No Planning | Can't handle complex tasks |
| No Review | No built-in code review |
| Limited Scope | Single-module only |
| No Rollback | Changes are immediate |
Comparison with Other Levels
| Aspect | Level 1 | Level 2 | Level 3 |
|---|---|---|---|
| Planning | None | In-memory | Persistent |
| Artifacts | None | Memory files | Session files |
| Complexity | Low | Low-Medium | Medium-High |
| Traceability | No | Partial | Full |
| Review | No | Optional | Built-in |
When to Graduate to Higher Levels
Signs you need Level 2+:
- Task involves multiple modules
- Need to track progress
- Requirements need clarification
- Want code review
- Need test generation
Migration path:
Related Workflows
- Level 2: Rapid Workflows - Next level up with planning
- Level 3: Standard Workflows - Full session management
- FAQ - Common questions