From claude-spread
Shares Claude Code project memory files over LAN or WebSocket relay via passphrase-encrypted server in distilled Markdown or raw JSON modes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-spread:memory-shareThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are sharing the project's Claude Code auto memory with another machine or person.
You are sharing the project's Claude Code auto memory with another machine or person.
There are two modes: distilled (default) and raw (--raw).
Read all files from your auto memory directory (~/.claude/projects/<project>/memory/):
MEMORY.md (always present)debugging.md, patterns.md, etc.)Analyze all memory files and produce a single, well-organized Markdown document:
# Project Memory Distillation
## Project Overview
(Brief description of the project based on accumulated memory)
## Key Patterns & Conventions
- (coding conventions, architectural patterns, etc.)
## Important File Paths
- (critical files and their roles)
## Debugging Insights
- (known issues, solutions, workarounds)
## Workflow Preferences
- (user preferences for tools, testing, deployment)
## Architecture Notes
- (key architectural decisions and their rationale)
Consolidate, deduplicate, and organize the information clearly. Remove session-specific noise and keep only stable, reusable knowledge.
Write the distilled memory to ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-memory-payload.md.
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/serve.py "{{passphrase}}" ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-memory-payload.md
Tell the user:
/claude-spread:memory-receive {{passphrase}}--raw)python3 ${CLAUDE_PLUGIN_ROOT}/skills/memory-share/scripts/bundle.py ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-memory-payload.json
This bundles all .md files from the auto memory directory into a JSON file.
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/serve.py "{{passphrase}}" ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-memory-payload.json
Tell the user:
/claude-spread:memory-receive {{passphrase}}If the user passes --relay, add the --relay flag to the serve.py command:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/serve.py --relay "{{passphrase}}" ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-memory-payload.md
Tell the user:
/claude-spread:memory-receive --relay --room <room_code> {{passphrase}}pip install websockets if not already installednpx claudepluginhub namyunwoo/claudespread --plugin claude-spreadReceives shared project memory from LAN or WebSocket relay in Claude Code. Decrypts with passphrase, installs files to local memory directory with backups.
Organizes, extracts, prunes, and verifies Claude Code persistent memory files to keep MEMORY.md under the 200-line truncation limit and topic files up to date with project state.
Explains how claude-mem captures observations, injects context, and where data is stored locally.