PostHog agent skills for Claude Code, Cursor and RevampKey

5 ready-made playbooks that teach an AI agent how to do real PostHog work: which tools to call, what to check first, and when to stop and ask you.

Download RevampKey, freeI have it: connect PostHog

Get RevampKey to connect PostHog

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and PostHog is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials dashboard-consolidation experiment-results-review feature-flag-audit funnel-and-retention-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/posthog-$s/SKILL.md https://revampkey.com/marketplace/posthog/skills/$s/SKILL.md
done
Other tools

Connect PostHog once and all 5 skills install themselves and stay up to date. Mac, Windows and Linux.

All 5 PostHog skills

Each skill is one job. You ask in plain words and the agent loads the skill that matches, then follows its steps.

Start hereAsks before writing23 PostHog tools

Use PostHog safely with AI

Ground rules for working in PostHog: confirm the project first, read analytics freely, keep large results small, and ask before any change to saved insights, dashboards, flags or experiments.

Use it when

  • You are starting any analytics question and need to confirm the right project
  • You want to know which PostHog tools read data and which change it
  • A query returned nothing or was refused and you need to understand why

Tools it uses

  • insight-get
  • insights-get-all
  • insight-query
  • query-generate-hogql-from-question
  • query-run
  • dashboards-get-all
  • dashboard-get
  • feature-flag-get-all
  • feature-flag-get-definition
  • experiment-get
  • experiment-results-get
  • insight-create-from-query
  • insight-update
  • insight-delete
  • dashboard-create
  • dashboard-update
  • dashboard-delete
  • dashboard-reorder-tiles
  • add-insight-to-dashboard
  • create-feature-flag
  • update-feature-flag
  • delete-feature-flag
  • experiment-create
Example

Check our PostHog signup numbers for last month and tell me if anything looks wrong.

Which project should I use: Acme Web or Acme Mobile? Once you confirm, I will read the signup insight for last month, check its filters and date range, and show you the total alongside its breakdown. I will not change any saved dashboards while doing this.

Use in RevampKey

Get RevampKey to connect PostHog

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and PostHog is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials dashboard-consolidation experiment-results-review feature-flag-audit funnel-and-retention-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/posthog-$s/SKILL.md https://revampkey.com/marketplace/posthog/skills/$s/SKILL.md
done
Other tools
Read the full skill →
Asks before writing12 PostHog tools

Consolidate your PostHog dashboards with AI

Finds duplicate, dead and orphaned dashboards and insights in your PostHog project, then proposes merges, removals and tile reordering as a plan. It makes no changes until you approve each one.

Use it when

  • Your PostHog project has dozens of dashboards and nobody knows which matter
  • Two dashboards show almost the same chart under different names
  • You want the team's main dashboard to answer its key questions in the top few tiles

Tools it uses

  • dashboards-get-all
  • insights-get-all
  • dashboard-get
  • insight-get
  • insight-query
  • experiment-get-all
  • dashboard-reorder-tiles
  • add-insight-to-dashboard
  • dashboard-update
  • dashboard-delete
  • insight-update
  • insight-delete
Example

Our PostHog has 46 dashboards and most of them look like copies. Can you help me clean them up without breaking anything anyone uses?

I found 46 dashboards and 210 insights in the production project. 6 dashboards are copies of the Onboarding dashboard, and 3 of them share every series. I propose merging those into one and removing the 4 insights that sit on no dashboard and reference a finished 2023 campaign. Of the remaining 37 dashboards, none is a clear duplicate. Nothing has changed yet: tell me which of these to apply and I will run them one at a time.

Use in RevampKey

Get RevampKey to connect PostHog

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and PostHog is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials dashboard-consolidation experiment-results-review feature-flag-audit funnel-and-retention-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/posthog-$s/SKILL.md https://revampkey.com/marketplace/posthog/skills/$s/SKILL.md
done
Other tools
Read the full skill →
Read-only3 PostHog tools

Review PostHog experiment results with AI

Reads an experiment's results with a sceptical eye, checking the flag, sample size, run length and stability before calling a winner. It asks before starting, stopping or changing anything.

Use it when

  • An A/B test shows a green winner badge and you want to know if it is real
  • A test has been running a few days and you are tempted to stop it
  • You need to explain to stakeholders why a result is not yet decisive

Tools it uses

  • experiment-get
  • feature-flag-get-definition
  • experiment-results-get
Example

Is the checkout button experiment a real winner, or should we keep it running?

The variant shows a 6% lift in checkout conversion, but the interval runs from −2% to +14%, so it is not decisive yet. The test has 412 exposed users per variant, 58 and 49 conversions, and has run for 5 full days, short of one full weekly cycle. I recommend keeping it running for at least two more weeks. Nothing has been changed.

Use in RevampKey

Get RevampKey to connect PostHog

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and PostHog is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials dashboard-consolidation experiment-results-review feature-flag-audit funnel-and-retention-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/posthog-$s/SKILL.md https://revampkey.com/marketplace/posthog/skills/$s/SKILL.md
done
Other tools
Read the full skill →
Asks before writing6 PostHog tools

Audit PostHog feature flags with AI

Reviews your PostHog feature flags to find fully rolled out, forgotten or unused ones, checks each definition first, and proposes cleanup. It asks before changing or deleting any flag.

Use it when

  • A project has grown many flags and nobody knows which are still needed
  • Before a release cycle, to clear out finished launches
  • A teammate asks which flags are safe to delete

Tools it uses

  • feature-flag-get-all
  • feature-flag-get-definition
  • experiment-get
  • query-run
  • update-feature-flag
  • delete-feature-flag
