From 56b2cd88c580fbd4e30a4ac58f2a3f2903474055 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:48:18 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 12 ++++++++++ README.md | 3 +++ commands/share.md | 11 ++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/share.md create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..d4d41e8 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,12 @@ +{ + "name": "share", + "description": "Share Claude Code sessions to GitHub repositories", + "version": "1.0.0", + "author": { + "name": "PostHog", + "email": "hey@posthog.com" + }, + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..fb90f49 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# share + +Share Claude Code sessions to GitHub repositories diff --git a/commands/share.md b/commands/share.md new file mode 100644 index 0000000..76cd129 --- /dev/null +++ b/commands/share.md @@ -0,0 +1,11 @@ +--- +description: 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: + +```bash +python3 ~/.claude/plugins/marketplaces/claude-code-share-plugin/scripts/share_session.py $ARGUMENTS +``` diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..f587622 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:PostHog/claude-code-share-plugin:", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "c7eb71ee25d1f0bf7a04e182a018b50db4bdd3e1", + "treeHash": "eb734ad970045de68951d1688d4f99ddc9bfbca8c04f0950917e7e1f5ef0a825", + "generatedAt": "2025-11-28T10:12:39.012572Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "share", + "description": "Share Claude Code sessions to GitHub repositories", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "398a7dcee1b05faf7260e660d015c072781b1e344b03a5ae96d74951101bcb94" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "092c2da1baec7e1c91e6aed22ed536f9342dde3fc71525ab27ed0013d67d27e0" + }, + { + "path": "commands/share.md", + "sha256": "5dfa7a934519422a1290c3743497f9c1320d0bf2be1444c43120c84528c24d7f" + } + ], + "dirSha256": "eb734ad970045de68951d1688d4f99ddc9bfbca8c04f0950917e7e1f5ef0a825" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file