본문으로 건너뛰기
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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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년 10월 16일 업데이트

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년 10월 16일 업데이트

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년 10월 16일 업데이트

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년 10월 16일 업데이트

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년 10월 16일 업데이트

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년 10월 16일 업데이트

DrNabeelKhan의 스킬 모두 보기

이 스킬의 문제 신고