Skip to main content
JobPlugins

posthog plugin for Claude

What it does

Access PostHog analytics, feature flags, experiments, error tracking, and insights directly from your AI coding tool.

Commands

What you can type in Claude after adding this plugin.

  • /posthog:llma-cc-ingest

    Manually send a Claude Code session log to PostHog LLM Analytics

Show 62 more
  • /posthog:llma-cc-setup

    Set up PostHog LLM Analytics to capture Claude Code sessions

  • /posthog:llma-cc-status

    Check if Claude Code sessions are being sent to PostHog LLM Analytics

  • /posthog:adding-warehouse-person-properties

    Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties already work: feature flag targeting, cohorts, insight fil…

  • /posthog:analyzing-expensive-users

    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 A…

  • /posthog:analyzing-experiment-session-replays

    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, comp…

  • /posthog:analyzing-task-runs

    Split a completed PostHog task run into activity records — what the agent tried, whether it worked, what blocked it — and record each one through the report_activity tool. Use when a task asks to analyze a run, produc…

  • /posthog:assessing-heatmaps

    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, an…

  • /posthog:auditing-endpoints

    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 ma…

  • /posthog:auditing-experiments-flags

    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…

  • /posthog:auditing-warehouse-source-health

    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…

  • /posthog:auditing-warehouse-view-health

    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 o…

  • /posthog:authoring-data-quality-checks

    Adds and runs data quality checks (dbt-test style assertions) on a project's warehouse tables and saved-query views, and HogQL catalog metrics: not-null, uniqueness, accepted values, referential integrity, row-count b…

  • /posthog:authoring-error-tracking-alerts

    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 eve…

  • /posthog:authoring-log-alerts

    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 s…

  • /posthog:authoring-scouts

    Write, edit, and adapt PostHog Signals scouts: scheduled agents that scan a project and report findings. Use to change a canonical scout's scope, thresholds, schedule, or dry-run settings; add a scout for an uncovered…

  • /posthog:building-a-dashboard

    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 m…

  • /posthog:building-canvases

    Create or edit a PostHog freeform canvas — a sandboxed browser application (data board, document, form, small tool, graphics experiment) stored in PostHog and rendered by the desktop/web app. Use when a task asks to b…

  • /posthog:building-html-canvases

    Author a PostHog canvas with semantic HTML, CSS, and direct browser APIs — documents, articles, generative graphics, 2D canvas and WebGL experiences, and focused experiments where React components add no useful struct…

  • /posthog:building-loops

    Build a Loop for PostHog Desktop: a workflow that creates an AI task each time its trigger fires, optionally followed by a Slack or email notification with the task's result. Use when asked to create, set up, or chang…

  • /posthog:building-react-quill-canvases

    Author the React + Quill implementation of a PostHog canvas: the single-component contract, the allowed imports, Quill (PostHog's design system) component and composition rules, theme-aware design tokens, loading skel…

  • /posthog:building-workflows

    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…

  • /posthog:checking-deploy-timing

    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…

  • /posthog:checking-member-access

    Explains what a member or a role can do in a PostHog project, using the access control MCP tools. Use when the user asks what someone can see or edit, who can edit dashboards or feature flags, why a member can or cann…

  • /posthog:choosing-trend-or-slope-view

    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 c…

  • /posthog:cleaning-up-stale-feature-flags

    Identify stale feature flags in a PostHog project and clean up the code that checks them. Use when the user wants to find, audit, or remove unused, fully rolled out, or abandoned feature flags, run a feature flag hygi…

  • /posthog:composing-grid-canvases

    Compose PostHog grid canvases — widget grids (including the user's home canvas) built from reusable component canvases. Use when a task asks to add, fill, move, resize, or remove a widget on a grid or home canvas, to…

  • /posthog:configuring-experiment-analytics

    Configures the analytics side of a PostHog experiment — exposure criteria (server-resolved default exposure event vs custom exposure events), primary and secondary metrics, the supported metric types (count, sum, rati…

  • /posthog:configuring-experiment-rollout

    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 perce…

  • /posthog:consuming-endpoints-from-client-code

    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…

  • /posthog:context-layer-consolidation

    Keep the context wiki coherent using the deterministic lint report queue

  • /posthog:context-layer-dreaming

    Synthesizes recent organizational activity into a durable context wiki. Use when running a nightly or incremental context-layer dream, or when updating sourced organizational context from completed work.

  • /posthog:context-layer-health-check

    Semantic review of context wiki quality after deterministic consolidation

  • /posthog:copying-endpoints-across-projects

    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…

  • /posthog:copying-flags-across-projects

    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,…

  • /posthog:creating-ai-subscription

    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, Slack, or Microsoft Teams on each tick. Use when the user wants a re…

  • /posthog:creating-an-endpoint

    Create a PostHog endpoint with the right shape on the first try — covers query kind choice, name conventions, what to expose as variables (HogQL code_name vs insight breakdown), data_freshness_seconds, and whether to…

  • /posthog:creating-box-plot-insights

    Creates product analytics or SQL-backed box plot insights in PostHog. Use when a user asks to create, build, or save a box plot, visualize a numeric distribution, compare quartiles or medians across dates or groups, o…

  • /posthog:creating-experiments

    Guides agents through experiment creation: reading the project's setup with experiment-setup-context, defining the hypothesis, configuring rollout and bucketing, setting up analytics and running time, and reporting wh…

  • /posthog:creating-online-evaluations

    Author continuously-running online evaluations in PostHog AI observability, grounded in real failure modes you've identified. Use when the user wants evaluations that automatically score new generations or whole trace…

  • /posthog:creating-replay-vision-scanners

    Guides agents through creating and safely sizing a Replay Vision scanner: choosing the scanner type (monitor/classifier/scorer/summarizer), shaping the RecordingsQuery that selects sessions, and — crucially — estimati…

  • /posthog:creating-surveys

    Creates and launches PostHog surveys through MCP, including NPS/CSAT popovers, hosted feedback forms, and headless surveys. Guides survey type selection, audience targeting, draft review, and launch readiness. Use whe…

  • /posthog:debugging-experiments

    Debug and support PostHog Experiments (A/B tests) for a customer looking at their own results. Use whenever an experiment support ticket is pasted or a customer asks a results question, most commonly "why aren't my ex…

  • /posthog:debugging-surveys

    Diagnose PostHog Surveys configuration and responses across all five SDKs (web/posthog-js, iOS, Android, Flutter, React Native). Use whenever a Surveys support ticket is pasted ("survey not showing", "fewer responses…

  • /posthog:designing-email-templates

    Author, save, and edit email templates in the PostHog workflows library — compose email design JSON with Liquid personalization and create and round-trip-edit templates over MCP. Use when asked to design, build, updat…

  • /posthog:diagnosing-ci-and-merge-bottlenecks

    Diagnoses CI and pull-request pipeline health for a GitHub repo using the engineering analytics MCP tools — pull-requests (PR list with CI status), workflow-health (per-workflow CI trends), and pr-lifecycle (a single…

  • /posthog:diagnosing-endpoint-performance

    Diagnose why a PostHog endpoint is slow or expensive and propose a concrete fix — bump the cache TTL, enable materialisation, restructure variables, or rewrite the query. Use when the user says "this endpoint is slow"…

  • /posthog:diagnosing-experiment-results

    Diagnoses bias, anomalies, and strange results on a PostHog experiment. Covers 0-exposure experiments, sample ratio mismatch, identity fragmentation, multi-variant exposure, uneven-split exclusion bias, significance t…

  • /posthog:diagnosing-failed-warehouse-syncs

    Diagnose why a data warehouse sync is failing and recommend the right recovery action. Use when the user asks "why isn't my Stripe/Postgres/Hubspot sync working?", "this table has been stuck for hours", "the data in t…

  • /posthog:diagnosing-missing-recordings

    Diagnoses why a session recording is missing or was not captured. Use when a user asks why a session has no replay, why recordings aren't appearing, or wants to troubleshoot session replay capture issues for a specifi…

  • /posthog:diagnosing-sdk-health

    Diagnoses the health of a project's PostHog SDK integrations — which SDKs are out of date and how to fix them. Use when a user asks about PostHog SDK versions, outdated SDKs, upgrade recommendations, "SDK health", "SD…

  • /posthog:diagnosing-stacktrace-symbolication

    Help users debug PostHog Error Tracking stack-trace symbolication for any supported platform — JavaScript/TypeScript web, React Native (Hermes), Android (Proguard / R8), or iOS / macOS (dSYM). The PostHog symbol-set l…

  • /posthog:downloading-batch-export-files

    Export PostHog events, persons, sessions, or the results of a HogQL query on demand and download the resulting files. Use when the user asks to download/export raw PostHog data, export HogQL query results, create a on…

  • /posthog:exploring-ai-failures

    Find where an AI/LLM application is failing in production and surface the failure patterns, working from real traces. Use when someone wants to understand what's going wrong with an AI feature, find and categorize fai…

  • /posthog:exploring-apm-traces

    Investigates distributed application performance using PostHog APM (OpenTelemetry span) data via MCP. Use when the user asks about service traces, slow HTTP/database spans, error spans, error-rate trends or spikes, la…

  • /posthog:exploring-autocapture-events

    Guides exploration of $autocapture events captured by posthog-js to understand user interactions, find CSS selectors (especially data-attr attributes), evaluate selector uniqueness, query matching clicks ad-hoc, and c…

  • /posthog:exploring-endpoint-execution-logs

    Explore and diagnose a PostHog endpoint's execution logs — error messages, failed runs, cache misses, slow runs, or unexpected row counts during endpoint invocations. Use when the user says "my endpoint is failing", "…

  • /posthog:exploring-live-traffic

    Inspects PostHog Web analytics Live tab data — current users online, last-30-minutes pageviews, top pages, referrers, devices, browsers, countries, bot traffic, and the per-minute bot/users charts. Use when the user a…

  • /posthog:exploring-llm-clusters

    Investigate AI observability clusters — understand usage patterns in AI/LLM traffic, compare cluster behavior, compute cost/latency metrics, and drill into individual traces within clusters.

  • /posthog:exploring-llm-costs

    Investigate LLM spend in PostHog — total cost over time, cost by model, provider, user, trace, or custom dimension, token and cache-hit economics, and cost regressions. Use when the user asks "how much are we spending…

  • /posthog:exploring-llm-evaluations

    Investigate AI observability evaluations — `hog` (deterministic code-based), `llm_judge` (LLM-prompt-based), and `sentiment` (user-message sentiment). Find existing evaluations, inspect their configuration, run them a…

  • /posthog:exploring-llm-traces

    Debug and inspect LLM/AI agent traces using PostHog's MCP tools. Use when the user pastes a trace or session URL (e.g. /ai-observability/traces/<id> or /ai-observability/sessions/<id>), asks to debug a trace, figure o…

  • /posthog:exploring-mcp-intent-clusters

    Explore PostHog MCP intent clusters — agent goals grouped by semantic similarity, with each cluster's tool distribution and error rates, plus the tool-centric pivot (capture rate per intent, discovery rate against the…

Best for

  • Product Management

    Write feature specs, plan roadmaps, and synthesize user research faster.

    Verified1.8M installs
  • Product Tracking

    AI agent skills that make SaaS products data-ready for product analytics — from codebase scan to tracking plan to working instrumentation code.

    Verified266.1K installs
  • GrowthBook Skills

    Domain skills for the full GrowthBook feature flag, experimentation, and product analytics lifecycle.

    Not verified56.9K installs
  • Noibu

    Built for ecommerce, the Noibu plugin bridges the gap between customer experience and revenue by connecting Claude directly to your store's session, error…

    Verified47.6K installs
  • Maven Bio

    Evidence-backed BioPharma research workflows over Maven Bio's drug, trial, company, and deal knowledge graph.

    Not verified34.4K installs
  • Pendo Analytics

    Bring Pendo product analytics into Claude: account health, feature adoption, session replay lookup and triage, feedback analysis…

    Not verified20.1K installs

Topics

Before you add it