Implements a PostHog API (headless) survey inside the user's own codebase so it renders with their UI components and captures the exact events PostHog expects, then verifies the first response arrived. Use when asked to implement a survey, build a headless survey, build a custom survey UI, render a survey in my app, or wire up a survey of type `api` in a browser, server, or custom mobile UI.
安装
npx skills add PostHog/ai-plugin --skill implementing-api-surveysnpx skills add PostHog/ai-plugin --skill implementing-api-surveys -a claude-code -gnpx skills add PostHog/ai-plugin --skill implementing-api-surveys -a codex -ggemini skills install https://github.com/PostHog/ai-plugin.git --path skills/implementing-api-surveysgh skill install PostHog/ai-plugin implementing-api-surveysgit clone --depth 1 https://github.com/PostHog/ai-plugin /tmp/PostHog__ai-plugin
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/PostHog__ai-plugin/skills/implementing-api-surveys ~/.claude/skills/implementing-api-surveys # Claude Code
cp -R /tmp/PostHog__ai-plugin/skills/implementing-api-surveys ~/.agents/skills/implementing-api-surveys # Codex, Cursor, Gemini CLI, Copilot, OpenCode