How this command is triggered — by the user, by Claude, or both
Slash command
/origami:fold-resetThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /fold-reset Clear all context folding state and start fresh. ## Instructions 1. Confirm with the user that they want to delete all fold state. This removes all stored fold summaries and detail — it cannot be undone. 2. If confirmed, delete the `.claude/context-folding/` directory (the entire fold storage). 3. Inform the user that fold state has been cleared. New folds will be created on the next compaction cycle.
Clear all context folding state and start fresh.
Confirm with the user that they want to delete all fold state. This removes all stored fold summaries and detail — it cannot be undone.
If confirmed, delete the .claude/context-folding/ directory
(the entire fold storage).
Inform the user that fold state has been cleared. New folds will be created on the next compaction cycle.
npx claudepluginhub dullfig/claude-plugins --plugin origami/compact-guardSaves critical task state, edited files (up to 5), and decisions before compaction, then restores them to protect working context.
/cleanup-contextRuns Claude Code context cleanup script, permanently deleting files older than 7-60 days from file-history, sessions, projects, todos, logs, and statsig. Shows before/after stats and deletion summary.
/unadoptRemoves the claude-mem-lite invited-memory sentinel from the current project's memdir, cleaning MEMORY.md, plugin detail file, and state sidecar. Supports --all flag for bulk removal.
/learn-resetClears all knowledge base entries from learnings files, resets classification cache and learning state after user confirmation. Irreversible action with completion summary.
/f5-ctxManages sessions and context: show status (default), save/restore/checkpoint states, optimize/analyze/clear usage, manage files.
/compact-contextCompresses conversation context: saves task status, decisions, and todos to progress.md, generates _compact_summary.md, and guides clearing/restoring to reduce token usage.