Claude Tools / Plugins / share

Plugins · posthog/claude-code-share-plugin

share

Share Claude Code sessions to GitHub repositories

CLEARED_STATICclaude-onlyv1.0.0

Pipeline results

Coverage

CLEARED_STATIC

Tests run

7 / 8

Portability

Claude-only

Type

Plugins

Tests & results

What the pipeline checked

TestStateResult or reason
eligibilityranall eligibility checks passed
dedupranunique -- no near-duplicate found
clocran772 code lines / 9 files
secretsranno secret patterns matched
egressranno egress patterns matched
injectionranno patterns matched (confidence: STANDARD)
required-fieldsranrequired fields present: name, version, description
behaviouraldeferredbehavioural assessment deferred (v1): 1 Python file(s)

What's inside

Components found

commands/share.md
componentlow

Coverage

Not assessed

  • behavioural execution not run

README

From the repository

# Claude Code Session Sharing Plugin

A Claude Code plugin that saves and shares your coding sessions to GitHub repositories in readable markdown format.

## Features

- Converts JSONL session logs to clean, readable markdown
- Automatically commits and pushes to any GitHub repository
- Organizes sessions by username in configurable directory structure
- Supports optional session descriptions
- Collapses tool usage details by default for cleaner reading
- Fully configurable via environment variables

## Prerequisites

- Python 3.6+
- [GitHub CLI (`gh`)](https://cli.github.com/) installed and authenticated
- A GitHub repository to store sessions (public or private)

## Installation

### Quick Install (Recommended)

**One-liner installation:**

```bash
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:**
- GitHub username (from `gh` CLI)
- Current session log (from `~/.claude/projects/` based on working directory)
- Branch (defaults to `main`)
- Path (defaults to `sessions/claude`)

**Config

← Back to Plugins