PostHog/ai-plugin

Official PostHog plugin for Claude Code, Cursor, Gemini, Codex and other AI coding tools

79Stars on the repository
61Mods indexed here, across every type
2d agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

PostHog/ai-plugin

Skill Claude CodeCodex

Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top spenders, expensive users, per-user LLM cost, user-level cost drivers, or patterns behind high AI observability spend.

79 2d ago A 57 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Analyze session replay patterns across experiment variants to understand user behavior differences. Use when the user wants to see how users interact with different experiment variants, identify usability issues, compare behavior patterns between control and test groups, or get qualitative insights to complement…

79 2d ago A 60 tokens

assessing-heatmaps

03

PostHog/ai-plugin

Skill Claude CodeCodex

Assesses what a page's heatmap is telling you and recommends concrete changes. Pulls click / rageclick / scroll-depth data for a URL, names the hot elements by cross-referencing autocapture events on the same page, and can create a saved heatmap the user opens in PostHog, then summarizes the behavior and proposes…

79 2d ago A 178 tokens

auditing-endpoints

04

PostHog/ai-plugin

Skill Claude CodeCodex

Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised versions. Use when the user asks "what endpoints can I clean up?", "are any of my endpoints broken?", "which materialised versions are still being called?", or wants a one-shot cleanup pass over the Endpoints…

79 2d ago A 96 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations. Read when the user asks to audit, health-check, or review experiments or feature flags, check flag hygiene, or verify experiment setup.

79 2d ago A 57 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Audit the health of a PostHog project's data warehouse sources and syncs — find every broken or degraded source connection, sync schema, and webhook channel. Use when the user asks "why are my imports failing?", "what's broken with my sources?", "why is my warehouse data stale?", or wants a one-shot triage of…

79 2d ago A 129 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Audit the health of a PostHog project's materialized views (saved queries) — find every failed materialization and flag unused or stale materialized views that cost storage and compute. Use when the user asks "which of my views are broken?", "why is this materialized view failing?", "are any of my views wasting…

79 2d ago A 99 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Author error tracking alerts that fire when an issue is created, reopened, or starts spiking. Use when the user asks to set up error notifications, route exceptions to Slack/webhook/Linear, or evaluate which error events are worth alerting on. Covers trigger-event selection, integration choice, dedup against existing…

79 2d ago A 81 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Author useful, low-noise log alerts on services in a PostHog project. Use when the user asks to set up alerts for their logs, suggest alerts they should add, or evaluate whether a service is worth monitoring. Covers service triage, baseline characterisation, threshold drafting, back-testing via simulate, and shipping…

79 2d ago A 75 tokens

authoring-scouts

10

PostHog/ai-plugin

Skill Claude CodeCodex

How to author, edit, and adapt PostHog Signals scouts — the scheduled agents that scan a project and write reports into the Signals inbox. Use when a user wants to customize a canonical scout for their own setup (narrow its scope, retune its thresholds, add disqualifiers), tweak a scout's schedule or dry-run posture…

79 2d ago A 228 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Build a new dashboard, or update an existing one, from a set of insights — the same job the in-app assistant does with its upsert-dashboard tool, but over MCP. Use when a user asks to create a dashboard, put several metrics/charts together on one page, assemble a dashboard for a topic (product analytics, retention…

79 2d ago A 128 tokens

building-workflows

12

PostHog/ai-plugin

Skill Claude CodeCodex

Build, edit, test, enable, and monitor PostHog workflows over MCP. Author the action/edge graph so it runs and opens cleanly in the visual editor, then change drafts surgically with patch operations. Use when asked to build, set up, automate, change, fix, or debug a workflow, campaign, broadcast, drip sequence, or…

79 2d ago A 85 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Determine when a PostHog code change reached a given environment by reading the hidden GIT deploy annotations in the project and correlating them with the merge commit on GitHub. Use when PostHog staff ask "when was X deployed", "is my change live in the US/EU yet", "has my PR shipped", "did the fix roll out to…

79 2d ago A 128 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Clarify how to visualize change over a time range before building a trend. Use whenever the user asks how much something changed, grew, dropped, improved, or regressed between two points or periods — "how much did X change from A to B", "before vs after", "start vs end", "week over week", "compare this month to last"…

79 2d ago A 158 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Identify and clean up stale feature flags in a PostHog project. Use when the user wants to find unused, fully rolled out, or abandoned feature flags, review them for safety, and then disable or delete them. Covers staleness detection, dependency checking, and safe removal workflows.

79 2d ago A 67 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Configures the analytics side of a PostHog experiment — exposure criteria (default $featureflagcalled vs custom exposure events), primary and secondary metrics, the supported metric types (count, sum, ratio with math and mathproperty, retention with retentionwindowstart and starthandling), multivariate user handling…

79 2d ago A 222 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Configures the rollout shape of a PostHog experiment — the variant split (50/50, 80/20, A/B/C ratios), the overall rollout percentage that gates how many users enter the experiment, and the disambiguation when a percentage like "roll out to 25%" could mean either. Use when the user mentions a rollout percentage…

79 2d ago A 162 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Wire a PostHog endpoint into a client app or SDK. Covers fetching the OpenAPI spec, generating a typed client with openapi-generator or @hey-api/openapi-ts, sending the right auth header, shaping the variables payload (HogQL codename vs insight breakdown property), handling rate-limit and materialised-endpoint error…

79 2d ago A 105 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Copy a PostHog endpoint (a saved HogQL/insight query exposed as an API route) to another project in the same organization, or duplicate it under a new name in the same project. Use when the user wants to duplicate an endpoint, promote an endpoint from staging to production, replicate an endpoint's…

79 2d ago A 184 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Copy a feature flag from one PostHog project to one or more target projects in the same organization. Use when the user wants to duplicate a flag, promote a flag from staging to production, sync flags across projects, or replicate a flag configuration in a different workspace. Covers cohort remapping, scheduled-change…

79 2d ago A 89 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Create a recurring AI-generated PostHog report — schedule a free-text prompt to run on a cron, with the LLM-synthesized markdown delivered to email or Slack on each tick. Use when the user wants a recurring AI summary of X on any cadence (daily, weekly, monthly, yearly) rather than a one-off report. (To attach an AI…

79 2d ago A 107 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Create a PostHog endpoint with the right shape on the first try — covers query kind choice, name conventions, what to expose as variables (HogQL codename vs insight breakdown), datafreshnessseconds, and whether to materialise on day one. Use when the user says "create an endpoint", "expose this query as an API", "turn…

79 2d ago A 131 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Guides agents through the 3-step experiment creation flow: defining the hypothesis, configuring rollout, and setting up analytics. Delegates rollout decisions to configuring-experiment-rollout and metric setup to configuring-experiment-analytics. TRIGGER when: user asks to create a new experiment or A/B test, OR when…

79 2d ago A 96 tokens

PostHog/ai-plugin

Skill Claude CodeCodex

Author continuously-running online evaluations in PostHog AI observability, grounded in a real failure mode you've identified. Use when the user wants an evaluation that automatically scores new generations or whole traces going forward — "create an eval to catch X", "continuously check that responses do Y", "turn…

79 2d ago A 170 tokens