一键导入
vault-prune
Prune old notes by age threshold to keep the vault manageable
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prune old notes by age threshold to keep the vault manageable
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.