Slash Command90 repo starsupdated 27d ago
list
List all memories across branches
Install in Claude Code
Copymkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/tony/claude-code-riper-5/HEAD/.claude/commands/memory/list.md -o ~/.claude/commands/list.mdThen start a new Claude Code session; the slash command loads automatically.
Definition
list.md
# Memory Bank Overview
## ⚠️ Memory Bank Location Requirements
**CRITICAL PATH POLICY**:
- Memory-bank MUST be at repository root: Use `git rev-parse --show-toplevel` to find root, then `[ROOT]/.claude/memory-bank/`
- NEVER create package-level memory-banks: `packages/*/.claude/memory-bank/` ❌
- In monorepos: ONE memory-bank at root serves entire project
### Correct vs Incorrect Paths for Memory Listing
✅ **Correct**: `[ROOT]/.claude/memory-bank/main/` (where ROOT = `git rev-parse --show-toplevel`)
❌ **Wrong**: `[ROOT]/packages/react/.claude/memory-bank/main/`
❌ **Wrong**: `packages/react/.claude/memory-bank/main/`
## Current Branch Memories
**Branch**: !`git branch --show-current`
!`ls -la $(git rev-parse --show-toplevel)/.claude/memory-bank/$(git branch --show-current)/ 2>/dev/null || echo "No memories for current branch"`
## All Branch Memories
!`find $(git rev-parse --show-toplevel)/.claude/memory-bank -type f -name "*.md" 2>/dev/null | head -20 || echo "No memories found"`
## Memory Organization
```
[ROOT]/.claude/memory-bank/ (where ROOT = `git rev-parse --show-toplevel`)
├── main/
│ ├── 20250108-session.md
│ └── plans/
│ └── main-20250108-feature.md
├── feature-branch/
│ ├── 20250107-session.md
│ └── reviews/
│ └── feature-branch-20250107-review.md
└── experiment-riper5/
└── 20250108-session.md
```
## Usage Tips
- Memories are organized by branch to prevent conflicts
- Use `/memory:save` to store important context
- Use `/memory:recall` to retrieve specific memories
- Plans and reviews are automatically stored by RIPER modesMore from this repository
plan-executeSubagent
Planning and execution phase - specifications and implementation
research-innovateSubagent
Research and innovation phase - information gathering and brainstorming
reviewSlash Command
Enter REVIEW mode to validate implementation
recallSlash Command
Recall memories from current branch's memory bank
saveSlash Command
Save context to branch-aware memory bank
rebaseSlash Command
Rebase current branch onto trunk (origin/master or origin/main), predict and resolve conflicts
executeSlash Command
Enter EXECUTE mode to implement approved plan
innovateSlash Command
Enter INNOVATE mode for brainstorming approaches