Documentation
Command
/share
Share the current Claude Code session to GitHub as markdown
Install
> /plugin marketplace add PostHog/claude-code-share-plugin > /plugin install share@claude-code-share-plugin
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/share
Context preview
What this command does when you run it.
Share the current Claude Code session to GitHub as markdown
Command definition
share.mddescription: Share the current Claude Code session to GitHub as markdown argument-hint: [optional description] allowed-tools: Bash(python3 ~/.claude/plugins/marketplaces/claude-code-share-plugin/scripts/share_session.py:*)
Execute this command to share the session:
python3 ~/.claude/plugins/marketplaces/claude-code-share-plugin/scripts/share_session.py $ARGUMENTS
Ships withshare
A Claude Code plugin that saves and shares your coding sessions to GitHub repositories in readable markdown format.
Get the whole plugin

