Share Claude Code sessions between developers. Use when user mentions "share session", "export session", "import session", "send session to", "continue from colleague", or needs to (1) export current session to file, (2) import session from another developer, (3) hand off work context. Enables private, secure session transfer via direct file sharing.
View on GitHubasheshgoplani/agent-deck
agent-deck
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/asheshgoplani/agent-deck/blob/main/skills/session-share/SKILL.md -a claude-code --skill session-shareInstallation paths:
.claude/skills/session-share/# Session Share Share Claude Code sessions between developers through portable file export/import. **Version:** 1.0 | **Privacy:** Files are never uploaded to cloud unless you choose to share them ## Quick Start ```bash # Export current session scripts/export.sh # Output: ~/session-shares/session-2024-01-20-my-feature.json # Share the file via Slack, email, AirDrop, etc. # Other developer imports scripts/import.sh ~/Downloads/session-2024-01-20-my-feature.json # Session appears in agent-deck, ready to continue ``` ## Commands ### Export Session Export the current Claude session to a portable file: ```bash scripts/export.sh [options] ``` **Options:** | Option | Description | |--------|-------------| | `--session <id>` | Export specific session (default: current) | | `--output <path>` | Custom output path | | `--include-thinking` | Include Claude's thinking blocks | | `--no-sanitize` | Don't redact sensitive data | **Examples:** ```bash # Export current session scripts/export.sh # Export to specific location scripts/export.sh --output /tmp/handoff.json # Export specific session with thinking blocks scripts/export.sh --session abc123 --include-thinking ``` **What gets exported:** - All conversation messages (user and assistant) - Tool calls and results - File modifications tracked - Session metadata **What gets redacted (by default):** - API keys and tokens - Absolute paths (converted to relative) - Thinking blocks (Claude's internal reasoning) ### Import Session Import a shared session file and create an agent-deck session: ```bash scripts/import.sh <file-path> [options] ``` **Options:** | Option | Description | |--------|-------------| | `--title <name>` | Override session title | | `--project <path>` | Import to specific project | | `--no-start` | Don't auto-start the session | **Examples:** ```bash # Import and start scripts/import.sh ~/Downloads/session-feature.json # Import with custom title scripts/import.sh session.json --title "Feature Wo