creating-surveys — Claude Code skill for PostHog surveys
The creating-surveys Claude Code skill creates PostHog surveys and forms through MCP. It activates for requests to build a survey or call survey-create.
no license 127 installs ★ 101 updated 2026-10-24
npx skills add PostHog/ai-plugin --skill creating-surveys -a claude-codeWhat creating-surveys does
The skill helps choose a survey format, define its audience, and prepare a draft for launch. It covers in-app NPS/CSAT popovers, persistent feedback widgets, hosted forms, and surveys rendered by application code.
Before launch, the agent reviews questions, display conditions, and configuration. In-app surveys need a supported SDK and surveys enabled in the PostHog project; an event trigger must already be instrumented in the app. An api survey definition does not add display or response-capture code to the application.
PostHog MCP tools handle survey operations. When editing a saved survey, existing question IDs must be preserved because they connect questions to collected responses.
What it helps with
- create a PostHog survey draft
- choose a feedback form format
- set audience and display conditions
- review a survey before launch
Example prompts for the agent
- Create an NPS survey in PostHog and prepare it for launch.
- Build a feedback form that people can open from a link.
- Set up a survey to appear after checkout is complete.
How to install creating-surveys
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-surveys -a claude-code2Manually: put the files in place
~/.claude/skills/creating-surveys/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/creating-surveys/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-surveys -a codex2Manually: put the files in place
.agents/skills/creating-surveys/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-surveys -a cursor2Manually: put the files in place
.cursor/skills/creating-surveys/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install PostHog/ai-plugin skills/creating-surveys2Manually: put the files in place
.github/skills/creating-surveys/SKILL.md1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-surveys -a gemini-cli2Platform CLI
gemini skills install https://github.com/PostHog/ai-plugin --path skills/creating-surveysManually: put the files in place
.devin/skills/creating-surveys/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill creating-surveys -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about creating-surveys
How do I install creating-surveys in Claude Code?
Run npx skills add PostHog/ai-plugin --skill creating-surveys -a claude-code. The skill file is placed at ~/.claude/skills/creating-surveys/SKILL.md.
What does creating-surveys do?
It creates and launches PostHog surveys through MCP. The skill guides survey format selection, audience setup, and draft review.
What does creating-surveys need to work?
It needs MCP access to PostHog. In-app delivery also requires surveys to be enabled in the project and a compatible SDK.