本文へ移動
cccskills
無料GitHub で公開

Memory Palace

Cross-session memory — store, recall and query project knowledge across sessions. Detects whatever persistent memory is available (MemPalace, claude-mem, or file-only fallback) and uses the best one present.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md8.2 KB
  • mining-guide.md5.4 KB
  • mxm-WRAPPER.md1.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

MemPalace Integration — Maxim Memory Intelligence

Domain: memory-palace | Office: All (cross-office, always active) Version: 1.1.0 | Created: 2026-04-12 Optional dependency: MemPalace MCP server (milla-jovovich/mempalace) Optional dependency: claude-mem plugin (thedotmack/claude-mem)


Overview

Maxim's memory intelligence layer that detects and leverages whatever persistent memory tools are available — MemPalace, claude-mem, or file-only fallback. Maps Maxim's 7 executive offices to structured memory rooms for cross-session recall.

Design principle: Maxim never requires MemPalace or claude-mem. It detects what's installed and enhances output with whatever memory tools are available. File-based session memory (.claude-sessions-memory/) is always the source of truth.


Tool Detection Protocol (runs on every session)

On session start, Maxim checks for available memory tools in this order:

1. MemPalace (semantic search + knowledge graph)

Detect: Check if mempalace MCP tools are available (19 tools: palace reads, search, graph queries, diary, system)

  • If available: use for semantic search, cross-project recall, temporal fact retrieval
  • If not: skip silently

2. claude-mem (persistent cross-session memory)

Detect: Check if claude-mem plugin skills are available (mem-search, smart-explore, timeline-report)

  • If available: use for searching previous session context, code exploration, project history
  • If not: skip silently

3. File-based memory (always available)

Always active: .claude-sessions-memory/ files are read/written regardless of other tools

  • This is the source of truth — MemPalace and claude-mem supplement it, never replace it

Detection Output

MEMORY TOOLS DETECTED
  MemPalace  : [available / not installed]
  claude-mem : [available / not installed]
  File memory: always active

What Maxim Ships (in this repo)

These files ship with maxim and work without any external tools:

FilePurpose
.claude/skills/memory-palace/SKILL.mdThis file — detection protocol + office mapping
.claude/skills/memory-palace/Maxim-WRAPPER.mdBehavioral layer compliance
.claude/commands/mxm-remember.mdStore context (MemPalace + files)
.claude/commands/mxm-recall.mdRetrieve context (MemPalace + files)
templates/session-memory/File-based memory templates (always used)

What Maxim does NOT ship: MemPalace binaries, claude-mem plugin, database files, embeddings. Users install these separately if they want enhanced memory.


How Maxim Uses Each Tool

When MemPalace IS installed

Maxim ActionMemPalace Tool Used
/mxm-remembermempalace_store — stores fact with wing/room/tags
/mxm-recallmempalace_search — semantic search across wings
Session endmempalace_store — saves key decisions and state changes
Session startmempalace_search — loads relevant recent context
Cross-project querymempalace_search — searches by project tag across all wings

When claude-mem IS installed

Maxim Actionclaude-mem Skill Used
/mxm-recallmem-search — searches persistent memory database
Understanding codesmart-explore — token-optimized AST code exploration
Project historytimeline-report — development history narrative
Planningmake-plan — phased implementation with doc discovery

When NEITHER is installed (file-only mode)

