Prod Telemetry
UsefulSoftwareCo/executor
Query Executor's production telemetry — Axiom traces (executor-cloud dataset), prod Postgres via PlanetScale, PostHog product analytics — through the Executor MCP.
Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.
$ npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install spencerpauly/awesome-cursor-skills adding-analytics --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/adding-analytics .claude/skills/adding-analytics && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "adding-analytics" agent skill from https://github.com/spencerpauly/awesome-cursor-skills/tree/main/resources/adding-analytics into .claude/skills/adding-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-analytics", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/spencerpauly/awesome-cursor-skills/tree/main/resources/adding-analyticsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install spencerpauly/awesome-cursor-skills adding-analytics --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/resources/adding-analytics .agents/skills/adding-analytics && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "adding-analytics" agent skill from https://github.com/spencerpauly/awesome-cursor-skills/tree/main/resources/adding-analytics into .agents/skills/adding-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-analytics", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install spencerpauly/awesome-cursor-skills adding-analytics --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/resources/adding-analytics .cursor/skills/adding-analytics && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "adding-analytics" agent skill from https://github.com/spencerpauly/awesome-cursor-skills/tree/main/resources/adding-analytics into .cursor/skills/adding-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-analytics", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/spencerpauly/awesome-cursor-skills.git --path resources/adding-analytics--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install spencerpauly/awesome-cursor-skills adding-analytics --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/resources/adding-analytics .gemini/skills/adding-analytics && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "adding-analytics" agent skill from https://github.com/spencerpauly/awesome-cursor-skills/tree/main/resources/adding-analytics into .gemini/skills/adding-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-analytics", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install spencerpauly/awesome-cursor-skills adding-analyticsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/resources/adding-analytics .github/skills/adding-analytics && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "adding-analytics" agent skill from https://github.com/spencerpauly/awesome-cursor-skills/tree/main/resources/adding-analytics into .github/skills/adding-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-analytics", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install spencerpauly/awesome-cursor-skills adding-analytics --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/resources/adding-analytics .opencode/skills/adding-analytics && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "adding-analytics" agent skill from https://github.com/spencerpauly/awesome-cursor-skills/tree/main/resources/adding-analytics into .opencode/skills/adding-analytics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "adding-analytics", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
adding-analyticsAdd PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.
Adding Analytics is an agent skill from spencerpauly/awesome-cursor-skills. Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.
Its SKILL.md is about 670 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Data & Analytics, covering Product analytics. It works with PostHog, npm and Next.js. The repository describes itself as: A curated list of awesome skills for Cursor. The licence is CC0-1.0.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 99cd265. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmpipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
us.i.posthog.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
NEXT_PUBLIC_POSTHOG_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Adding Analytics loads about 670 tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 272 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
5. **Add `.env` variables** — prompt the user for their PostHog project API key and host:Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from spencerpauly/awesome-cursor-skills at commit 99cd265, republished under its CC0-1.0 licence (© spencerpauly). 272 words, ~670 tokens.
.claude/skills/adding-analytics/SKILL.md (or your agent's skills folder).Use this skill when the user asks to add analytics, event tracking, page views, feature flags, or session replay to a web application.
Detect the framework — check for next.config.*, vite.config.*, package.json scripts, or index.html to determine if this is Next.js, React (Vite/CRA), Vue, Svelte, or plain HTML.
Install the SDK
npm install posthog-jsnpm install posthog-js posthog-nodepip install posthognpm install posthog-nodeCreate a provider / init module
For Next.js App Router, create app/providers.tsx:
"use client";
import posthog from "posthog-js";
import { PostHogProvider as PHProvider } from "posthog-js/react";
import { useEffect } from "react";
export function PostHogProvider({ children }: { children: React.ReactNode }) {
useEffect(() => {
posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST ?? "https://us.i.posthog.com",
capture_pageview: false, // we capture manually for SPAs
});
}, []);
return <PHProvider client={posthog}>{children}</PHProvider>;
}Wrap {children} in the root layout with <PostHogProvider>.
For Pages Router, init in _app.tsx inside a useEffect.
Add page-view tracking — for SPAs, create a component that calls posthog.capture('$pageview') on route change using the framework's router events.
Add .env variables — prompt the user for their PostHog project API key and host:
NEXT_PUBLIC_POSTHOG_KEY=phc_...
NEXT_PUBLIC_POSTHOG_HOST=https://us.i.posthog.comAdd these keys to .env.example as well.
Add custom events — if the user specifies events to track (e.g. sign-up, purchase), add posthog.capture("event_name", { ...properties }) calls in the relevant handlers.
Feature flags (optional) — if requested, show how to use posthog.isFeatureEnabled("flag-name") or the useFeatureFlagEnabled hook.
Session replay (optional) — enable by adding session_recording: { maskAllInputs: false } to the init config if requested.
posthog-js to the Content Security Policy if the project has one.© spencerpauly, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in resources/adding-analytics of spencerpauly/awesome-cursor-skills.
Open the folder on GitHubat commit 99cd265
Adding Analytics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Adding Analytics this skillspencerpauly/awesome-cursor-skills | 841 | — | ~670 | Automated safety check: Notes | CC0-1.0 | |
| Prod TelemetryUsefulSoftwareCo/executor | 4.1k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Posthog Product Health Auditboardsesh/boardsesh | 163 | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Posthog Instrumentationlangfuse/langfuse | 35k | — | ~3.2k | Automated safety check: Pass | Custom licence | |
| Posthog Analyticsalinaqi/maggy | 707 | 1 repos | ~5.2k | Automated safety check: Notes | MIT | |
| Almost Paidnestyme/awesome-prompts | 149 | — | ~3.9k | Automated safety check: Pass | None |
UsefulSoftwareCo/executor
Query Executor's production telemetry — Axiom traces (executor-cloud dataset), prod Postgres via PlanetScale, PostHog product analytics — through the Executor MCP.
boardsesh/boardsesh
Mine Boardsesh's PostHog telemetry (error tracking, session recordings, product analytics) with a multi-agent workflow, then file verified, deduplicated, severity-labelled GitHub issues.
langfuse/langfuse
Product analytics with posthog. An agent skill from langfuse/langfuse.
alinaqi/maggy
PostHog analytics, event tracking, feature flags, dashboards
nestyme/awesome-prompts
Find the users who almost paid — saw the paywall, started checkout, ran out of free credits, let a trial lapse — size what they are worth, and turn them into a one-screen dashboard with a…
vercel/vercel-plugin
Set up and use feature flags and A/B tests with the Flags SDK (flags npm package) and Vercel Flags.
spencerpauly/awesome-cursor-skills
Generate or edit images using the OpenAI Image API (gpt-image-2).
spencerpauly/awesome-cursor-skills
Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically.
spencerpauly/awesome-cursor-skills
Solve a hard problem by trying multiple approaches in parallel using isolated git worktrees.
spencerpauly/awesome-cursor-skills
Keep iterating on code changes until the tests pass, the build succeeds, or linting is clean.
spencerpauly/awesome-cursor-skills
When GitHub Actions fails, fetch failing job logs and assign each failing job to a separate subagent that fixes its slice of the problem in parallel.
spencerpauly/awesome-cursor-skills
Explore a large codebase in parallel by launching multiple explore subagents that each investigate a different area simultaneously.
Categories
Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay. Adding Analytics is an agent skill from spencerpauly/awesome-cursor-skills. Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.
Adding Analytics fits situations like: tasks that involve Product analytics.
Run `npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a claude-code`. Or copy the skill folder (resources/adding-analytics in spencerpauly/awesome-cursor-skills) into .claude/skills/adding-analytics in your project. Claude Code loads it when a task matches its description.
Run `npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a codex`. Or copy the skill folder (resources/adding-analytics in spencerpauly/awesome-cursor-skills) into .agents/skills/adding-analytics in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add spencerpauly/awesome-cursor-skills --skill adding-analytics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adding-analytics, .gemini/skills/adding-analytics, .github/skills/adding-analytics and .opencode/skills/adding-analytics in your project.
Going by SKILL.md and its folder, Adding Analytics needs the command-line tools its instructions call (npm and pip) and credentials named NEXT_PUBLIC_POSTHOG_KEY. Our summary lists: Python 3; Node.js; A credential in NEXT_PUBLIC_POSTHOG_KEY.
SKILL.md names 1 domain. In commands or code: us.i.posthog.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Adding Analytics is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 670 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Adding Analytics: Prod Telemetry (UsefulSoftwareCo/executor, 4.1k stars), Posthog Product Health Audit (boardsesh/boardsesh, 163 stars), Posthog Instrumentation (langfuse/langfuse, 35k stars) and Posthog Analytics (alinaqi/maggy, 707 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
spencerpauly (a GitHub user) maintains it in spencerpauly/awesome-cursor-skills, which has 841 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on August 2, 2026.
Source: spencerpauly/awesome-cursor-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.