Skip to main content
plugin

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add phuryn/pm-skills
/plugin install pm-data-analytics@pm-skills
Open on GitHub

What 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-skills

Step 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

Similar plugins

All plugins for Data and databases →
data-warehouse-experimentation rampstackco The data-warehouse-experimentation Claude Code skill explains how to run A/B tests in a data warehouse without vendor platforms. It covers user assignment, metric calculation, and statistical analysis. CX Codex +1 283installs cohort-analysis VoltAgent Community cohort-analysis — a Claude Code subagent that investigates retention trends, builds cohort matrices, and isolates product activation metrics from project data. CX Codex ★ 26,718repo stars monitor-retention gtmagents monitor-retention generates cohort retention dashboards, risk signal summaries, and customer save plays directly in Claude Code. CX Codex +1 ★ 450repo stars harvard-artifacts-data-engineering-analytics reason-machines harvard-artifacts-data-engineering-analytics builds an ETL workflow for Harvard Art Museums records and a Streamlit analytics dashboard. It fits projects that combine the museum API, Python, and SQL. CX Codex +1 2,000installs data-analytics-skills-claude reason-machines data-analytics-skills-claude — a collection of analytics skills for checking data, investigating metrics, and shaping dashboard specs. Use it when an analysis needs a clear workflow and shareable results. CX Codex +1 1,300installs data-analytics official Data Analytics Maintainers data-analytics is a plugin for Codex and ChatGPT that analyzes metrics, checks data quality, and creates reports, charts, and dashboards. It investigates metric changes, proposes KPIs, and estimates market size. CX Codex GP ChatGPT ★ 8,052repo stars

From the same set120

The whole set →
pm-ai-shipping The pm-ai-shipping plugin relocated to phuryn/product-engineering as the ai-shipping plugin, now with a release gate and independent review. Pointers here show where each skill and command went. ★ 28,211repo stars pm-toolkit pm-toolkit is a Claude Code plugin for product managers to draft NDAs and privacy policies, proofread product copy, and review resumes. ★ 28,211repo stars pm-marketing-growth pm-marketing-growth — a Claude Code plugin for marketing ideas, value propositions, North Star Metrics, product naming, and positioning work. ★ 28,211repo stars pm-go-to-market pm-go-to-market is a Claude Code plugin for planning a product’s route to market. Its commands build a launch plan, a growth strategy, or a competitive battlecard. ★ 28,211repo stars pm-market-research pm-market-research is a Claude Code plugin for studying users and markets through feedback, segmentation, personas, and competitor analysis. Its commands cover feedback analysis, competitor comparisons, and user research. ★ 28,211repo stars pm-execution pm-execution is a Claude Code plugin for product planning and execution, from PRDs and OKRs to sprint work and meeting notes. Its commands handle specific tasks across the product workflow. ★ 28,211repo stars pm-product-strategy pm-product-strategy — a Claude Code plugin with 12 skills and 5 commands for product managers. It structures business models, market scanning, pricing experiments, and product canvases. ★ 28,211repo stars pm-product-discovery pm-product-discovery — a Claude Code plugin for product discovery, covering ideas, experiments, assumption checks, feature ranking, and interview synthesis. ★ 28,211repo stars

Project sponsors

Companies that keep this analytics open