exit
Navigation links between rooms — the edges of the memory palace
When & Why to Use This Skill
The Exit skill facilitates sophisticated spatial navigation and context management within a 'memory palace' framework. It defines the logical 'edges' between information nodes, utilizing Pie Menu Topology to map directions to specific meanings. By supporting conditional guards, hidden paths, and metaphysical transitions, it enables Claude agents to navigate complex data structures with high precision, logical consistency, and structured memory recall.
Use Cases
- Spatial Knowledge Mapping: Organizing vast datasets into a navigable 'memory palace' where information nodes are linked by intuitive directional paths (N/S/E/W).
- Conditional Access Control: Implementing 'Guards' using natural language or code to restrict access to specific data rooms based on user permissions or state prerequisites.
- Complex Context Transitions: Managing how an agent moves between different task environments or knowledge domains to prevent context window clutter and maintain focus.
- Interactive Simulation & Training: Creating non-linear educational paths or simulations with hidden exits and one-way transitions to test user discovery and logic.
- Mnemonic Information Retrieval: Enhancing long-term memory efficiency by placing items at specific locations along an imagined journey, improving the agent's ability to 'locate' relevant facts.
| name | exit |
|---|---|
| description | Navigation links between rooms — the edges of the memory palace |
| tier | 1 |
| protocol | PIE-MENU-TOPOLOGY |
| tags | [moollm, navigation, room, topology, pie-menu] |
| related | [room, adventure, memory-palace] |
| adversary | dead-end |
Exit
"Every exit is a promise of adventure." — The Rusty Lantern Guest Book
What Is It?
An Exit is a navigation link connecting one room to another. In MOOLLM's spatial architecture, exits are the EDGES of the memory palace graph.
Exits can be:
- Simple — just a destination
- Guarded — require conditions to pass
- Hidden — discoverable through exploration
- Metaphysical — conceptual rather than physical
Pie Menu Topology
Don Hopkins' pie menu insight: direction IS meaning.
| Direction | Purpose |
|---|---|
| N/S/E/W | "Highway" links to major rooms |
| NW/NE/SW/SE | "Grid" links to expandable sub-rooms |
| UP/DOWN | Vertical transitions |
| IN/OUT | Conceptual transitions |
Cardinal directions form the spiderweb — the main navigation network. Diagonal directions form grids — expandable arrays of sub-rooms.
Guard System
Guards are natural language conditions that control access:
guard: "player has the brass key"
guard_js: "(ctx) => ctx.player.inventory.includes('brass-key')"
guard_py: "lambda ctx: 'brass-key' in ctx.player.inventory"
The guard field contains human-readable intent.
The guard_js and guard_py fields contain compiled code.
The adventure compiler emits COMPILE_EXPRESSION events for guards that need compilation.
Exit Types
Simple Exit
north:
destination: ../maze/room-a/
description: "A dark passage leads north."
Guarded Exit
east:
destination: ../treasury/
description: "A heavy iron door."
guard: "player has treasury key"
locked: true
lock_message: "The door won't budge."
unlock_with: "treasury-key"
Hidden Exit
down:
destination: ../secret-cellar/
hidden: true
hint: "The rug seems oddly placed..."
One-Way Exit
down:
destination: ../pit/
one_way: true
description: "A slide into darkness. No going back."
Metaphysical Exit
inward:
destination: ../consciousness/
metaphysical: true
description: "Close your eyes and think about who you really are."
Memory Palace Integration
From Frances Yates' "The Art of Memory":
"The method of loci places items at specific locations along an imagined journey."
Every exit is a doorway in the memory palace. The direction encodes meaning. Players navigate by spatial memory.
Related Skills
- room — Where exits live
- adventure — Uses exits for navigation
- memory-palace — Exits as mnemonic paths
Protocol Symbol
PIE-MENU-TOPOLOGY — Direction IS meaning