Maxim ActionFile-Based Fallback
/mxm-rememberWrites to .claude-sessions-memory/decision-log.md
/mxm-recallSearches .claude-sessions-memory/*.md files by content
Session endWrites all 6 session memory files (always)
Session startReads MEMORY.md + project_current_state.md + handoff.md

Maxim Office-to-Wing Mapping (for MemPalace users)

MemPalace organizes memory into Wings > Rooms. Maxim maps its 7 executive offices:

Maxim OfficeMemPalace WingRoomsWhat Gets Stored
CEOceostrategy, finance, investors, partnerships, governanceStrategy decisions, investor context, financial models
CTOctoarchitecture, tech-stack, deployment, apis, data, aiArchitecture decisions, tech stack choices, deployment state
CMOcmobrand-voice, content-calendar, seo, campaigns, metricsBrand voice rules, content calendar, marketing metrics
CSOcsosecurity, compliance, audits, threats, incidentsSecurity findings, compliance audit results, threat models
CPOcporoadmap, user-feedback, features, research, uxProduct roadmap, user feedback, feature priorities
COOcoosprints, delivery, ops, support, experimentsSprint state, delivery metrics, operational procedures
CINOcinoresearch, emerging-tech, innovation, pocsR&D findings, emerging tech evaluations

Cross-Office Wing

WingRoomPurpose
maximhandoffsInter-agent handoff state across offices
maximdecisionsCross-office decision log with temporal validity
maximproject-stateProject checkpoint snapshots

MemPalace Installation (optional — for users who want semantic memory)

Windows

# Requires Microsoft C++ Build Tools (for chromadb)
# Install from: https://visualstudio.microsoft.com/visual-cpp-build-tools/

# Create dedicated venv (Python 3.13 recommended — avoids 3.14 pydantic issues)
uv venv $HOME\.mempalace-env --python 3.13
uv pip install --python $HOME\.mempalace-env\Scripts\python.exe mempalace

# Register as MCP server
claude mcp add mempalace -s user -- "$HOME\.mempalace-env\Scripts\python.exe" -m mempalace.mcp_server

Mac/Linux

pip install mempalace
claude mcp add mempalace -s user -- python -m mempalace.mcp_server

Mining — Manual Only

Mining is NEVER automatic. Only mine when:

  1. User explicitly runs /mxm-ceo-setup (asks about mining in Step 8)
  2. User manually invokes mempalace mine <path>
  3. User confirms their project folder is clean and organized

Mine user projects, not the maxim framework repo. The framework is reference code — mine the projects that use it.

# Mine a specific project
mempalace init --yes E:\Projects\my-project
mempalace mine E:\Projects\my-project

# Mine entire portfolio (only when folders are cleaned/organized)
mempalace init --yes E:\Projects
mempalace mine E:\Projects

Local files (never committed, gitignored):

  • config/mempalace.yaml — project config
  • ~/.mempalace/palace/ — global database

Dual-Write Rule

Maxim writes to BOTH systems on every session end:

  • .claude-sessions-memory/ files — always (source of truth)
  • MemPalace rooms — when available (supplements file memory)
  • claude-mem — when available (supplements file memory)

If external tools are unavailable, fall back silently to file-only mode. Never block session end.


Conflict Resolution

ScenarioResolution
MemPalace/claude-mem contradicts file stateFiles win — files are source of truth
External tool has memory that files lackSupplements — use as additional context
External tool unavailableSilent fallback — file-only mode
Both MemPalace and claude-mem have resultsMerge and deduplicate — present unified results

Commands

CommandDescription
/mxm-rememberStore important context (MemPalace + claude-mem + files)
/mxm-recallRetrieve context by topic/project/office (searches all available tools)

Copyright (c) 2026 iSystematic Inc. Maxim product. BSL 1.1.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

AI video and image prompt engineering — video generation, image generation, product video, social media video, cinematic direction, animation, Seedance, Higgsfield, GPT-Image-2. Applies 15 Maxim-authored cinematic styles and the atomic prompt schema.

日本語の概要は準備中です。原文の説明を表示しています。

DrNabeelKhan/maxim22026年9月17日 更新

Apply a named behavioral science framework to any task — persuasion, nudge design, habit formation, conversion, influence, negotiation, cognitive bias, choice architecture, decision framing. The framework backbone every other Maxim skill loops into for psychological validation.

日本語の概要は準備中です。原文の説明を表示しています。

DrNabeelKhan/maxim22026年9月17日 更新

Founder and CEO automation — morning standup, overnight cycle, burn rate, runway, pipeline review, investor and fundraising prep, executive summary, daily digest. Operates on the .mxm-executive-summary context.

日本語の概要は準備中です。原文の説明を表示しています。

DrNabeelKhan/maxim22026年9月17日 更新

Tear down a company on request — "do a teardown of", "break down this company", "analyze this competitor's business". Fixed-template output: business model, how they make money, positioning, and where they are exposed.

日本語の概要は準備中です。原文の説明を表示しています。

DrNabeelKhan/maxim22026年9月17日 更新

Track what a competitor actually shipped — "watch this competitor", "track what they ship", "what changed at". Compares against the last snapshot and reports only real moves: launches, pricing changes, positioning shifts.

日本語の概要は準備中です。原文の説明を表示しています。

DrNabeelKhan/maxim22026年9月17日 更新

Regulatory review across 14 frameworks — compliance review, privacy impact assessment, regulatory gap analysis, data subject rights, consent mechanisms, audit trail, AI ethics review, data flow mapping. Covers GDPR, PIPEDA, HIPAA, PCI-DSS, SOC2, UAE-PDPL, EU AI Act and more.

日本語の概要は準備中です。原文の説明を表示しています。

DrNabeelKhan/maxim22026年9月17日 更新

DrNabeelKhan のスキルをすべて見る

このスキルの問題を報告する