prune_subagents
Compress or delete old terminal runs from subagents based on retention policies, with overrides for manual cleanup and dry-run preview.
Instructions
Compress / delete old terminal runs. By default follows the retention config (compress after N days, delete after M days, LRU cap). Pass overrides to run a manual cleanup or set dry_run=true to preview what would happen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| keep_last | No | ||
| max_age_days | No | ||
| compress_after_days | No |