Agent skill · PostHog

PostHog LLM Analytics skill for Claude Code, Codex and Cursor

Instruments LLM calls so PostHog tracks cost, latency and usage across providers.

Officialname: llm-analytics-setup★ 75 (repo)pushed 2026-10-24MITSKILL.md on GitHubchecked 2026-11-07

What it does, in the publisher's words

PostHog LLM analytics for all supported providers

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 LLM Analytics

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 llm-analytics-setup

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

3 sections
  • Reference files
  • Key principles
  • Framework guidelines

Bundled files

37
  • references/anthropic.md
  • references/autogen.md
  • references/azure-openai.md
  • references/basics.md
  • references/calculating-costs.md
  • references/cerebras.md
  • references/cohere.md
  • references/crewai.md
  • references/deepseek.md
  • references/dspy.md
  • references/fireworks-ai.md
  • references/google.md
  • references/groq.md
  • references/helicone.md
  • references/hugging-face.md
  • references/instructor.md
  • references/langchain.md
  • references/langgraph.md
  • references/litellm.md
  • references/llamaindex.md
  • + 17 more

Loaded only when the instructions point to them.

Facts

Skill name
llm-analytics-setup
Publisher
PostHog (official)
Repo
PostHog/skills
License
MIT
Version
1.9.4
SKILL.md size
673 words, 69 lines
Bundled files
37, 37 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 ai & ml skills

FAQ

What does the llm-analytics-setup skill do?+

Instruments LLM calls so PostHog tracks cost, latency and usage across providers. In its own SKILL.md, PostHog describes it as: "PostHog LLM analytics for all supported providers"

How do I install the llm-analytics-setup skill?+

Run npx skills add PostHog/skills --skill llm-analytics-setup and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/llm-analytics-setup/SKILL.md; in Codex and Cursor in .agents/skills/llm-analytics-setup/.

Does PostHog LLM Analytics 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 LLM Analytics?+

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