integration-nextjs-pages-router
Pass
Audited by Gen Agent Trust Hub on Apr 27, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill references official PostHog documentation and instructs the installation of standard packages like
posthog-jsandposthog-nodefrom public registries. - [COMMAND_EXECUTION]: Integration steps include standard development commands such as
npm installandnpm run devto set up and verify the environment. - [DATA_EXFILTRATION]: Analytics data collection is documented as sending events to configured PostHog endpoints (e.g.,
us.i.posthog.com). The skill explicitly instructs users to use environment variables for project tokens and avoid hardcoding credentials. - [SAFE]: The implementation patterns, such as using
instrumentation-client.tsfor initialization and providing a clear example project, align with official PostHog and Next.js integration guidelines.
Audit Metadata