posthog
Gives Claude Code skills, agents, and commands for PostHog analytics, session replay, feature flags, error tracking, and LLM observability. Includes MCP server setup and project access checks.
A Claude Code plugin that saves and shares your coding sessions to GitHub repositories in readable markdown format.
Claude Code
> /plugin marketplace add PostHog/claude-code-share-plugin> /plugin install share@claude-code-share-plugin
GitHub Copilot
$ copilot plugin marketplace add PostHog/claude-code-share-plugin$ copilot plugin install share@claude-code-share-plugin
A Claude Code plugin that saves and shares your coding sessions to GitHub repositories in readable markdown format.
gh) installed and authenticatedOne-liner installation:
curl -fsSL https://raw.githubusercontent.com/PostHog/claude-code-share-plugin/main/install.sh | \
bash -s -- --claude-share-repo repo-owner/repo-name
Replace repo-owner/repo-name with your sessions repository.
What gets auto-detected:
gh CLI)~/.claude/projects/ based on working directory)main)sessions/claude)Configuration is saved automatically to ~/.claude/share-plugin-config.json during installation - no environment variables needed!
In Claude Code, run:
/plugin marketplace add PostHog/claude-code-share-plugin
/plugin install share@claude-code-share-plugin
Clone the repository:
gh repo clone PostHog/claude-code-share-plugin ~/claude-plugins/claude-code-share-plugin
In Claude Code:
/plugin marketplace add ~/claude-plugins/claude-code-share-plugin
/plugin install share@claude-code-share-plugin
The Quick Install automatically saves configuration to ~/.claude/share-plugin-config.json.
If you need to change the repository later, you can either:
cat > ~/.claude/share-plugin-config.json <<EOF
{
"repo": "new-owner/new-repo"
}
EOF
export CLAUDE_SHARE_REPO="repo-owner/repo-name"
For automatic plugin installation across your team, add to your project's .claude/settings.json:
{
"extraKnownMarketplaces": {
"claude-code-share-plugin": {
"source": {
"source": "github",
"repo": "PostHog/claude-code-share-plugin"
}
}
},
"enabledPlugins": [
"share@claude-code-share-plugin"
]
}
When team members trust the repository, Claude Code will automatically install the marketplace and plugin.
Share the current session with no description:
/share
Share with a descriptive name:
/share fixing authentication bug
This creates a file like: 20251021-142530-fixing-authentication-bug.md
Sessions are organized as:
your-sessions-repo/
└── sessions/
└── claude/
└── username/ # Auto-detected from gh CLI
├── 20251021-142530-fixing-auth.md
├── 20251021-153245-adding-tests.md
└── ...
# Claude Code Session
**Date:** 2025-10-21 14:25:30
---
## User
Can you help me fix the authentication bug?
## Claude
I'll help you investigate the authentication issue. Let me first check the relevant files.
<details>
<summary>Tool: read_any_files</summary>
```json
{
"files": [
{
"path": "/src/auth/login.py"
}
]
}
| What | How |
|---|---|
| Configured during install | Repository saved to ~/.claude/share-plugin-config.json |
| Auto-detected | Username (from gh CLI) |
| Auto-detected | Session log (from ~/.claude/projects/ based on working directory) |
| Defaults | Branch: main, Path: sessions |
The plugin needs to know which GitHub repository to use. Run the installer:
curl -fsSL https://raw.githubusercontent.com/PostHog/claude-code-share-plugin/main/install.sh | \
bash -s -- repo-owner/repo-name
Or create the config file manually:
cat > ~/.claude/share-plugin-config.json <<EOF
{
"repo": "repo-owner/repo-name"
}
EOF
Ensure:
gh CLI is installed: gh --versiongh auth statusCheck that:
gh auth refreshTo modify the plugin:
/plugin uninstall share/plugin install share@claude-code-share-plugin<details> sections/tmp/claude-share-tempgh CLI which respects your existing GitHub authenticationMIT
Gives Claude Code skills, agents, and commands for PostHog analytics, session replay, feature flags, error tracking, and LLM observability. Includes MCP server setup and project access checks.
Plugin for PostHog product analytics, feature flags and session replay inside AI coding tools. Adds skills for analyzing experiments, AI costs and offline evaluations, plus an MCP server.
Fetches up-to-date documentation and code examples for libraries, frameworks, SDKs, CLI tools and cloud services, so an AI agent can answer API questions and generate code against current references.
Gives Claude Code skills and agents for writing React documentation on react.dev, covering MDX components, voice and style rules, blog post structure, and interactive Sandpack code examples.
An agent skill that turns complex terminal output into styled HTML pages you actually want to read. Ask your agent to explain a system architecture, review a diff, or compare requirements against a plan.
A WYSIWYG markdown editor so you can edit markdown files like a Google Doc or Notion page, with a desktop app and web UI for navigation, search, and wiki-style linking. It also ships skills for working in codebase wiki, personal CRM, and knowledge base projects.
A Claude Code plugin that saves and shares your coding sessions to GitHub repositories in readable markdown format. Install it with the command on its page. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it