Session palace builder

From athola/claude-night-market · View interactive version

Session palace builder is an AI agent skill from the GitHub repository athola/claude-night-market. Builds session-scoped temporary memory palaces for extended conversations. Use when tracking state across interruptions in a multi-step project.

How to use this skill

Skill file

Session Palace Builder

Construct temporary, session-specific memory palaces for extended conversations and complex projects. Preserves context across interruptions and enables structured information accumulation.

What It Is

Session palaces are lightweight, temporary memory structures that:

Quick Start

Build Commands

\\\`bash

Run build

make build

Clean and rebuild

make clean && make build

\\\`

Testing

\\\`bash

Run tests

make test

Run with verbose output

make test VERBOSE=1

\\\`

Verification: Run make test to confirm the plugin gate passes.

When To Use

When NOT To Use

needed - use memory-palace-architect

needed - use memory-palace-architect

Session Palace Templates

| Template | Purpose | Key Areas |

|----------|---------|-----------|

| Workshop | Active development | Workbench, tools, materials |

| Library | Research and analysis | Stacks, reading room, archives |

| Council Chamber | Decision-making | Round table, evidence wall, vote board |

| Observatory | Exploration and discovery | Telescope, star charts, log book |

| Forge | Implementation tasks | Anvil, cooling rack, finished goods |

Information Categories

Organize session content into these standard areas:

Core Workflow

  1. Analyze Context - Assess session scope and complexity
  2. Design Palace - Select template and layout
  3. Structure State - Organize information spatially
  4. Build Navigation - Create access shortcuts
  5. Test Integration - Verify context preservation

Session Lifecycle

Create → Populate → Navigate → Export/Archive
   ↑         ↓          ↓
   └─── Checkpoint ←────┘

Clarity Checkpoints

A session palace decays silently: each Populate step can add

ambiguity that only surfaces at Export, when it is too late to

recover the lost state. MMPO (arXiv:2605.30159, Section 3) frames

this as a case for sub-trajectory dense rewards: check intermediate

quality at each transition as well as the final outcome.

At every Checkpoint arrow in the lifecycle above (and before any

Export/Archive), run the dual-probe gate against the current

palace state:

Skill(memory-palace:memory-clarity-probe)

The probe returns a Clarity Assessment with progress/gap verdicts

and a Recommendation:

| Recommendation | Action at the checkpoint |

|----------------|--------------------------|

| Proceed | Palace state is clear; continue the session |

| Expand memory | Add the gap probe's open items to the palace before continuing |

| Regenerate | Flag the session as ambiguous: the progress probe hedges, so reconstruct the current-state room before more work lands on it |

Flagging at the checkpoint, not at export, is the point: an

ambiguous palace caught early costs one room rebuild. Caught at

export it costs the session.

When memory-clarity-probe is not installed, ask the two anchor

questions inline (progress: what is done and what state is the task

in, and gap: what concrete items remain) and apply the same table.

Detailed Resources

Integration

Exit Criteria

before any state is populated

and before Export/Archive, not only at the end

on (gap items added or current-state room rebuilt) before more work

lands, and the ambiguous session is flagged

memory-palace-architect

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.