pm-data-analytics — Claude Code plugin: features and setup
pm-data-analytics generates SQL queries, evaluates A/B test significance, and tracks user retention cohorts directly inside Claude Code.
MIT ★ 28,211 updated 2026-10-16
/plugin marketplace add phuryn/pm-skills
/plugin install pm-data-analytics@pm-skillsWhat pm-data-analytics does
This plugin equips Claude Code with three commands and matching skills for product analytics. It translates natural language prompts into working SQL. You can inspect retention and test hypotheses without leaving the terminal.
The /pm-data-analytics:write-query command targets BigQuery, PostgreSQL, and MySQL. For experiments, /pm-data-analytics:analyze-test validates sample sizes and suggests whether to ship, extend, or stop. No separate statistical calculators are required.
Tracking user cohorts is handled by /pm-data-analytics:analyze-cohorts. Accurate queries still require database schemas or sample data in your prompt.
What it helps with
- generate SQL queries for BigQuery, PostgreSQL, or MySQL from text prompts
- verify statistical significance and sample size sufficiency for experiments
- decide whether to ship, extend, or stop an active A/B test
- build user retention curves and inspect cohort engagement trends
Example prompts for the agent
- /pm-data-analytics:analyze-test Check conversion rates between control and variant groups from data.csv and recommend next steps
- /pm-data-analytics:write-query Generate a PostgreSQL query to calculate 30-day user retention grouped by signup week
- /pm-data-analytics:analyze-cohorts Inspect user onboarding logs and plot retention curves for the new checkout flow
How to install pm-data-analytics
Plugin marketplace
/plugin marketplace add phuryn/pm-skills/plugin install pm-data-analytics@pm-skillsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about pm-data-analytics
How to install pm-data-analytics in Claude Code?
Run both commands in sequence: first register the catalog via /plugin marketplace add phuryn/pm-skills, then install the plugin using /plugin install pm-data-analytics@pm-skills.
What does pm-data-analytics do?
It adds skills to Claude Code for calculating A/B test statistics, evaluating retention cohorts, and drafting SQL statements from plain English.
Which database dialects does write-query handle?
It generates syntax for PostgreSQL, MySQL, BigQuery, and other standard SQL engines.
Source text
pm-data-analytics · MIT
# pm-data-analytics Data analytics skills for PMs: SQL query generation and cohort analysis. Analyze user data, generate queries, and identify retention patterns. ## Skills (3) - **ab-test-analysis** — Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and actionable recommendations. - **cohort-analysis** — Perform cohort analysis on user engagement data. - **sql-queries** — Generate SQL queries from natural language descriptions. ## Commands (3) - `/pm-data-analytics:analyze-cohorts` — Perform cohort analysis on user data — retention curves, feature adoption, and engagement trends. - `/pm-data-analytics:analyze-test` — Analyze A/B test results — statistical significance, sample size validation, and ship/extend/stop recommendations. - `/pm-data-analytics:write-query` — Generate SQL queries from natural language — supports BigQuery, PostgreSQL, MySQL, and more. ## Author Paweł Huryn — [The Product Compass Newsletter](https://www.productcompass.pm) ## License MIT
© Paweł Huryn · MIT · phuryn/pm-skills