Install any skill in seconds. Free to start, no credit card required.
Get Started Free →alinaqi/posthog-analytics
PostHog analytics, event tracking, feature flags, dashboards
Passed 21 of 23 test cases with the skill, and 18 of 23 without it.
and 1 more in the full report
3 fixed18 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
What standard environment variable key names should be used for storing PostHog project keys and API host URLs in a Next.js frontend application versus a Node.js backend server?
| Checked | Without skill | With skill |
|---|---|---|
| Uses NEXT_PUBLIC_POSTHOG_KEY for Next.js client environment | Passed | Passed |
| Uses POSTHOG_API_KEY for Node.js backend environment | Missed | Passed |
The instructions your model reads when the skill loads.
For implementing product analytics with PostHog - event tracking, user identification, feature flags, and project-specific dashboards.
Sources: PostHog Docs | Product Analytics | Feature Flags
Measure what matters, not everything.
Analytics should answer specific questions:
Don't track everything. Track what informs decisions.
npm install posthog-js
// lib/posthog.ts
import posthog from 'posthog-js';
export function initPostHog() {
if (typeof window !== 'undefined' && !posthog.__loaded) {
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://us.i.posthog.com',
person_profiles: 'identified_only', // Only create profiles for identified users
test cases passed, vs 18 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.