Guides exploration of $autocapture events captured by posthog-js to understand user interactions, find CSS selectors (especially data-attr attributes), evaluate selector uniqueness, query matching clicks ad-hoc, and create actions.
Install
npx skills add PostHog/posthog --skill exploring-autocapture-eventsnpx skills add PostHog/posthog --skill exploring-autocapture-events -a claude-code -gnpx skills add PostHog/posthog --skill exploring-autocapture-events -a codex -ggemini skills install https://github.com/PostHog/posthog.git --path products/product_analytics/skills/exploring-autocapture-eventsgh skill install PostHog/posthog exploring-autocapture-eventsgit clone --depth 1 https://github.com/PostHog/posthog /tmp/PostHog__posthog
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/PostHog__posthog/products/product_analytics/skills/exploring-autocapture-events ~/.claude/skills/exploring-autocapture-events # Claude Code
cp -R /tmp/PostHog__posthog/products/product_analytics/skills/exploring-autocapture-events ~/.agents/skills/exploring-autocapture-events # Codex, Cursor, Gemini CLI, Copilot, OpenCode