Skip to main content
skill CX Codex

statistics-math — Claude Code skill: stats and math for data

A coding-agent skill with Python recipes for statistics, probability, linear algebra and regression. Useful when you need to compute metrics or test a hypothesis.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pluginagentmarketplace/custom-plugin-data-engineer --skill statistics-math -a claude-code
Open on GitHub

What statistics-math does

The skill covers the math side of data work. It ships runnable Python examples: descriptive stats with NumPy, distributions and hypothesis tests with SciPy, matrix operations and SVD, regression through statsmodels and scikit-learn. The agent copies a working pattern instead of inventing one.

A/B testing gets its own section. There is a class with a two-sample t-test, a chi-square test and a two-proportion z-test that returns the p-value, effect size and a significance flag. The regression part compares OLS, Ridge and Lasso and prints R² and RMSE for each.

The skill is marked foundational, and that label holds up: without basic Python and NumPy the examples will not run. The tool table lists NumPy 1.26+, SciPy 1.12+, pandas 2.2+, statsmodels 0.14+ and scikit-learn 1.4+. Older pins in your project will break some calls, so check the environment before letting the agent edit code.

What it helps with

  • compute descriptive stats for a data array
  • test whether two samples differ
  • evaluate an A/B test from conversion counts
  • reduce dimensionality with SVD
  • compare OLS, Ridge and Lasso on the same data

Example prompts for the agent

  • compute mean, median and IQR for this array
  • run a t-test on the two samples and report the effect size
  • evaluate this A/B test: 120 conversions out of 1000 vs 150 out of 1000

How to install statistics-math

1Skills CLI (Vercel)

npx skills add pluginagentmarketplace/custom-plugin-data-engineer --skill statistics-math -a claude-code

2Manually: put the files in place

~/.claude/skills/statistics-math/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/statistics-math/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about statistics-math

How do I install statistics-math in Claude?

Run npx skills add pluginagentmarketplace/custom-plugin-data-engineer --skill statistics-math -a claude-code. The skill file lands at ~/.claude/skills/statistics-math/SKILL.md.

What does statistics-math do?

It gives the agent Python patterns for statistics, probability, linear algebra and regression, built on NumPy, SciPy, statsmodels and scikit-learn.

Which library versions does it need?

The tool table lists NumPy 1.26+, SciPy 1.12+, pandas 2.2+, statsmodels 0.14+ and scikit-learn 1.4+. Some examples fail on older versions.

Similar skills

All skills for Data and databases →

From the same set2

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor