Skip to content
Development
Command

/skip-reflect

Discard queued learnings without processing

shell
$ npx -y skills add BayramAnnakov/claude-reflect --agent claude-code

Ships with claude-reflect. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/skip-reflect

Context preview

What this command does when you run it.

Discard queued learnings without processing

Command definition

skip-reflect.md
description: Discard queued learnings without processing
allowed-tools: Bash

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:
   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.

Read it on GitHub ↗
Ships withclaude-reflect

A self-learning system for Claude Code that captures corrections and discovers workflow patterns — turning them into permanent memory and reusable skills.

Get the whole plugin, auto-invoked
Stats
1,281
Stars
0
Views
109
Forks
Maintained
Maintenance
Python
Language
MIT
License
4mo ago
Last commit
7mo ago
Created

Repo: BayramAnnakov/claude-reflect