/claude-spread:sessions-sharefrom claude-spread
Share Claude Code sessions for another user to browse and resume. Supports local network discovery via mDNS and remote sharing via WebSocket relay with AES-256-GCM encryption.
Ships in claude-spread. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are sharing your Claude Code sessions so another user can browse and resume them.
Warning: Session files contain full conversation history. Only share with trusted recipients.
Scan all session .jsonl files and build a catalog:
mkdir -p ${CLAUDE_PLUGIN_ROOT}/.tmp
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/build_sessions_catalog.py ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-sessions-catalog.json
If no sessions are found, tell the user there are no sessions to share and stop.
Read the generated catalog file:
cat ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-sessions-catalog.json
Display the sessions list to the user, sorted by modified (newest first). For each session show:
Ask the user to confirm which sessions to share (all, or a subset by number).
If the user picks a subset, update the catalog file to include only the selected sessions.
Run the serve_sessions.py script:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/serve_sessions.py "{{passphrase}}" ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-sessions-catalog.json
This will:
_claude-sessions._tcp.)Tell the user:
/sessions-receive {{passphrase}}--keep-open)If the user wants to share with multiple people, use --keep-open <minutes>:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/serve_sessions.py --keep-open 10 "{{passphrase}}" ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-sessions-catalog.json
This keeps the server open for the specified number of minutes, allowing multiple receivers to connect. The server shuts down automatically when time expires.
If the user passes --relay, use the relay server:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/serve_sessions.py --relay "{{passphrase}}" ${CLAUDE_PLUGIN_ROOT}/.tmp/claude-sessions-catalog.json
This will:
wss://relay.fireamulet.comTell the user:
/sessions-receive --relay --room <room_code> {{passphrase}}--keep-open <minutes>pip install websockets if not already installedWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/memory-shareShare project auto memory over LAN or relaynpx claudepluginhub namyunwoo/claudespread --plugin claude-spreadOther plugins' skills for the same job