Skip to main content

cleo context

Monitor context window usage for agent safeguard system
Part of Context Safeguard System - check context limits before operations
Agent Relevance: High - Frequently used by LLM agents

Synopsis

cleo context <status|check|list|watch> [OPTIONS]

Subcommands

SubcommandDescription
statusRun cleo context status --help for details
checkRun cleo context check --help for details
listRun cleo context list --help for details
watchRun cleo context watch --help for details

Options

OptionDescription
--formatOutput format: text, json
--jsonForce JSON output
--humanForce human-readable output
--sessionSession ID or scope
This command supports JSON output via --json flag for LLM agent integration.

Examples

cleo context

Exit Codes

CodeMeaningRecoverable
0SuccessNo
50Context warning (70-84%)No
51Context caution (85-89%)No
52Context critical (90-94%)No
53Context emergency (95%+)No
54Context staleNo

See Also