All authors

Claude Skills by PostHog
github.com/PostHog532 skills36 installs2,406 views
- Sending Transactional EmailsSet up PostHog transactional emails: one-off emails that code sends to one person, such as password resets, sign-in codes, magic links, verification emails, receipts, and invites. Use whenever the user works on transactional email or one of those emails, including the code that sends them today. Use it when they set one up, debug one, or ask to move one to PostHog. Covers offering PostHog transactional emails once, keeping the email in the app's code or designing it in PostHog, the verified s...Votes: 0GitHub stars: 41,325
- Analyzing Funnel CorrelationFind the events and person properties that correlate with funnel conversion or drop-off. Use when the user asks why people convert or drop off in a funnel, what converters do differently, which events or properties predict success or failure, or asks for "correlation analysis" on a funnel. Computes odds ratios with HogQL, because PostHog has no built-in funnel correlation view.Votes: 0GitHub stars: 41,325
- Designing Replay Vision ScannersDesigns a Replay Vision scanner that produces trustworthy observations: one visible question per scanner, a type chosen from the answer shape, a query that selects only sessions able to answer it, a prompt that demands on-screen proof and allows no or inconclusive, a model picked by the cost of a wrong answer, and a first-batch test pass. Sizing and the create call stay in creating-replay-vision-scanners.\nTRIGGER when: user wants to design, draft, or improve a Replay Vision scanner or its pr...Votes: 0GitHub stars: 41,325
- Review Hog Resolution Criteria GapsFixes should-fix and must-fix bugs and missing functionality. Leaves wording, documentation, and style suggestions to the author.Votes: 0GitHub stars: 41,325
- Review Hog Resolution Criteria SmallFixes small bugs, typos, wording, and outdated documentation. Leaves changes that need a design decision to the author.Votes: 0GitHub stars: 41,325
- Managing Self Driving SpendExplains and controls what Self-driving (Inbox) costs. Use when the user asks what they spent on Self-driving, which signal sources or scouts drive that spend, how spend changes day to day, how many reports a source or scout produced, or how to lower or cap the spend. Breaks spend down by signal source, scout, and day, links it to the reports it produced, recommends changes ranked by savings, and applies them only after the user confirms each one. Trigger terms: inbox spend, self-driving cost...Votes: 0GitHub stars: 41,325
- Prioritizing My InboxGive the current user a personal, ranked shortlist of the PostHog Inbox reports they are most likely to care about right now. Reads their stored personal ranking first, with one `inbox-reports-list` call (`view=for_you`, `sort=personal`), and keeps its order and reasons. Uses `inbox-reports-for-me` for a fresh or focused list, and builds a ranking by hand from the activity summary and the ranking model's lifts only when no stored ranking applies or the user asks for custom weights. Use when t...Votes: 0GitHub stars: 41,325
- Signals Scout First ReportRuns once after Self-driving activation to find one valuable, actionable finding in a project's existing product and warehouse data.Votes: 0GitHub stars: 41,325
- Signals Scout Unused FeaturesSignals scout for the parts of a product people barely use. Measures each clickable element and page against the reach of where it lives, gives each barely used one a likely cause, and reports the ones that are reachable and still not used.Votes: 0GitHub stars: 41,325
- Signals Scout WorkflowsSignals scout for PostHog workflows. Looks at the workflows whose owner asked for suggestions, reads each email step's per-version delivery metrics, and proposes one concrete change a person can approve, filed through the workflows suggestions API. It files no report and emits no signal: the suggestion on the workflow page is the output.Votes: 0GitHub stars: 41,325
- Transcribing Slack AudioTranscribe a Slack voice message or audio attachment (M4A, MP3, OGG/Opus, WAV, WebM) on the local machine with ffmpeg and whisper.cpp, so the agent can act on what the user said. Use when a Slack message carries an audio file, the prompt names Slack audio attachments, or the user asks what a voice message or recording says. Covers finding the file, running the bundled script, the duration and time limits, and how to report a failed transcription. Audio stays on the machine and is never sent t...Votes: 0GitHub stars: 41,325
- Implementing Api SurveysImplements a PostHog API (headless) survey inside the user's own codebase so it renders with their UI components and captures the exact events PostHog expects, then verifies the first response arrived. Use when asked to implement a survey, build a headless survey, build a custom survey UI, render a survey in my app, or wire up a survey of type `api` in a browser, server, or custom mobile UI. Covers the posthog-js event contract, server-side SDK capture, and post-implementation verification th...Votes: 0GitHub stars: 41,325
- Syncing Migrated Self Managed TablesTurn on syncing for warehouse tables that PostHog moved from self-managed tables to managed sources (Amazon S3, Google Cloud Storage, Azure Blob, Cloudflare R2 or File upload). Use when the user asks "what happened to my self-managed tables", "how do I sync my migrated bucket tables", "why does my table say it is waiting for its first sync", "will I be billed for these tables", or when a migrated table fails its first sync with access denied, "No files are available for table", or "PostHog di...Votes: 0GitHub stars: 41,325
- Building On Capture V1How to build on capture v1, PostHog's batch event intake API (`/i/v1/analytics/events`, `/i/v1/ai/events`). Use when sending events to capture from PostHog code, changing any capture code under `rust/capture/` (legacy or v1) or the `capture_internal` helpers, adding a per-event option (`event.options`) or a property that capture or ingestion must read, changing how Node ingestion or livestream applies capture `options`, changing the v1 request, batch, header or event schema, or checking wheth...Votes: 0GitHub stars: 41,325
- Creating Customer Analytics Account WidgetsCreates or changes a Customer analytics account widget: a tile on an account detail view, or an account detail tab. Use when adding a widget, tile, or tab to the account page, giving a widget saved settings or a settings editor, or reviewing a diff that touches accountViewComponents.tsx, AccountViewComponent, AccountViewTile, AccountViewTileEditorModal, or account_views.py. Account view widgets follow the composition pattern: each widget is one entry in the ACCOUNT_VIEW_COMPONENTS registry, a...Votes: 0GitHub stars: 41,325
- Developing The CliChanges PostHog's command line in this repo: hog, the TypeScript CLI in `hog/`, and its Rust helper hog-worker. posthog-cli, the Rust CLI in `cli/`, is deprecated and frozen. Use before writing, fixing, or reviewing code under `hog/` or `cli/`, including symbol and sourcemap uploads, dSYM, Hermes and ProGuard handling, releases, login and credentials, query, endpoints, and schema commands, a security fix in either CLI, or a request to change posthog-cli. Carries the freeze on `cli/` and the f...Votes: 0GitHub stars: 41,325
- Setting Up Ai VisibilitySet up AI visibility (AI citation tracking) for a PostHog project over the PostHog MCP: confirm the project's own site and brand, review competitor brands, choose which AI answer engines run and how often, then suggest and add the prompts and keywords to track. Use when the user asks to "set up AI visibility", "start tracking whether ChatGPT or Claude cite us", "track our brand in AI answers", "which prompts should we track?", "suggest keywords for AI visibility", or is onboarding a new site ...Votes: 0GitHub stars: 41,325
- Managing Llm PromptsCreate, version, release, and wire up LLM prompts with PostHog prompt management. Use when a user asks to create or edit a prompt in PostHog, move hardcoded prompts out of their code, change a prompt without a deploy, release or roll back a prompt version with a label such as production, or fetch prompts at runtime with the Python or Node SDK. Covers the order of the llma-prompt tools, safe edits of existing prompts, labels as the release step, the fetch code with a fallback, and how to confi...Votes: 0GitHub stars: 41,325
- Diagnosing Replay Capture GapsExplains why part of one session recording was not captured, by reading the exported rrweb JSON (`*-ph-recording.json`) and the SDK lifecycle and config events inside it. Applies when that export, or the `session_recording_data` context item that PostHog AI adds, is attached. With neither, use investigating-replay. Use when a user debugs one replay and asks why it starts late, stops early, only shows the first or landing page, stops after cookie consent or a page navigation, has blank stretch...Votes: 0GitHub stars: 41,325
- Diagnosing Replay RenderingExplains why a session recording plays back wrong by reading the recording's exported rrweb JSON (`*-ph-recording.json`) and its config events. Applies when that export, or the `session_recording_data` context item that PostHog AI adds, is attached. With neither, use investigating-replay. Use when a user debugs one replay and reports a black, white, or grey screen, a blank area, missing styles or unstyled pages, a blank canvas, map, WebGL, or WebGPU view, an iframe or embedded widget that doe...Votes: 0GitHub stars: 41,325
- Adding Dashboard V2 Custom ContentGuides putting a product's own React component in a dashboards v2 tile through the custom panel type: a content package in the product's folder (`defineContentPackage`), `createCustomPanel({ packages })`, the off-by-default opt-ins (`movable`, `duplicable`, `backgroundColor`, `menuActions`, `showOnInteractiveOnly`) and reading or changing the dashboard's filters. Use when migrating an existing component, banner, list or prompt from a product page into a dashboards v2 tile, adding a new custom...Votes: 0GitHub stars: 41,325
- Adding Dashboard V2 Panel TypesGuides adding or changing a panel type in dashboards v2 (`products/dashboards_v2/frontend/panels/`): the PanelSpec, definePanel, config schema, tile slots (Component, Loading, HeaderExtra, Footer), menuActions, allowedCustomizations and lazy loading, with the markdown type as the worked example. Use when creating a new kind of tile content for a dashboards v2 host, changing a panel type's config, or reviewing a diff under `frontend/panels/`. Not for v1 dashboard widgets (`manage-dashboard-wid...Votes: 0GitHub stars: 41,325
- Building Dagster JobsDesign, change, or review a Dagster job, op, asset, schedule, or sensor in PostHog (`posthog/dags/`, `products/*/dags/`). Use before adding a job or a fan-out (`DynamicOut`, `.map()`, `.collect()`), changing a schedule cadence or a sensor, splitting work into batches or shards, adding a retry policy or a failure hook, or when a Dagster job costs too much, runs too long, or strands state after a failure. Covers the Dagster+ billing model (every op execution costs credits), the shared helpers i...Votes: 0GitHub stars: 41,325
- Calling The Ai GatewayAdds or changes a monorepo caller of the Go AI gateway (PostHog/ai-gateway). Use when adding an LLM call from Django, a Temporal or Celery worker, or a sandbox agent; when changing a caller's gateway credential, base URL, headers, attribution, or model; or when adding a task profile whose sandbox runs must mint a gateway token. Covers the `posthog/llm/gateway_client.py` builders, `phs_`/`pha_` credentials with `llm_gateway:read`, the `X-PostHog-Properties` attribution header, `SANDBOX_AI_GATE...Votes: 0GitHub stars: 41,325
- Exporting Recordings To Customer S3Runs a paid, staff-triggered export of a team's session recordings into an S3 bucket the customer owns, with the export_recordings_to_s3 management command. Use when a customer needs recordings kept past retention (litigation, legal hold, forensics, compliance archive), when asked to quote, price, start, monitor or check an export of recordings to a customer's bucket, or when a customer asks how to play back an exported .phrec file. Covers the quote, the customer's IAM role and KMS setup, sta...Votes: 0GitHub stars: 41,325
- Replaying Failed Cdp RunsSends destination and workflow runs that failed during an incident again, across teams, with the staff "Replay failed CDP runs" admin console tool. Use after a CDP incident (expired integration tokens, an outage at a provider, a broken deploy) when failed destination or workflow runs should be sent again, when someone asks for a link to the replay tool with filters, or when checking whether a replay worked. Covers building the prefilled link, choosing the window and error filter, which runs n...Votes: 0GitHub stars: 41,325
- Shipping Api Changes To SdksTakes a finished PostHog feature that SDKs should expose, such as a new API endpoint, a new option on an existing call, or a new capability, and brings it to the docs, the sdk-specs contract, and a merged PR in every SDK it applies to. Use after the backend work is merged, when asked to document a feature and add it "to the SDKs" or "to sdk-specs".Votes: 0GitHub stars: 41,325
- Working On Ai ObservabilityGives the AI observability team's rules for layered code and for bridging it to older code. Use before a change or a review in `products/ai_observability/` that adds or changes a capability, a resource, a list, a background job or a component in the product's layers (mode B or C in the product's AGENTS.md), or that connects new code to old code. Applies to AI observability only. Trigger terms: AI observability, AIO, llma, LLM analytics.Votes: 0GitHub stars: 41,325
- Diagnosing Data Pipeline FailuresFinds PostHog data pipelines that are not delivering and says why: a destination or transformation that fails or was stopped by the platform, a batch export run that failed or a schedule that stalled, and a workflow that errors for the people it triggers on. Use when the user asks "why is my destination failing?", "is my webhook / Slack / CRM sync still sending?", "why did my batch export fail?", "is my export behind or missing data?", "why is my workflow failing?", "which pipelines are broke...Votes: 0GitHub stars: 41,325
- Measuring Support Inbox HealthMeasures how a PostHog support inbox (the Conversations product) is running, from its ticket events: the share of replies that breach SLA, the time to first response, whether new tickets outpace resolved ones, and which channel or team a change sits in. Use when the user asks "are we meeting our SLA?", "how fast do we answer support tickets?", "is our ticket backlog growing?", "which channel are the tickets coming from?", "are tickets going unassigned?", or wants support metrics compared with...Votes: 0GitHub stars: 41,325
- Adding Warehouse Person PropertiesSync 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 filters and breakdowns, surveys, session replay filters, workflows, and the person profile. Use when the user wants to "add a person property from my warehouse", "enrich people with Stripe/Postgres/Salesforce data", "put ARR or plan tier on my persons", "target a feature flag by a w...Votes: 0GitHub stars: 41,325
- Supporting Experiment TicketsHandle a PostHog Experiments support ticket as PostHog staff. Use when an experiment support ticket is pasted ("exposures aren't even", "one variant has no traffic", "too few exposures", "the numbers don't match my SQL") and the answer is a written reply to the customer. Covers how to parse the ticket, how to confirm the requester can reach the project, which staff access to use and in what order, and the customer-reply guide. The diagnosis itself is in the debugging-experiments skill.Votes: 0GitHub stars: 41,325
- Building Notebook AppsBuild or edit an interactive app from a PostHog notebook. Use when someone asks to build an app, turn analysis into an app, arrange notebook outputs into a presentation, add app controls or widgets, or publish an app layout.Votes: 0GitHub stars: 41,325
- Auditing Tracking CoverageCompares the events a project captures with what the team has set up to watch them, and finds the gaps: a busy event that no insight uses, a saved insight that points at an event that stopped or was renamed, a failure event with no alert, a dashboard that misses events on its own topic, a flow with no funnel, and an insight with no breakdown. Use when the user asks "what are we tracking but not looking at?", "which of our insights are broken or empty?", "what should we set up alerts for?", "a...Votes: 0GitHub stars: 41,325
- Qa TeamMulti-agent QA review team for code changes. This skill should be used when the user asks to "review my code", "run QA", "qa-team", "review this branch", "code review", "check my changes", or wants a comprehensive multi-perspective code review of the current branch's changes. Spawns parallel specialist agents (security, database, reliability, compatibility, data integrity, performance, frontend, copy) that independently review the diff and produce a converged report. Also includes two general...Votes: 0GitHub stars: 736
- Sending NotificationsHow to send real-time in-app notifications from PostHog backend code. Use when integrating notifications into a new feature, wiring up a notification source (alerts, comments, approvals, pipelines, issues), or choosing the right target type and priority for a notification.Votes: 0GitHub stars: 736
- Setting Feature Flags In StorybookUse when writing a Storybook story for a component gated on a feature flag — boolean flags or multivariate/experiment-arm variants. Covers the `featureFlags` story parameter and why imperatively setting flags renders the flag-off branch in visual-regression snapshots while passing in jest.Votes: 0GitHub stars: 736
- Auditing Warehouse Source HealthAudit 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 source/sync health before deciding where to dig in. Produces a prioritized report grouped by severity, with recommended next steps. For materialized-view health use `auditing-warehouse-v...Votes: 0GitHub stars: 736
- Diagnosing Failed Warehouse SyncsDiagnose 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 the warehouse looks wrong", or wants to troubleshoot a specific source or schema. Covers source-level vs schema-level failures, stuck Running states, credential and schema-drift errors, incremental-field misconfig, CDC prerequisite failures, and the cancel / reload / resync / dele...Votes: 0GitHub stars: 736
- Setting Up A Custom Rest SourceConnect an arbitrary REST API to the PostHog data warehouse as a Custom source by authoring a JSON manifest, with no per-source code. Use when the user points at an API that has no built-in PostHog connector — "import data from this REST API", "sync my internal API", "connect this API from its docs", "build a custom data warehouse source" — and gives a docs URL or a natural-language description of the endpoints. Walks through drafting the RESTAPIConfig manifest (auth — bearer, API key, HTTP b...Votes: 0GitHub stars: 736
- Setting Up A Data Warehouse SourceGuide the user through connecting a new data warehouse source, including databases, SaaS tools, and bucket files. Use when the user wants to "connect Stripe", "import data from Postgres", "import files from a bucket", "upload a file", "add a new data source", or pick sync methods for each table. This skill covers source-type discovery, credential validation, table discovery, per-table sync_type selection, and the final create call. Also covers picking a good prefix, what to do right after cre...Votes: 0GitHub stars: 736
- Tuning Incremental Sync ConfigChange the sync configuration of an existing data warehouse schema — switch sync_type, pick a different incremental_field, set primary_key_columns, choose cdc_table_mode, or change sync_frequency. Use when the user asks "switch my orders table from full refresh to incremental", "this table is syncing too slowly / too frequently", "I need to pick a different incremental column", "set up CDC for this Postgres table", or when diagnosis of a failing sync pointed to an incremental-field or PK misc...Votes: 0GitHub stars: 736
- Assessing HeatmapsAssesses 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 improvements.\nTRIGGER when: user asks what a heatmap shows, why people aren't clicking something, where users rage-click, how far they scroll, what to change on a page based on heat...Votes: 0GitHub stars: 736
- Managing SubscriptionsCreate and manage scheduled PostHog subscriptions for insight snapshots, dashboard snapshots, and AI prompt reports. Use when a user wants recurring email, Slack, or Microsoft Teams delivery; an AI summary; delivery history; schedule or recipient changes; a test delivery; pause, resume, or deletion; or help with subscription permissions, limits, billing, and failures. Use product alerts when delivery must depend on a threshold or anomaly.Votes: 0GitHub stars: 736
- Migrating From FivetranMove a user's Fivetran connectors into PostHog data warehouse sources. Use when the user says "migrate from Fivetran", "import my Fivetran setup", "replace Fivetran with PostHog", or asks what of their Fivetran account PostHog can take over. Reads the Fivetran account with a read-only key or through the user's Fivetran MCP server, reports which connections move as they are, which move with caveats, and which PostHog cannot take yet, then creates the PostHog sources one at a time while the use...Votes: 0GitHub stars: 736
- Syncing Migrated Self Managed TablesTurn on syncing for warehouse tables that PostHog moved from self-managed tables to managed sources (Amazon S3, Google Cloud Storage, Azure Blob, Cloudflare R2 or File upload). Use when the user asks "what happened to my self-managed tables", "how do I sync my migrated bucket tables", "why does my table say it is waiting for its first sync", "will I be billed for these tables", or when a migrated table fails its first sync with access denied, "No files are available for table", or "PostHog di...Votes: 0GitHub stars: 736
- Adding Warehouse Person PropertiesSync 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 filters and breakdowns, surveys, session replay filters, workflows, and the person profile. Use when the user wants to "add a person property from my warehouse", "enrich people with Stripe/Postgres/Salesforce data", "put ARR or plan tier on my persons", "target a feature flag by a w...Votes: 0GitHub stars: 81
- Analyzing Ai CitationsAnswer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an Exa retrieval baseline) cite the project's site for its tracked prompts, which topics and engines cite it least, which domains get cited instead, and whether citations line up with Google Search Console rankings and AI referral or AI crawler traffic. Use when the user asks "are we cited by AI?", "which prompts never cite us?", "citation rate by topic or engine", "wh...Votes: 0GitHub stars: 81
- Analyzing Experiment Session ReplaysAnalyze 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 quantitative experiment results. Also covers pairing the observed behavior with a linked survey when the user wants qualitative feedback beyond what recordings show.Votes: 0GitHub stars: 81
- Auditing Warehouse Source HealthAudit 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 source/sync health before deciding where to dig in. Produces a prioritized report grouped by severity, with recommended next steps. For materialized-view health use `auditing-warehouse-v...Votes: 0GitHub stars: 81