What problem does it solve?
Long-running multi-agent sessions can exceed the context window because agent histories, logs, and stale state keep accumulating.
Core Features & Use Cases
- Compress agent histories to reduce token usage while preserving the essentials needed for continued work.
- Prune old logs so obsolete events don’t waste context budget.
- Archive stale decisions to retain important outcomes without keeping everything in hot context.
- Clean orphaned inbox files to remove leftover artifacts after tasks complete.
Use case: after a sprint where many agents spawned and context grew rapidly, run a cleanup to bring .squad/ state back under budget so the next round of planning and execution can proceed.
Quick Start
Run squad nap --deep to aggressively compress, prune, and archive stale .squad/ state.