Memory Palace

Method of Loci for LLM Memory Systems

Transform information into unforgettable memories using the ancient method of loci combined with the Red Queen adversarial learning protocol.

97% Context Reduction
92% Hallucination F1
89% Recall@1
🏛️ Your Empty Palace
Start building your memories /memory-palace create "My Palace"

What is Memory Palace?

🏛️

Method of Loci

Ancient technique of associating information with specific locations in an imagined space.

🔴

Red Queen Protocol

"It takes all the running you can do to keep in the same place." — Four adversarial agents continuously challenge memories, strengthening weak spots by 37%.

🧠

SMASHIN SCOPE

12-factor encoding system for creating vivid, unforgettable memory images.

📊

Scientific Method

Hypothesis-driven development with A/B testing and statistical validation.

Key Features

01

Hierarchical Palaces

Chunking overcomes Miller's Law, enabling 100+ loci with 100% navigation success.

02

Verification Tokens

Built-in hallucination detection with F1=0.92, 600× cheaper than alternatives.

03

Semantic Search

Vector embeddings enable meaning-based discovery across all palaces.

04

Cross-Palace Navigation

Automatic linking of related memories across different knowledge domains.

05

SQLite Backend

10-100x faster queries with ACID transactions and full-text search.

06

Export/Import

Share palaces via GitHub Gists, export to Anki, Markdown, or JSON.

Evolution History

Scientific testing of 8 major hypotheses

Evolution 004: Spaced Repetition

Fibonacci intervals outperform exponential by 66% retention improvement (p < 0.0001)

ACCEPTED

Evolution 005: Palace Architecture

Hierarchical chunking overcomes Miller's Law limits

ACCEPTED

Evolution 003: Hook System

Automated triggers too annoying (7.35/10 annoyance score)

REJECTED

Evolution 008: Gamification

Gamification for beginners, utility for experts - hybrid approach

HYBRID

Installation

The skill starts empty. Build your own palaces from scratch.

1

Clone the repository

git clone https://github.com/Algiras/memory-palace.git
2

Copy to skills directory

cp -r memory-palace/skills/memory-palace-red-queen ~/.claude/skills/
3

Create your first palace

/memory-palace create "My Palace" "Ancient Library"
Storage location: ~/memory/ - Your palaces are stored locally in JSON format

📄 Academic Paper (PDF) - Coming with first release

View Releases

Ready to Build Your First Palace?

Start with our comprehensive guide or dive into the academic paper.