Repository navigation
Conversation
PostHog skills now come from the MCP server, so the plugin stops copying them. Remove skills/, the manifest skills paths, and the skill telemetry hook that only counted bundled skills. The daily job keeps regenerating the read-tool list and Gemini commands and bumping versions. Bump the plugin versions by hand so existing installs pick this up. A test now fails if a skills/ folder or a manifest skills path comes back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every client config now identifies as plugin-learn, so the MCP server can tell this release from older installs and give it skills through learn. Claude Code keys a saved MCP sign-in on the server's type, url and static headers, so .mcp.json keeps its headers block exactly as before and adds a headersHelper that returns plugin-learn; dynamic headers override static ones of the same name. A test pins those fields to their previous bytes. Cursor, Codex, Antigravity and Gemini change the value directly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…windows Removes one skill the daily sync added since this branch started, moves the manifests to the next minor version so the release is not a patch the daily sync also produces, and runs the Claude Code headers helper tests on a Windows runner in Git Bash and PowerShell. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 13, 2026
The test timed out on the Linux runner, where pwsh is installed but slow to start. Claude Code only uses PowerShell on Windows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This was referenced Nov 13, 2026
Real Claude Code on Windows runs headersHelper through cmd.exe, whatever shell launched it. The quoted echo printed invalid JSON there, so Claude Code fell back to the static plugin header and the install got no learn. The helper now prints a file with cat, or with type where cat is missing. A new CI job installs the plugin with the real Claude Code CLI on Linux, macOS and Windows and checks the header a local server receives. It replaces the job that ran the helper in Git Bash and PowerShell, which are not the shells Claude Code uses. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
JakeRuth
marked this pull request as ready for review
November 16, 2026 21:11
adboio
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
learncommand. It turnslearnoff for plugin installs, so they do not get the skills twice.Order of the whole change: PostHog/posthog#135733 → PostHog/posthog#135734 → flag fully on → #311 together with PostHog/context-mill#527, PostHog/posthog#135736 and PostHog/posthog.com#22349.
Changes
learnwhen a task needs one.plugin-learn. The server gives that valuelearn, and can tell these installs from old ones that still sendplugin.pluginheader and sends the new value throughheadersHelper, a command Claude Code runs on each connection.claude-code-headers.jsonwithcat, or withtypewherecatis missing. Claude Code runs the helper throughshon macOS and Linux and throughcmd.exeon Windows, and anechowith quotes does not survive both.Do not merge until
mcp-cursor-exec-modeflag is fully on. Until then Cursor has nolearn, so a Cursor user on this plugin would have no skills at all.Merge together with
After the merge
How did you test this code?
Claude Code, 2.1.325:
plugin-learn, andlearnlists the skills. Without the helperlearnanswers "not available for this client".pluginvalue with no error. So a broken helper means nolearnand no skills.echowith single quotes) did exactly that on Windows. A probe with the real CLI on a Windows runner showed the server receivingplugin, from cmd.exe, PowerShell and Git Bash alike.claude-codeCI job covers this. On Linux, macOS and Windows it installs this plugin throughclaude plugin marketplace addandclaude plugin install, connects, and checks the header a local server receives. It passes on all three, and it fails when the headers file is removed.Other clients:
plugin, withplugin-learnand with no header.learnon exec mode with a non-pluginvalue.Also run:
python3 -m pytest tests/test_plugin_paths.py telemetry/tests/test_session_parser.py telemetry/tests/test_posthog_llma.py, the three hook test scripts, andclaude plugin validate ..Not tested: Gemini CLI and Antigravity sign-in after the value change, and the new daily sync job.
🤖 Agent context
Autonomy: Human-driven (agent-assisted)
Agent: Claude Code, Claude Opus 5.5 and Claude Fable 5.2
🤖 Generated with Claude Code