posthog
Skill by openai
Analyze product data and manage product tooling in PostHog from ChatGPT or Codex. It is for users who want analytics, HogQL queries, feature flags, experiments and dashboards through the connected PostHog app.
Install posthog
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/posthog/skills/posthog ~/.claude/skills/posthogRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/plugins/plugins/posthog/skills/posthog ~/.gemini/antigravity-cli/skills/posthogAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The posthog skill gives ChatGPT and Codex a structured workflow for working with PostHog, an all-in-one product platform. It assumes the bundled PostHog app is connected over OAuth, so the PostHog tools are available. The skill covers product analytics, HogQL and SQL queries, feature flags, experiments, error tracking, session replay, surveys, LLM analytics, dashboards, the data warehouse, and documentation search.
The skill follows a fixed order: connect the app, clarify the goal, discover the tools the app exposes, read data first, then make writes. For broad or destructive changes, such as toggling a flag in production, it asks the user to confirm before applying them. It is for users who work with PostHog data and product tooling from ChatGPT or Codex.
Written from the project's SKILL.md and checked against it.
What it can do
- Insights and queriesAnswers metric, trend, funnel, retention, path and lifecycle questions.
- HogQL and SQLRuns SQL-style queries over the events and persons schema.
- Feature flagsCreates, toggles and audits feature flags.
- ExperimentsLaunches A/B tests or reads out their results.
- Error trackingInvestigates bugs and exceptions through issues and events.
- Session replayHelps watch how users actually behave in the product.
- SurveysGathers qualitative feedback such as NPS.
- LLM analyticsTracks LLM cost, latency and usage.
- DashboardsBuilds or updates dashboards and insights.
- Documentation searchLooks up how PostHog features and syntax work.
What you need
- A PostHog account with access to the target project
- The PostHog app connected via OAuth
- ChatGPT or Codex
- A self-hosted PostHog instance, if you use one
Try asking
- Show signups by week this quarter
- Create a feature flag for the new checkout flow
- Summarize the results of the pricing experiment
Good to know
- Requires the PostHog app to be connected before tools appear.
- Some changes require elevated roles on the target project.
- Person properties on events reflect values at ingestion time, not current values.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/posthog/skills/posthog/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
LICENSE.txt1 KB -
SKILL.md5 KB -
agents/openai.yaml233 B
Alternatives to posthog
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
posthog: common questions
Does posthog need a PostHog account?
Yes. The PostHog app must be connected via OAuth, and you select the correct organization and project during that flow. Self-hosted users connect against their own instance.
Can the skill change feature flags and experiments?
Yes. The source says most product changes, such as flags, experiments and surveys, can be made directly. Broad or destructive changes require the user to confirm first.
Which assistants does posthog support?
The skill is written for ChatGPT and Codex. It assumes the bundled PostHog app is connected so its tools are available.
How do I install posthog?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is posthog free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is posthog safe to use?
It scores 84 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to posthog?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
