Slash Command1.9k repo starsupdated 25d ago
skip-reflect
The skip-reflect command clears all queued learnings from the claude-reflect system without processing them. Use this escape hatch when auto-detection has captured false positives or when accumulated learnings lack value and should be discarded rather than permanently saved.
Install in Claude Code
Copymkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/BayramAnnakov/claude-reflect/HEAD/commands/skip-reflect.md -o ~/.claude/commands/skip-reflect.mdThen start a new Claude Code session; the slash command loads automatically.
Definition
skip-reflect.md
## Context
- Queue count: !`python3 scripts/read_queue.py 2>/dev/null | python3 -c "import sys,json;print(len(json.load(sys.stdin)))" 2>/dev/null || echo 0`
## Your Task
1. If queue is empty:
- Output: "Queue is already empty. Nothing to skip."
- Exit
2. If queue has items:
- Show: "You are about to discard [count] learning(s). These will be lost:"
- List each queued item briefly (type + first 50 chars of message)
- Ask: "Are you sure? [y/n]"
3. If user confirms (y/yes):
- Clear the project queue:
```bash
python3 -c "
import sys, os
sys.path.insert(0, os.path.join(os.environ.get('CLAUDE_PLUGIN_ROOT', '.'), 'scripts'))
from lib.reflect_utils import save_queue
save_queue([])
"
```
- Output: "Discarded [count] learnings. Queue cleared."
4. If user declines (n/no):
- Output: "Aborted. Run /reflect to process learnings instead."
## Note
This is an escape hatch for when auto-detection captures false positives
or learnings aren't worth saving. Use sparingly.More from this repository
claude-reflectSkill
Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md. Use when discussing learnings, corrections, or when the user mentions remembering something for future sessions.
reflectSlash Command
Reflect on session corrections and update CLAUDE.md (with human review)
reflect-skillsSlash Command
Discover skill candidates from repeating session patterns
view-queueSlash Command
View the learnings queue without processing