360 Secure SkillHub
360 安全技能中心

session-palace-builder

核心功能是构建会话专属临时记忆宫殿,可保存对话上下文、决策依据、项目成果等,支持中断后恢复,提供多种场景模板并按类别管理内容。适用于长对话、多步骤复杂项目、协作信息积累、代码评审等场景,输入会话/项目信息,输出结构化临时记忆结构,还可与其他工具集成导出重要内容。

athola
athola
热度 62.95
最近更新 2026-08-26 21:18:30
分类:知识依赖:MCP 服务 / 内部调用大模型应用场景:笔记整理 / 任务管理 / 研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add nm-memory-palace-session-palace-builder
Metadata
name
session-palace-builder
description
Builds session-scoped temporary memory palaces for extended conversations
version
1.9.8
triggers
["session","context","project-memory","conversation-state","temporary-storage","tracking state across interruptions in a multi-step project"]
metadata
{"openclaw":{"homepage":"https://github.com/athola/claude-night-market/tree/master/plugins/memory-palace","emoji":"🦞","requires":{"config":["night-market.memory-palace-architect"]}}}
source
claude-night-market
source_plugin
memory-palace

Night Market Skill — ported from claude-night-market/memory-palace. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Table of Contents

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:

  • Preserve context for extended conversations
  • Track decisions and their rationale
  • Organize project artifacts spatially
  • Enable context recovery after interruptions
  • Support collaborative information gathering

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 build && make test to confirm build works.

When To Use

  • Extended conversations requiring context preservation
  • Complex, multi-step projects with interrelated components
  • Workflows requiring state management across interactions
  • Collaborative sessions accumulating information over time
  • Code review or debugging sessions with many findings

When NOT To Use

  • Permanent knowledge structures needed - use memory-palace-architect
  • Searching existing knowledge
    • use knowledge-locator
  • Permanent knowledge structures needed - use memory-palace-architect
  • Searching existing knowledge
    • use knowledge-locator

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:

  • Conversations - Dialogue threads and key exchanges
  • Decisions - Choices made with rationale
  • Code - Snippets and technical artifacts
  • Research - Findings and references
  • Requirements - Specifications and constraints
  • Progress - Completed milestones
  • Issues - Blockers and challenges
  • Next Steps - Pending action items

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 ←────┘

Verification: Run the command with --help flag to verify availability.

Detailed Resources

  • Template Details: See modules/templates.md
  • State Management: See modules/templates.md
  • Export Patterns: See modules/templates.md

Integration

  • memory-palace-architect - Export important concepts to permanent palaces
  • knowledge-locator - Search session content
  • digital-garden-cultivator - Seed garden with session insights