ai-plugin
Query, debug, and manage PostHog product analytics directly
All Skills in This Repository (4)
Pure Emerald Level Indicatorsexploring-llm-costs
Aggregate LLM spend and token metrics from PostHog events.
querying-posthog-data
Query PostHog analytics data using HogQL and SQL foundations.
investigate-metric
Diagnose product metric changes via PostHog breakdowns, funnels, and SQL queries.
diagnosing-sdk-health
Identify outdated PostHog SDKs and generate a prioritized upgrade plan.
Frequently Asked Questions
FAQPage SchemaHow to install PostHog ai-plugin?▼
Run `npx skills add PostHog/ai-plugin --all -g -y` in your terminal to install all skills globally. Then authenticate with your PostHog account via the OAuth browser prompt on first use.
What can I do with the PostHog plugin?▼
You can query analytics, create and manage feature flags and experiments, debug errors and session replays, track LLM costs and traces, and diagnose data warehouse sync failures — all through natural language requests.
Does it work with Claude Code, Cursor, and Codex?▼
Yes. The plugin follows the universal SKILL.md standard and runs in Claude Code, Cursor, Codex, Gemini CLI, and Grok, connecting to PostHog through its MCP server.
Can I use it with a self-hosted PostHog instance?▼
Yes. Set the POSTHOG_MCP_URL environment variable to point at your self-hosted instance and all skills will run against it.
Do I need to know HogQL or SQL to use it?▼
No. The bundled skills write and validate the queries for you — you just describe the question or problem in plain English.
Related Repositories in Data & Analytics
View All in Data & Analytics→PaddleOCR
Extract text, tables, and formulas from PDFs and images
Scrapling
Scrape any website and bypass anti-bot protection with AI
last30days-skill
Research any topic across Reddit, X, YouTube, and the web