CLEO sessions provide structure for work continuity across terminal sessions and Claude conversations. This guide covers session protocols and focus management.
# Set your current taskcleo focus set T001# Add progress notescleo focus note "Implementing JWT validation"# View current focuscleo focus show# Complete and move oncleo complete T001cleo focus set T002
# Set active taskcleo focus set T001# View current focuscleo focus show# Clear focuscleo focus clear# Add session-level progress notecleo focus note "Making progress on validation logic"# Suggest next actioncleo focus next "Write unit tests for validator"
Multiple sessions can run concurrently on different scopes:
Copy
# Terminal 1: Auth workcleo session start --scope epic:T001 --name "Auth"# Terminal 2: UI work (NO CONFLICT - different scope)cleo session start --scope epic:T050 --name "UI"# List all active sessionscleo session list --status active
When you start or resume a session, CLEO binds that terminal to the session:
Copy
# Start session - binds this terminalcleo session start --scope epic:T001# All commands now use this session contextcleo focus show # Shows THIS session's focuscleo focus set T005 # Sets focus within THIS scope# Switch to different sessioncleo session switch <session-id>
# Resume by session IDcleo session resume abc123# Resume most recent sessioncleo session resume --last# Resume most recent for specific scopecleo session resume --last --scope epic:T001# View session details before resumingcleo session show abc123