From claude-spread
Shares selected Claude Code sessions: scans files, builds catalog, encrypts with passphrase, serves via mDNS or WebSocket relay for browsing/resuming.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-spread:sessions-shareThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are sharing your Claude Code sessions so another user can browse and resume them.
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 installednpx claudepluginhub namyunwoo/claudespread --plugin claude-spreadBrowse shared Claude Code sessions from another user via LAN or relay, select one, decrypt with passphrase, and install locally as JSONL conversation history.
Copies or moves Claude Desktop Code-tab sessions between accounts so they appear in the new account's session picker after login. Run before switching accounts for seamless continuation.
Unified session management for Claude Code: list active sessions, check inbox, and broadcast messages across sessions. Explicit /session invocation only.