with one click
sessions-share
Share Claude Code sessions for another user to browse and resume
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Share Claude Code sessions for another user to browse and resume
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Browse and receive Claude Code sessions from another user
Distill the current session and share it securely over the local network or via relay
Share project auto memory over LAN or relay
Receive a shared session distillation from the local network or via relay
Receive shared project memory from LAN or relay
Based on SOC occupation classification
| name | sessions-share |
| description | Share Claude Code sessions for another user to browse and resume |
| user-invocable | true |
| arguments | [{"name":"passphrase","description":"Shared passphrase for encryption (required)","required":true},{"name":"--relay","description":"Use WebSocket relay server for remote sharing (optional)","required":false},{"name":"--keep-open","description":"Keep server open for N minutes (optional). Without this, server stops after first session download.","required":false}] |
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 installed