# creating-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.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 127 installs · ★ 101 repo stars
- Author: PostHog
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/PostHog/ai-plugin/tree/HEAD/skills/creating-surveys/SKILL.md
- Updated: 2026-10-24
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/creating-surveys

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill creating-surveys -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/creating-surveys/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/creating-surveys/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill creating-surveys -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/creating-surveys/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill creating-surveys -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/creating-surveys/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install PostHog/ai-plugin skills/creating-surveys
```

2. **Manually: put the files in place**
- File: `.github/skills/creating-surveys/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill creating-surveys -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/PostHog/ai-plugin --path skills/creating-surveys
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/creating-surveys/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add PostHog/ai-plugin --skill creating-surveys -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/PostHog/ai-plugin/tree/HEAD/skills/creating-surveys/SKILL.md

## When to use it
- create a PostHog survey draft
- choose a feedback form format
- set audience and display conditions
- review a survey before launch

## Example prompts
- 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.

## Similar
- [signals-scout-surveys](https://affpapa.org/en/nevibecode/skills/signals-scout-surveys.md) — skill · 319 installs
- [posthog-survey-creator](https://affpapa.org/en/nevibecode/skills/posthog-survey-creator.md) — skill · 225 installs
- [Weavely AI Forms & Surveys](https://affpapa.org/en/nevibecode/mcp/weavely-ai-forms-surveys.md) — MCP server · 2515 installs
- [voice](https://affpapa.org/en/nevibecode/skills/voice.md) — skill · 736 installs
- [run-survey](https://affpapa.org/en/nevibecode/commands/run-survey.md) — command · ★ 450 repo stars
- [customer-research](https://affpapa.org/en/nevibecode/skills/customer-research.md) — skill · 128400 installs

From the same set: [posthog/ai-plugin](https://affpapa.org/en/nevibecode/by/posthog/ai-plugin.md) — 82 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
