Skip to content
Development
Command

/compact-guide

Help decide when to use `/compact` based on the current conversation state.

From plugin
claude-memory-engine
13418 skills18 commands9 hooks

Command definition

compact-guide.md

/compact-guide -- Smart Context Compression Guide

Help decide when to use `/compact` based on the current conversation state.

When to Compact

| Situation | Compact? | Why | | :-------- | :------- | :-- | | Research/exploration done, ready to build | Yes | Research context is large; the plan is what matters | | Planning done, starting to code | Yes | Plan is already in TodoWrite or a file | | Debug session finished | Yes | Debug logs pollute the next task's context | | Switching to a completely different task | Yes | Clear irrelevant context | | Deployment done, starting new feature | Yes | Deployment logs aren't needed anymore |

When NOT to Compact

| Situation | Why | | :-------- | :-- | | In the middle of writing code | Lose variable names, file paths, partial state | | Debugging an unresolved issue | Lose error messages and attempted solutions | | Multi-file refactor in progress | Forget which files still need changes | | Just read an important doc, about to reference it | Doc content gets summarized away |

Auto-Suggest

When context usage exceeds 60%, proactively suggest whether compacting is appropriate based on the current task state.

@helloruru
Ships withclaude-memory-engine

Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.

Stars on GitHub

Momentum

stars in total
134
Star history of HelloRuru/claude-memory-engine on GitHub, a chart by star-history.com

Other commands on claude-memory-engine.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command