Posthog Claude Code Share Plugin
posthog-claude-code-share-plugin is a Claude Code plugin for the Build phase that adds a `/share` command to export and redistribute agent sessions as documentation.
Add a `/share` command to Claude Code so solo builders can export and redistribute agent sessions as documentation without manual copy-paste.
Add it to Claude Code
Install the plugin in Claude Code. One command, paste-ready.
/plugin install posthog-claude-code-share-plugin@PostHog/claude-code-share-pluginBuilt to be called by your agent
Skillselion is itself an MCP server. Your agent can pull this entry and a paste-ready install config straight from the API - no copy-paste.
Retrieve this entry with skillselion.get_details("plugin:PostHog/claude-code-share-plugin") and the paste-ready config with skillselion.get_install_config("plugin:PostHog/claude-code-share-plugin").
What it does
posthog-claude-code-share-plugin is a minimal Claude Code plugin from PostHog that adds a `/share` command so you can push agent work into shareable documentation form. Solo builders who live in Claude Code for implementation and debugging often lose context when chats scroll away or when a collaborator needs the same repro steps; this plugin is meant to close that gap by standardizing export at the moment you finish a useful session. It is not a analytics dashboard and not a generic markdown CMS—it is a command hook tuned for Claude Code’s session model. Install it when you routinely need to hand off session narratives to GitHub, internal docs, or growth content without rewriting transcripts by hand. Expect a single-plugin package focused on sharing semantics rather than a broad skill library. Pair it with your normal docs stack in Build and with distribution habits in Launch/Grow when those exports become public artifacts.
Highlights
- Registers a single-plugin bundle with one `/share` slash command for Claude Code
- Targets session and repository sharing flows (markdown, GitHub, documentation keywords in the bundle)
- Fits PostHog’s ecosystem as a lightweight sharing hook rather than a full analytics stack
- Works as an installable Claude Code plugin—no separate MCP server required
- Keeps sharing inside the agent workflow instead of screen-recording or ad-hoc exports
Why builders use it
Valuable Claude Code sessions stay trapped in chat history, so repro steps and decisions never reach repos, teammates, or published docs.
After you install the plugin, you can trigger `/share` inside Claude Code to produce share-ready session documentation instead of manually cleaning transcripts.
At a glance
- Type - Plugin in Productivity.
- Adoption - 0 installs, 4 stars, 0 votes.
FAQ
Who is posthog-claude-code-share-plugin for?
It is for solo and small-team builders who use Claude Code as their primary coding agent and want a built-in way to share session output as documentation.
When should I use posthog-claude-code-share-plugin?
Use it during Build when you finish a session worth preserving, or when you are about to hand work to GitHub, a collaborator, or a public write-up.
How do I add posthog-claude-code-share-plugin to my agent?
Install the plugin from the PostHog/claude-code-share-plugin repository into Claude Code’s plugin flow, then invoke `/share` from an active session when you are ready to export.
Comments
Share how you use posthog-claude-code-share-plugin, gotchas, or tips for other indie builders.
No comments yet - be the first to share how you use it.