Introduction to CLEO
CLEO (Command Line Entity Orchestrator) is a task management system designed specifically for AI coding agents and solo developers. It provides enterprise-grade reliability with a focus on preventing AI-generated errors from corrupting your workflow data.Anti-Hallucination
Every operation is validated before execution with multi-layer checks
Context Persistence
State maintained across sessions with immutable audit trails
Structured Output
JSON by default for agent consumption, human-readable when needed
Atomic Operations
All writes use temp file → validate → backup → rename pattern
Why CLEO?
Traditional task management tools weren’t designed for AI-assisted development workflows. CLEO addresses three critical challenges:AI Hallucination Prevention
AI Hallucination Prevention
AI agents can generate syntactically valid but semantically incorrect data. CLEO’s multi-layer validation ensures:
- Schema validation at every write
- Cross-file integrity checks
- Semantic validation (no future timestamps, valid status transitions)
- Duplicate detection
Session Continuity
Session Continuity
Development work is rarely linear. CLEO provides:
- Complete audit trails in
todo-log.json - Automatic backups before every modification
- Session management with start/end protocols
- Focus tracking for single-task discipline
Agent-First Design
Agent-First Design
Built for LLM agents from the ground up:
- JSON output by default (detects TTY vs piped)
- Exit codes for programmatic handling
- Structured error messages with fix suggestions
- Command discovery via
cleo commands
Core Concepts
Tasks and Hierarchy
CLEO organizes work into a three-level hierarchy:- Creating Tasks
- Managing Tasks
Sessions and Focus
CLEO enforces single-task discipline through focus management:Sessions persist across Claude conversations. When you start a new terminal session, resume with
cleo session resume.Data Files
CLEO maintains four core data files in your project’s.cleo/ directory:
| File | Purpose |
|---|---|
todo.json | Active tasks (source of truth) |
todo-archive.json | Completed/archived tasks |
todo-log.json | Immutable audit trail |
config.json | Project configuration |
