Configures the analytics side of a PostHog experiment — exposure criteria (default `$feature_flag_called` vs custom exposure events), primary and secondary metrics, the supported metric types (count, sum, ratio with `math` and `math_property`, retention with `retention_window_start` and `start_handling`), multivariate user handling ("Exclude" vs "First seen variant"), and how to read results once the experiment is live. Use when the user adds or edits a primary or secondary metric (e.g.
Add this skill
npx mdskills install PostHog/configuring-experiment-analytics@PostHog? Sign in with GitHub to claim this listing.Well-structured experiment analytics configuration with clear metric types and exposure handling
A collection of PostHog skills for enhancing AI-assisted workflows.
Add this repo as a Claude Code plugin marketplace to get access to all PostHog skills:
/plugin marketplace add PostHog/skills
Then install individual plugins:
/plugin install posthog-integration@posthog-skills
/plugin install posthog-feature-flags@posthog-skills
/plugin install posthog-all@posthog-skills
Or browse available plugins:
/plugin search posthog
Copy any skill directory to .claude/skills/ in your project:
cp -r skills/team/customer-success/posthog-debugger .claude/skills/posthog-debugger
Any directory under skills/ that contains a .claude-plugin/plugin.json is automatically discovered and added to the marketplace catalog. To make your skill installable:
skills/.claude-plugin/plugin.json:{
"name": "your-skill-name",
"description": "What your skill does",
"version": "1.0.0",
"author": { "name": "Your Name" },
"keywords": ["posthog", "your-topic"]
}
skills/your-skill/SKILL.md)Official skills for using the PostHog platform — analytics integration, feature flags, error tracking, LLM analytics, and more. These are generated by context-mill and updated automatically on each release.
Skills for small teams at PostHog.
Skills made by users.
Skills for creating and managing skills.
MIT License — see LICENSE for details.
Best experience: Claude Code
/plugin marketplace add PostHog/configuring-experiment-analyticsThen /plugin menu → select skill → restart. Use /skill-name:init for first-time setup.
Other platforms
Install via CLI
npx mdskills install PostHog/configuring-experiment-analyticsConfiguring Experiment Analytics is a free, open-source AI agent skill. Configures the analytics side of a PostHog experiment — exposure criteria (default `$feature_flag_called` vs custom exposure events), primary and secondary metrics, the supported metric types (count, sum, ratio with `math` and `math_property`, retention with `retention_window_start` and `start_handling`), multivariate user handling ("Exclude" vs "First seen variant"), and how to read results once the experiment is live. Use when the user adds or edits a primary or secondary metric (e.g.
Install Configuring Experiment Analytics with a single command:
npx mdskills install PostHog/configuring-experiment-analyticsThis downloads the skill files into your project and your AI agent picks them up automatically.
Configuring Experiment Analytics works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.