npx skills add ...
npx skills add posthog/skills --skill posthog-survey-creator
npx skills add posthog/skills --skill posthog-survey-creator
Create and configure surveys in PostHog through guided conversation. Use this skill when a user wants to create a survey, collect user feedback, run NPS/CSAT/CES/PMF surveys, gather product feedback, or understand user sentiment. The skill guides Product Managers through survey design by matching their goals to proven templates (or creating custom surveys), then configuring targeting and scheduling before creating via PostHog MCP tools.
Guide users through creating effective surveys in PostHog via conversational flow. Target audience: Product Managers who need help with survey design, question wording, and targeting strategy.
At the start of conversation or when needing PostHog data, attempt to use MCP tools:
posthog:event-definitions-list — Get available eventsposthog:properties-list — Get event or person propertiesposthog:surveys-get-all — Check existing surveysposthog:feature-flag-get-all — Get feature flags for linkingIf MCP works: Use data from PostHog and ask user to validate. If MCP fails/unavailable: Ask user directly about their PostHog setup.
When user asks to create a survey:
Wait for response.
Ask: "What do you want to learn from this survey?"
Listen for keywords to match templates:
| Keywords | Template |
|---|---|
| "recommend", "loyalty", "NPS" | NPS |
| "satisfied", "satisfaction" | CSAT |
| "easy", "effort", "friction" | CES |
| "disappointed", "product-market fit" | PMF |
| "why signed up", "jobs to be done" | JTBD |
| "price", "expensive", "value" | Pricing |
| "competitor", "alternatives" | Competitive Intel |
| "not using", "adoption" | Feature Adoption |
| "beta", "new feature" | Beta Feedback |
| "trial", "upgrade" | Trial Conversion |
| "new user", "intent" | Welcome Survey |
| "onboarding", "getting started" | Activation |
| "inactive", "churned", "win back" | Dormant User |
| "cancel", "leaving" | Churn/Exit |
| "support", "ticket" | Support CSAT |
After response: Present matching template OR explore custom, then proceed.
If customizing, ask ONE question at a time until questions are defined.
Once set, confirm:
This is where PostHog MCP becomes critical. Do not ask the user about events or properties if MCP is available.
First, ask the high-level targeting question:
Based on their answer, query PostHog and present options:
If they mention an action/event:
If they mention a user segment:
If they mention a page:
If checking for existing similar surveys:
If linking to feature flags:
If MCP tools fail or aren't available, ask the user directly:
Or for properties:
Ask:
If recurring, follow up:
Summarize and ask for final confirmation:
Wait for confirmation, then use posthog:survey-create with start_date: null (draft).
User: "I want to create a survey"
Claude: "I'll help you create a survey in PostHog. Here's what we'll figure out together:
Let's start. What do you want to learn from this survey?"
User: "I want to know if the new export feature is easy to use"
Claude: "Great! This is perfect for a Customer Effort Score (CES) survey.
Here's the standard approach:
Does this work, or would you like to customize it?"
User: "That works"
Claude: "Perfect. Now let's decide who should see this.
Who should see the survey? For example:
User: "People who have used the export feature"
Claude: [Queries posthog:event-definitions-list with q="export"]
"I found these export-related events in your PostHog:
export_completed (2.3k times this month)export_started (2.8k times this month)export_failed (145 times this month)Which event should trigger the survey? I'd recommend export_completed so users have finished the action."
User: "Yes, export_completed"
Claude: "Got it—survey shows after export_completed.
Should this survey show once per user, or repeat over time?"
User: "Once"
Claude: "Here's the survey I'll create:
Name: Export Feature CES Questions:
Audience: Users who trigger export_completed
Schedule: Once per user
I'll create this as a draft so you can review it in PostHog before launching.
Ready to create it?"
User: "Yes"
Claude: [Creates survey via posthog:survey-create with start_date: null]
"Done! Here's your survey: [link]
It's saved as a draft. You can preview it, adjust the styling, and launch when ready.
Anything else you'd like help with?"
User: "People who have used the export feature"
Claude: [MCP query fails or unavailable]
"I can't query your PostHog directly. Do you know the event name for when someone completes an export?
If not, we can target by URL instead (e.g., show on the exports page)."
User: "I think it's called export_done"
Claude: "Got it—I'll use export_done as the trigger event.
Should this survey show once per user, or repeat?"
See references/question-examples.md for:
"Here's what we have:
[list questions]
**Does this look right?**"