This skill should be used when the user mentions "context is full", "running slow", "session performance", "memory optimization", "context pruning", "session health", "optimize session", "long session", or when noticing degraded response quality. Provides guidance for efficient context management during extended coding sessions.
/plugin marketplace add ojallington/session-memory-optimizer/plugin install ojallington-session-memory-optimizer@ojallington/session-memory-optimizerThis skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill provides techniques for maintaining session performance during extended coding work. Proactive context management prevents degradation before it impacts productivity.
Watch for these indicators of context pressure:
/session-status
Shows current session health metrics and recommendations.
/session-checkpoint <name>
Saves current context state for later restoration.
/session-optimize
Analyzes what can be pruned vs. what must be preserved.
/session-restore <name>
Loads checkpoint context after starting fresh session.
Instead of reading entire files, be specific:
Less Efficient:
More Efficient:
After completing each subtask:
Create checkpoints before:
When abandoning an approach:
When running /compact, provide focus:
/compact Focus on: current authentication refactoring task
This guides compaction to preserve relevant context.
/session-optimize/compact with focus/session-status/session-checkpoint <milestone>