Example

Audit the feature flags in our production project and tell me which ones we can safely remove.

I checked 48 of 212 flags, scoped to flags with no change in over six months. Of those 48, 9 are candidates to remove: 7 are fully launched with no linked experiment, and 2 are inactive with no recent evaluations in the last 30 days. I left 4 kill-switch flags as keep, and the other 35 need a closer look before any decision. I have not changed anything yet. Reply with the flags you want deleted and I will do them one at a time.

Use in RevampKey

Get RevampKey to connect PostHog

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and PostHog is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials dashboard-consolidation experiment-results-review feature-flag-audit funnel-and-retention-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/posthog-$s/SKILL.md https://revampkey.com/marketplace/posthog/skills/$s/SKILL.md
done
Other tools
Read the full skill →
Asks before writing6 PostHog tools

Funnel and retention analysis in PostHog

Turns a plain product question into a funnel or retention query, runs it on a narrow scope first, and checks sample size and event definitions before drawing conclusions. It asks before saving any insight or changing a dashboard.

Use it when

  • Where do users drop off in signup or onboarding?
  • Do users who try a feature come back the following month?
  • Did last week's release change conversion, or was it a tracking change?

Tools it uses

  • query-generate-hogql-from-question
  • query-run
  • insight-create-from-query
  • add-insight-to-dashboard
  • insight-update
  • insight-delete
Example

Show me how many new users reached first project creation within 7 days of signing up, split by platform.

Over the last 30 days, 1,240 users signed up and 782 created a project within 7 days, a 63% conversion. iOS converted at 71% (410 of 577) and web at 56% (372 of 663). The biggest loss is between signup and onboarding completion, not at project creation. The web gap is worth checking before concluding anything, since the sample is large enough but the window overlaps a release.

Use in RevampKey

Get RevampKey to connect PostHog

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and PostHog is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials dashboard-consolidation experiment-results-review feature-flag-audit funnel-and-retention-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/posthog-$s/SKILL.md https://revampkey.com/marketplace/posthog/skills/$s/SKILL.md
done
Other tools
Read the full skill →

Get all 5 without copying a file

RevampKey adds the skills when you connect PostHog, updates them for you and removes them when you disconnect.

Download RevampKey

How PostHog skills work

  1. Connect PostHog

    The PostHog MCP server gives the agent its tools.

  2. Ask in plain words

    “Our PostHog has 46 dashboards and most of them look like copies. Can you help me clean them up without breaking anything anyone uses?” Each SKILL.md says when it applies, so only the one that fits is loaded.

  3. Approve any change

    The agent calls the tools in order, checks its work, and shows you any change before it makes it.

How to install PostHog skills

In RevampKey the skills install themselves when you connect PostHog. In other tools each skill is one folder with a SKILL.md file, and you also need the PostHog MCP server connected there.

About 1 minute · nothing to copy

  1. Download RevampKey for Mac, Windows or Linux and sign in.

  2. Open Connectors and connect PostHog. All 5 skills come with it and stay up to date; they go away when you remove the connector.

  3. Ask in plain language, for example “Our PostHog has 46 dashboards and most of them look like copies. Can you help me clean them up without breaking anything anyone uses?”

  4. Download RevampKeyConnect PostHog · 1 click

    Get RevampKey to connect PostHog

    RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and PostHog is one click away with its skills already attached.

    Download RevampKey

    Not now? Use the skills in your current tool

    for s in essentials dashboard-consolidation experiment-results-review feature-flag-audit funnel-and-retention-analysis; do
      curl -fsSL --create-dirs -o .claude/skills/posthog-$s/SKILL.md https://revampkey.com/marketplace/posthog/skills/$s/SKILL.md
    done
    Other tools

RevampKey or copy the files?

In RevampKey

  • One click when you connect PostHog
  • Updated for you when a skill improves
  • Removed when you disconnect
  • The MCP server is set up for you
  • 800+ other connectors, same way
Download free

Copy into your project

  • One command per project
  • Run it again to get updates
  • You connect the PostHog MCP server yourself
  • Works in Claude Code, Cursor, Codex and VS Code
See the command

PostHog skills FAQ

What is a PostHog agent skill?

A SKILL.md file: a short playbook an AI agent loads when your request matches it. Each PostHog skill describes one job, which PostHog tools to use in which order, what to check first and when to stop and ask you.

Do the PostHog skills change anything on their own?

1 of the 5 only read. The others tell the agent to show you the change and wait for a yes before it creates, edits or deletes anything in PostHog.

Which tools can use these skills?

Any agent that reads the open Agent Skills format: Claude Code, Cursor, Codex, VS Code with Copilot and RevampKey. In RevampKey they are attached when you connect PostHog; elsewhere you copy the folders into your project or skills directory.

Do I need the PostHog MCP server too?

Yes. The skills tell the agent how to do the work; the PostHog MCP server gives it the tools to do it. The PostHog MCP setup guide covers every client.

PostHog MCP server setup · This page as Markdown

Put PostHog’s best workflows in your agent

Download RevampKey, connect PostHog and ask your first question in about a minute.

Download RevampKeyConnect PostHog · 1 click

Get RevampKey to connect PostHog

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and PostHog is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials dashboard-consolidation experiment-results-review feature-flag-audit funnel-and-retention-analysis; do
  curl -fsSL --create-dirs -o .claude/skills/posthog-$s/SKILL.md https://revampkey.com/marketplace/posthog/skills/$s/SKILL.md
done
Other tools