Agent skill · PostHog

PostHog for Next.js (App Router) skill for Claude Code, Codex and Cursor

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-11-07

What it does, in the publisher's words

PostHog integration for Next.js App Router applications

The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.

Install PostHog for Next.js (App Router)

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

Works with

Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.

What's in the SKILL.md

6 sections
  • Workflow
  • Reference files
  • Key principles
  • Framework guidelines
  • Identifying users
  • Error tracking

Bundled files

7
  • references/EXAMPLE.md
  • references/basic-integration-1.0-begin.md
  • references/basic-integration-1.1-edit.md
  • references/basic-integration-1.2-revise.md
  • references/basic-integration-1.3-conclude.md
  • references/identify-users.md
  • references/next-js.md

Loaded only when the instructions point to them.

Facts

Skill name
integration-nextjs-app-router
Publisher
PostHog (official)
Repo
PostHog/skills
License
MIT
Version
1.9.4
SKILL.md size
399 words, 51 lines
Bundled files
7, 7 docs
Repo stars
75 (as of 2026-10-24)
SKILL.md checked
2026-11-07

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

More skills from PostHog/skills

Related data & analytics skills

FAQ

What does the integration-nextjs-app-router skill do?+

Adds PostHog analytics to a Next.js App Router project. In its own SKILL.md, PostHog describes it as: "PostHog integration for Next.js App Router applications"

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; in Codex and Cursor in .agents/skills/integration-nextjs-app-router/.

Does PostHog for Next.js (App Router) work in Codex, Cursor and Copilot, or only Claude?+

It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: 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. License: MIT.

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