posthog — Agent Skill
by PostHog · Updated
Access PostHog analytics, feature flags, experiments, error tracking, and insights directly from Claude Code.
At a glance
posthog is an Agent Skill by PostHog in the Data & Analysis category. In Claude Code it installs with `/plugin install posthog@claude-plugins-official` after adding the anthropics/claude-plugins-official marketplace; other assistants use its SKILL.md instructions as rules. Its source repository has 95 GitHub stars (as of Oct 28, 2026).
How to install posthog in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install posthog in Claude CodeAnthropic's agentic CLI
Add the marketplace
claude/plugin marketplace add anthropics/claude-plugins-officialInstall the skill
claude/plugin install posthog@claude-plugins-officialUse it
These are slash commands for a Claude Code session, not your shell. Claude auto-invokes the skill when your request matches its description — or type its slash command if it exposes one.
How to install posthog in Claude DesktopDesktop app (MCP config)
Clone the source
bashgit clone https://github.com/PostHog/ai-plugin.gitAdd the SKILL.md to your Skills folder
Settings → Capabilities → Skills → add the folder containing SKILL.md. Claude picks it up automatically.
How to install posthog in CursorAI-first code editor
Clone the source
bashgit clone https://github.com/PostHog/ai-plugin.gitConvert to a Cursor rule
Create .cursor/rules/posthog.mdc and paste the SKILL.md body. Set `alwaysApply` or a glob so the Agent loads it in context.
How to install posthog in Codex CLIOpenAI coding agent
Clone the source
bashgit clone https://github.com/PostHog/ai-plugin.gitReference in AGENTS.md
Add the skill's instructions (or a link) to AGENTS.md at your repo root — Codex reads it on every run.
How to install posthog in WindsurfCodeium's agentic IDE
Clone the source
bashgit clone https://github.com/PostHog/ai-plugin.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
How to install posthog in ClineVS Code autonomous agent
Clone the source
bashgit clone https://github.com/PostHog/ai-plugin.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
How to install posthog in VS CodeCopilot / MCP support
Clone the source
bashgit clone https://github.com/PostHog/ai-plugin.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
Documentation
Full READMEPostHog AI plugin
Official PostHog plugin for AI clients. Access PostHog products directly from your AI coding tool.
Installation
Claude Code
- Install the plugin:
claude plugin install posthogOr install from this repo as a marketplace:
claude plugin marketplace add PostHog/ai-plugin
claude plugin install posthog@posthog- Authenticate via OAuth:
# Just enter Claude Code anywhere
claude
# Then, use the /mcp command within Claude, select plugin:posthog:posthog, and press Enter
/mcpThen follow the browser prompts to log into PostHog.
- (Optional) Send Claude Code sessions to PostHog LLM Analytics.
Add to ~/.claude/settings.json (global) or .claude/settings.local.json (per-project):
{
"env": {
"POSTHOG_LLMA_CC_ENABLED": "true",
"POSTHOG_API_KEY": "phc_...",
"POSTHOG_HOST": "https://eu.i.posthog.com"
}
}Excerpt — the full document is on GitHub.
More Data & Analysis skills
- Data & Analysis45k
ruby lsp
Ruby language server for code intelligence and analysis
Claude Plugins (Official)by anthropics
- Data & Analysis45k
rust analyzer lsp
Rust language server for code intelligence and analysis
Claude Plugins (Official)by anthropics
- Data & Analysis45k
skill creator
Create new skills, improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, or benchmark skill performance with variance analysis.
Claude Plugins (Official)by anthropics
- Data & Analysis19k
deepeval
Skills for adding DeepEval evaluations, tracing, datasets, Confident AI reports, and iterative improvement loops to AI applications.
Claude Plugins (Official)by confident-ai
- Data & Analysis11k
huggingface skills
Build, train, evaluate, and use open source AI models, datasets, and spaces.
Claude Plugins (Official)by huggingface
- Data & Analysis5.2k
exa
Exa AI web search, deep research, and content extraction. Provides MCP tools and research skills for comprehensive web search, people discovery, company research, academic papers, and more.
Claude Plugins (Official)by exa-labs
Catalog data refreshed . Something wrong? Report it.