with one click
vault-prune
Prune old notes by age threshold to keep the vault manageable
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Prune old notes by age threshold to keep the vault manageable
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Create a handoff note to capture work state and enable smooth session transitions
Initialize a copilot-memory vault or start a new project with onboarding (greenfield or brownfield mode)
Create a new development phase with organized directory structure for research and execution tracking
Complete or pause a phase with a summary handoff note
Add research notes to a phase for documentation and reference during development
Resume from the latest handoff note to restore context at the start of a session
| name | vault-prune |
| description | Prune old notes by age threshold to keep the vault manageable |
Prune old notes to keep the vault manageable.
# Preview (dry run)
copilot-memory vault prune --days {{DAYS}} --dry-run
# Actually delete
copilot-memory vault prune --days {{DAYS}}
--days <n> — Age threshold in days (default: 30)--dry-run — Preview without deleting--research — Prune research notes--phase <id> — Target specific phase researchPrunes handoffs and sessions older than threshold. Does NOT prune:
# Preview pruning (safe)
copilot-memory vault prune --days 60 --dry-run
# Delete notes older than 90 days
copilot-memory vault prune --days 90
# Prune old research notes
copilot-memory vault prune --research --days 120
# Prune specific phase research
copilot-memory vault prune --research --phase abc123 --days 90
Warning: Pruning is permanent. Always use --dry-run first.