Agent skill · PostHog

PostHog for Next.js (App Router)

Adds PostHog analytics to a Next.js App Router project.

Officialname: integration-nextjs-app-router★ 75 (repo)pushed 2026-10-24MITSKILL.md on GitHubchecked 2026-10-24

Install

The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs

npx skills add PostHog/skills --skill integration-nextjs-app-router

Pairs with the PostHog MCP server: the server gives the agent the tools, the skill teaches it how to use them.

More from PostHog/skills

Other data & analytics skills

FAQ

How do I install the integration-nextjs-app-router skill?+

Run npx skills add PostHog/skills --skill integration-nextjs-app-router and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/integration-nextjs-app-router/SKILL.md.

Which agents can use PostHog for Next.js (App Router)?+

Any agent that reads the Agent Skills format (SKILL.md): Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.

Who maintains PostHog for Next.js (App Router)?+

PostHog, the company or project behind it, in the PostHog/skills repo on GitHub, last pushed 2026-10-24.

Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. All agent skills · MCP servers