feat(mcp): add synthetic git endpoints for per-skill plugin distribution#57178
feat(mcp): add synthetic git endpoints for per-skill plugin distribution#57178daniloc wants to merge 6 commits into
Conversation
Adds a synthetic git smart HTTP layer to the MCP server that enables per-skill install attribution. Instead of one monolithic plugin clone from GitHub, each skill becomes an individually installable plugin served via git clone from mcp.posthog.com, with PostHog analytics events fired on every install and update fetch. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Oh I forgot the best part: this is the command to add it to Claude Code
|
Adds a synthetic git smart HTTP layer to the MCP server that enables per-skill install attribution. Instead of one monolithic plugin clone from GitHub, each skill becomes an individually installable plugin served via git clone from mcp.posthog.com, with PostHog analytics events fired on every install and update fetch. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
… source Resolves merge conflict in index.ts. Replaces hardcoded plugin versions with versions extracted from SKILL.md frontmatter (e.g. 1.12.1 from context-mill). This ensures auto-update works: when context-mill cuts a new release, the version string changes and Claude Code picks it up. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
refinement: pipe through the version data from context-mill for ongoing, proper versioning. |
|
very nice! excited to see this get rolled out. |
Bundles combine multiple skills into a single plugin served from /git/bundles/:name. The marketplace now lists 11 framework bundles (nextjs, react, python, node, etc.) instead of 84 individual skills. Bundle definitions come from the context-mill manifest. Also fixes duplicate git objects in packfiles when skills share identical reference files (dedup by SHA in synthesizeRepo). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The core plugin now includes a skill that detects the user's tech stack (package.json, requirements.txt, Gemfile, etc.) and recommends the right PostHog bundle to install. The skill content is generated dynamically from the bundle catalog so it stays current as bundles are added. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The recommend-posthog-skills SKILL.md content now comes from the context-mill manifest's recommendSkill field instead of being hardcoded in the MCP server. Content authoring lives in context-mill's bundles.yaml alongside the bundle definitions it references. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
further refined to 11 plugins/skill bundles, plus a plugin selection skill that suggests the ideal plugin to install to the user when PostHog-shaped needs arise:
Depends on a new generator in Plugin recommender |
|
This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, please remove the |
|
This PR was closed due to lack of activity. Feel free to reopen if it's still relevant. |


Adds a synthetic git smart HTTP layer to the MCP server that enables per-skill install attribution. Instead of one monolithic plugin clone from GitHub, each skill becomes an individually installable plugin served via git clone from mcp.posthog.com, with PostHog analytics events fired on every install and update fetch.
Problem
Skill distribution is a bit of a shitshow, and worse yet, we don't know exactly what skills are most desired. This resolves the issue by putting us in direct control of the marketplace interface.
Changes
How did you test this code?
MCP run locally and installed marketplace to Claude Code.
🤖 Agent context
Claude Code reimplemented a strategy I've used in personal projects to good success here. Supplemented with some interesting research: