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.
npx skills add https://github.com/PostHog/skills --skill posthog-survey-creator
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:
"I'll help you create a survey in PostHog. Here's what we'll figure out together:
1. **Goal** – What do you want to learn?
2. **Questions** – What to ask and how
3. **Audience** – Who should see this?
4. **Timing** – When and how often?
Let's start with the goal. **What do you want to learn from this 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.
"Based on what you're describing, a **Customer Effort Score (CES)** survey would work well. It measures how easy a task was—lower effort correlates with higher retention.
The standard approach is:
- Q1: Rating (1-7) – 'How easy was it to [task]?'
- Q2: Open text (for low scores) – 'What made this difficult?'
**Does this approach work for you, or would you like to customize it?**"
"This sounds like a custom survey—I'll help you design one.
**What's the single most important thing you want to learn?**"
If customizing, ask ONE question at a time until questions are defined.
Once set, confirm:
"Here's what we have:
[list questions]
**Does this look right?**"
This is where PostHog MCP becomes critical. Do not ask the user about events or properties if MCP is available.
"Now let's decide who sees this survey.
**Who should see it?** For example:
- All users
- Users on a specific page
- A specific segment (paid users, new users, etc.)
- Users who completed a specific action"
If they mention an action/event:
[Use posthog:event-definitions-list to find matching events]
"I found these events in your PostHog that might match:
- `report_viewed` (1.2k times this month)
- `report_created` (340 times this month)
- `report_exported` (89 times this month)
**Which event should trigger the survey?**"
If they mention a user segment:
[Use posthog:properties-list with type="person" to find properties]
"I found these person properties you could filter by:
- `plan` (values: free, pro, enterprise)
- `signed_up_at`
- `company_size`
**Which property should we use, and what value?**"
If they mention a page:
"Got it—I'll target users on that page.
**What's the URL or URL pattern?** (e.g., '/reports' or contains 'dashboard')"
[Use posthog:surveys-get-all to check for duplicates]
"I noticed you already have an 'NPS Survey' running that targets the dashboard.
**Should I create a new one, or would you like to modify the existing survey?**"
[Use posthog:feature-flag-get-all if user mentions beta/feature flags]
"I found these feature flags that might be relevant:
- `new-reporting-feature` (currently 30% rollout)
- `beta-dashboard-v2` (10% rollout)
**Should the survey only show to users with one of these flags enabled?**"
If MCP tools fail or aren't available, ask the user directly:
"I don't have access to query your PostHog directly.
**Do you know the event name for when users [complete the action]?**
(If not, we can target by page URL instead)"
Or for properties:
"**What's the property name for [plan/segment] in your PostHog?**
(e.g., 'plan', 'subscription_tier', etc.)"
Ask:
"**Should this survey show once per user, or repeat over time?**
- Once is good for most feedback surveys
- Recurring works for NPS (e.g., every 90 days)"
If recurring, follow up:
"**How often should it repeat?**"
Summarize and ask for final confirmation:
"Here's the survey I'll create:
**Name:** [name]
**Questions:**
1. [Q1]
2. [Q2]
**Audience:** [targeting details]
**Schedule:** [once/recurring]
I'll create this as a draft so you can review and adjust the styling in PostHog before launching.
**Ready to create it?**"
Wait for confirmation, then use posthog:survey-create with start_date: null (draft).
"Done! Here's your survey: [link]
It's saved as a draft. From PostHog you can:
- Preview how it looks
- Adjust colors and styling
- Launch when you're ready
**Anything else you'd like help with?**"
1. User says: "Users who created a report"
2. Query: posthog:event-definitions-list with q="report"
3. Present matches: "I found `report_created`, `report_viewed`, `report_shared`. Which one?"
4. User confirms
1. User says: "Paid users only"
2. Query: posthog:properties-list with type="person"
3. Look for: plan, subscription, tier, pricing-related properties
4. Present: "I found a `plan` property with values free/pro/enterprise. Should we target `plan` is not `free`?"
5. User confirms
1. Before creating, query: posthog:surveys-get-all
2. Check for similar names or targeting
3. If found: "You have an existing [survey name] with similar targeting. Create new or modify existing?"
1. User mentions beta/feature rollout
2. Query: posthog:feature-flag-get-all
3. Present relevant flags: "I found `beta-feature-x`. Link the survey to this flag?"
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:
Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.
Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.
Efficient database search tool for bioRxiv preprint server. Use this skill when searching for life sciences preprints by keywords, authors, date ranges, or categories, retrieving paper metadata, downloading PDFs, or conducting literature reviews.
Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly works. Use for literature searches, research output analysis, citation analysis, and academic database queries.
Access USPTO APIs for patent/trademark searches, examination history (PEDS), assignments, citations, office actions, TSDR, for IP analysis and prior art searches.
Multiagent AI system for scientific research assistance that automates research workflows from data analysis to publication. This skill should be used when generating research ideas from datasets, developing research methodologies, executing computational experiments, performing literature searches, or generating publication-ready papers in LaTeX format. Supports end-to-end research pipelines with customizable agent orchestration.
Automated LLM-driven hypothesis generation and testing on tabular datasets. Use when you want to systematically explore hypotheses about patterns in empirical data (e.g., deception detection, content analysis). Combines literature insights with data-driven hypothesis testing. For manual hypothesis formulation use hypothesis-generation; for creative ideation use scientific-brainstorming.
Take posthog/posthog-survey-creator from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.