What problem does it solve? Long-running agent sessions accumulate oversized history files, stale decisions, and orphaned inbox files that consume context window budget and slow down multi-agent workflows. ## Core Features & Use Cases - History Compression: Compresses agent history.md files that exceed 15KB to reclaim context budget. - State Pruning & Archiving: Prunes old logs, archives stale decisions, and cleans orphaned inbox files when .squad/ exceeds 1MB. - Dry-Run & Deep Modes: Preview changes with --dry-run or perform thorough cleanup with --deep. - Use Case: Before spawning many agents for a fan-out task, run a cleanup pass so each new agent starts with a lean, well-organized .squad/ state directory. ## Quick Start Run the squad nap command with the dry-run flag to preview which history files, logs, and inbox files would be compressed or archived.