What problem does it solve? Codex-flow v3's CLI suffers from monolithic files (index.ts at 108KB), basic command parsing, shallow hooks integration, and manual command chaining, making it hard to maintain and slow to use. ## Core Features & Use Cases - Modular Command Architecture: Decomposes large CLI files into focused command modules under 500 lines with a registry supporting categories, aliases, and middleware. - Interactive Prompt System: Adds context-aware select, multiselect, input, and progress prompts using inquirer and cli-progress for guided workflows like swarm initialization. - Enhanced Hooks & Learning Integration: Connects CLI lifecycle events (command start, end, error) to learning systems that record trajectories, calculate rewards, and generate intelligent suggestions. - Workflow Automation & Performance Monitoring: Orchestrates multi-step workflows with dependencies and retry policies, and tracks command execution time with P95 alerting. - Use Case: A developer runs swarm init --interactive and is guided through topology selection and agent configuration, while hooks record the session for learning-based command suggestions. ## Quick Start Ask the AI to analyze the current CLI structure and implement modular commands, interactive prompts, and intelligent workflow automation using the cli-hooks-developer agent.