session-share

session-share is a skill for Claude Code from asheshgoplani/agent-deck. It costs 76 tokens per session (1,593 once invoked), scanned A, original, MIT.

A way to export and import Claude Code sessions as portable files so another developer can continue the same work. The files stay local unless you choose to share them.

In plain words
What is it for?
Use it to save a session, send it through Slack, email, or AirDrop, and restore it into agent-deck for continued work.
Why use it?
It avoids losing the working context when handing a task to a colleague or moving it to another computer.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code; mentions OpenCode.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/alice/my-project.

Part of the agent-deck plugin — 6 skills shipped together

Good fit Use it to save a session, send it through Slack, email, or AirDrop, and restore it into agent-deck for continued work.

Compare 6 skills from other repositories ↓
About the project

Agent Deck is a terminal session manager that lets developers monitor and switch between multiple AI coding-agent sessions from one text interface. It helps people organize agents working across projects with groups, search, forking, Git worktrees, cost tracking, and a phone-controlled conductor. The catalogue entries extend its use with skills, commands, and a plugin.

asheshgoplani/agent-deck · 1,111 stars · on GitHub · discord.gg

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add asheshgoplani/agent-deck
Claude Code
/plugin install agent-deck

Made for: Claude Code.

Or install agent-deck, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for session-share

README.md
[![agentmods](https://agentmods.dev/badge/skills/asheshgoplani/agent-deck/session-share/github.svg)](https://agentmods.dev/skills/asheshgoplani/agent-deck/session-share)
Your own site
<a href="https://agentmods.dev/skills/asheshgoplani/agent-deck/session-share"><img src="https://agentmods.dev/badge/skills/asheshgoplani/agent-deck/session-share/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for session-share

Your own site · 80×15
<a href="https://agentmods.dev/skills/asheshgoplani/agent-deck/session-share"><img src="https://agentmods.dev/badge/skills/asheshgoplani/agent-deck/session-share.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,593 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01593
Opus 5.5 $0.00030 $0.00637
Sonnet 5.5 $0.00015 $0.00319
Haiku 4.5 $0.00008 $0.00159

Measured 1mo ago against content hash d82e2d64964d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

session-share scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/export.sh, scripts/import.sh, scripts/utils.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/session-share/SKILL.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Script Path Resolution (IMPORTANT)

This skill includes helper scripts in its scripts/ subdirectory. When Claude Code loads this skill, it shows a line like:

Base directory for this skill: /path/to/.../skills/session-share

You MUST use that base directory path to resolve all script references. Store it as SKILL_DIR:

# Set SKILL_DIR to the base directory shown when this skill was loaded
SKILL_DIR="/path/shown/in/base-directory-line"

# Then run scripts as:
$SKILL_DIR/scripts/export.sh
$SKILL_DIR/scripts/import.sh ~/Downloads/session-file.json

Quick Start

# Export current session
$SKILL_DIR/scripts/export.sh
# Output: ~/session-shares/session-2024-01-20-my-feature.json

# Share the file via Slack, email, AirDrop, etc.

# Other developer imports
$SKILL_DIR/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:

$SKILL_DIR/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:

# Export current session
$SKILL_DIR/scripts/export.sh

# Export to specific location
$SKILL_DIR/scripts/export.sh --output /tmp/handoff.json

# Export specific session with thinking blocks
$SKILL_DIR/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)

Read the full file on GitHub · 211 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +4 lines d82e2d64964d
  2. 1mo ago First seen · 207 lines · 76 tokens per session scan A 80e2b5d4e2fe

Subscribe to this mod's changes

session-share is a skill published in the GitHub repository asheshgoplani/agent-deck (1,111 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 1,593 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.