Mining Your Data
MemPalace ingests your data by mining — scanning files and filing their content as verbatim drawers in the palace.
Mining Modes
Projects Mode (default)
Scans code, docs, and notes. Respects .gitignore by default.
mempalace mine ~/projects/myappEach file becomes a drawer, tagged with a wing (project name) and room (topic). Rooms are auto-detected from your folder structure during mempalace init.
Options:
# Override wing name
mempalace mine ~/projects/myapp --wing myapp
# Ignore .gitignore rules
mempalace mine ~/projects/myapp --no-gitignore
# Include specific ignored paths
mempalace mine ~/projects/myapp --include-ignored dist,build
# Limit number of files
mempalace mine ~/projects/myapp --limit 100
# Preview without filing
mempalace mine ~/projects/myapp --dry-runConversations Mode
Indexes conversation exports from Claude, ChatGPT, Slack, and other tools. Chunks by exchange pair (human + assistant turns).
mempalace mine ~/chats/ --mode convosSupports five chat formats automatically:
- Claude JSON exports
- ChatGPT exports
- Slack exports
- Markdown conversations
- Plain text transcripts
General Extraction
Auto-classifies conversation content into five memory types:
mempalace mine ~/chats/ --mode convos --extract generalMemory types:
- Decisions — choices made, options rejected
- Preferences — habits, likes, opinions
- Milestones — sessions completed, goals reached
- Problems — bugs, blockers, issues encountered
- Emotional context — reactions, concerns, excitement
Splitting Mega-Files
Some transcript exports concatenate multiple sessions into one huge file. Split them first:
# Preview what would be split
mempalace split ~/chats/ --dry-run
# Split files with 2+ sessions (default)
mempalace split ~/chats/
# Only split files with 3+ sessions
mempalace split ~/chats/ --min-sessions 3
# Output to a different directory
mempalace split ~/chats/ --output-dir ~/chats-split/TIP
Always run mempalace split before mining conversation files. It's a no-op if files don't need splitting.
Multi-Project Setup
Mine each project into its own wing:
mempalace mine ~/chats/orion/ --mode convos --wing orion
mempalace mine ~/chats/nova/ --mode convos --wing nova
mempalace mine ~/chats/helios/ --mode convos --wing heliosSix months later:
# Project-specific search
mempalace search "database decision" --wing orion
# Cross-project search
mempalace search "rate limiting approach"
# → finds your approach in Orion AND Nova, shows the differencesTeam Usage
Mine Slack exports and AI conversations for team history:
mempalace mine ~/exports/slack/ --mode convos --wing driftwood
mempalace mine ~/.claude/projects/ --mode convosThen search across people and projects:
mempalace search "Soren sprint" --wing driftwood
# → 14 closets: OAuth refactor, dark mode, component library migrationAgent Tag
Every drawer is tagged with the agent that filed it:
# Default agent name
mempalace mine ~/data/ --agent mempalace
# Custom agent name
mempalace mine ~/data/ --agent reviewerThis is used by Specialist Agents to partition memories.
