This skill helps you strengthen memory with method of loci and Red Queen adversarial testing, ensuring durable recall for interviews and exams.
npx playbooks add skill algiras/memory-palace --skill memory-palace-red-queen
> "It takes all the running you can do, to keep in the same place." — Lewis Carroll
The ancient method of loci creates vivid, unforgettable memories. The Red Queen Protocol ensures they stay accurate through continuous adversarial testing. Without testing, memories decay. Without vivid encoding, testing fails. This skill combines both.
Key Results: -37% retrievals needed, +23% retention for weak memories, F1=0.92 hallucination detection
Memory without testing is dangerous. Studies show:
The Red Queen Protocol solves this with four specialized agents that continuously challenge and strengthen your knowledge.
| Command | Description |
|---------|-------------|
| /memory-palace store <topic> | Encode information using SMASHIN SCOPE vivid imagery |
| /memory-palace red-queen [strategy] | Test yourself with adversarial recall |
| /memory-palace interview [topic] [duration] | Pressure test with timed rapid-fire Q&A |
| /memory-palace recall [topic] | Walk through palace to retrieve memories |
| /memory-palace status | Monitor memory health and decay prediction |
| Command | Description |
|---------|-------------|
| /memory-palace create <name> [theme] | Create new palace |
| /memory-palace open <name> | Set active palace |
| /memory-palace list | Show all palaces |
| /memory-palace tour | Full walkthrough |
| /memory-palace navigate [destination] | Cross-palace exploration |
| /memory-palace define <concept> | Instant lookup |
# 1. ENCODE - Create vivid memory
/memory-palace create "System Design" "Space Station"
/memory-palace store "CAP theorem"
# 2. TEST - Red Queen challenges you
/memory-palace red-queen weak-spots
# 3. EVOLVE - Strengthen weak memories
/memory-palace interview system-design 10min
# 4. MONITOR - Check decay prediction
/memory-palace status
Four agents work together to maintain memory integrity:
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ EXAMINER │────►│ LEARNER │────►│ EVALUATOR │
│ (haiku) │ │ (haiku) │ │ (haiku) │
│ Generate Qs │ │ Blind recall│ │ Score gaps │
└─────────────┘ └─────────────┘ └──────┬──────┘
│
▼
┌─────────────┐
│ EVOLVER │
│ (opus) │
│ Strengthen │
└─────────────┘
| Agent | Model | Role |
|-------|-------|------|
| Examiner | haiku | Reads palace, generates hard questions targeting weak spots |
| Learner | haiku | Attempts blind recall from anchors only, rates confidence |
| Evaluator | haiku | Compares to ground truth, scores accuracy, identifies gaps |
| Evolver | opus | Creates stronger SMASHIN SCOPE images for weak memories |
| Strategy | When to Use |
|----------|-------------|
| weak-spots | Default - Focus on low-confidence items (recommended weekly) |
| random | Quick sanity check |
| depth-first | Complete palace audit |
| cross-link | Test connections between concepts |
| adversarial | Edge cases and failure modes |
| interview | Time pressure simulation |
/memory-palace store <topic> - Vivid EncodingUse SMASHIN SCOPE to create unforgettable images:
/memory-palace red-queen [strategy] - Adversarial TestingThe core of the skill. Without this, you're just storing notes.
Protocol:
Example weak-spots session:
/memory-palace red-queen weak-spots
🔴 WEAK SPOT DETECTED
━━━━━━━━━━━━━━━━━━━━━
Topic: Two-Phase Commit
Confidence: 2/5 (68% → 43% in 3 days)
Anchor: "Tightrope walker with two clipboards"
Question: What happens if the coordinator crashes
after sending PREPARE but before sending COMMIT?
Your recall: ________________
/memory-palace interview [topic] [duration] - Pressure TestingSimulates interview conditions:
Best for: Interview prep, certification exams, identifying true mastery gaps
/memory-palace interview "system design" 10min
⏱️ INTERVIEW MODE: 10 MINUTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[1/∞] What are the tradeoffs between strong and
eventual consistency?
[2/∞] Design a rate limiter. What happens when
Redis is unavailable?
[3/∞] How does consistent hashing handle node
addition vs. removal?
~/memory/
├── config.json # System configuration
├── global/ # Cross-project knowledge
│ ├── palace-registry.json
│ ├── meta-index.md
│ ├── learning-journal.md # Tracks gaps from Red Queen
│ └── *.json
│
└── project/
└── {projectId}/ # Project-specific knowledge
├── palace-registry.json
├── meta-index.md
├── learning-journal.md
└── *.json
/memory-palace red-queen weak-spots - Fix gaps/memory-palace interview - Pressure test/memory-palace status - Review decay predictionsweak-spots weekly + interview after each topicinterview daily + adversarial for edge casesrandom quick checks + cross-link for connectionsdepth-first monthly complete review> Memory without testing is belief without verification.
Users who only store without testing report:
The method of loci creates memories. The Red Queen keeps them honest.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.