creating-surveys
Skill by PostHog
Creates and launches PostHog surveys through MCP, including popovers, hosted feedback forms, and headless surveys. Built for PostHog users who want an assistant to draft, review, and launch surveys.
Install creating-surveys
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/surveys/skills/creating-surveys ~/.claude/skills/creating-surveysRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/surveys/skills/creating-surveys ~/.gemini/antigravity-cli/skills/creating-surveysAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The creating-surveys skill guides an AI assistant through building a PostHog survey from a user's goal. It helps choose between popover, widget, hosted external_survey, and api survey types, then drafts questions, audience conditions, and targeting. Drafts are saved with survey-create, reviewed with survey-get, and changed with survey-update.
Before launch, the skill checks audience, appearance, and delivery requirements, then calls survey-launch and verifies the returned state. It also suggests response-rate practices such as event triggers, short surveys, and partial responses. For investigating an existing survey's delivery or responses, it points to the separate debugging-surveys skill. It is aimed at PostHog users who create surveys through MCP.
Written from the project's SKILL.md and checked against it.
What it can do
- posthog:survey-createSaves a draft survey from the resolved configuration.
- posthog:survey-getReads a saved survey so the user can review it.
- posthog:survey-updateChanges a fetched survey while preserving existing question IDs.
- posthog:survey-launchLaunches a reviewed survey and verifies the returned state.
- posthog:survey-statsChecks survey activity after launch.
- posthog:surveys-responses-listLists responses to check subsequent activity.
- posthog:surveys-get-allFinds an existing draft before retrying a survey creation.
What you need
- A PostHog project with surveys enabled
- Access to PostHog through MCP
- A supported PostHog SDK for in-app surveys
- Enterprise entitlement for white-labelling
Try asking
- Create a popover NPS survey for users who just completed checkout
- Review the draft survey I saved and check its audience before launch
- Check response activity for my launched onboarding survey
Good to know
- Hosted forms do not support in-app display conditions or targeting flags.
- Cohorts with behavioral filters cannot be used directly for survey targeting.
- Creation is not idempotent, so check for an existing draft before retrying.
- A saved survey does not prove that an in-app popup rendered.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/surveys/skills/creating-surveys/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/examples.md2 KB -
references/response-rates.md2 KB
Alternatives to creating-surveys
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
creating-surveys: common questions
Which survey type should I use?
Use popover for in-app feedback, widget for an always-available feedback button, external_survey for a shareable hosted form, and api for a custom form built in application code.
Does the skill launch surveys without asking?
It asks for approval before launch unless the user already asked for immediate launch. It confirms the audience and configuration first.
Can it investigate why a survey got no responses?
Not directly. For a survey that should have been shown, the skill points to the debugging-surveys skill.
How do I install creating-surveys?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is creating-surveys free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is creating-surveys safe to use?
It scores 86 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to creating-surveys?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
