PostHogPostHogOfficial·4 Agent Skills Included

ai-plugin

Query, debug, and manage PostHog product analytics directly

Connects your coding environment to PostHog so you can query analytics, manage feature flags and experiments, triage errors, and inspect LLM traces in plain language. Eliminates manual dashboard clicking, hand-written HogQL, and repetitive debugging across error tracking, session replay, and data warehouse syncs. Ships 30+ ready-made workflows that activate automatically from requests like "why isn't my Stripe sync working?" or "audit my feature flags".
npx skills add PostHog/ai-plugin --all -g -y

All Skills in This Repository (4)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How 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