User Override Commands for Memory Hooks
Features
Manual Control Over Automatic Memory Triggers
New #skip and #remember commands give users direct control over automatic memory operations:
-
#skip- Bypasses memory retrieval in session-start hook- Use when starting fresh conversation without historical context
- Example: "#skip let's start fresh on this new feature"
-
#remember- Forces memory operations, bypassing normal thresholds- Mid-conversation: Forces analysis (bypasses cooldown timer)
- Session-end: Forces consolidation (bypasses 100-character threshold)
- Example: "#remember this is important design decision"
Implementation
-
Shared Detection Module (
~/.claude/hooks/utilities/user-override-detector.js)- Ensures consistent behavior across all hooks
- Applied to:
session-start.js,mid-conversation.js,session-end.js
-
Configuration Update (
config.json)- New
applyToarray defines which hooks are active - Enables granular control of hook activation
- New
Documentation
- README.md - New "User Overrides" section with usage examples
- README-AUTO-CAPTURE.md - Comprehensive supported hooks reference table
Use Cases
- Fresh Start: Skip retrieval when context from previous sessions isn't relevant
- Important Insights: Force mid-session capture of critical information
- Short Sessions: Override character thresholds for brief but valuable sessions
Full Changelog: https://github.com/doobidoo/mcp-memory-service/blob/main/CHANGELOG.md#8700---2026-01-05