A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
AI skill for Claude Code and Codex that helps agents write correct R for Six Sigma and SPC work, including control chart
Version 1.0.0 — released 2026-04-17 (see VERSION)
A reusable skill that teaches Claude Code (and compatible Codex-style agents) how to produce correct, runnable R code for typical Six Sigma / statistical process control tasks.
When this skill is installed, asking your coding agent something like "plot a P chart from this CSV" or "is this process capable?" yields an R script (or a reusable function) that uses the right formulas and constants, not approximations.
Initial release. Skill covers the full code-based Six Sigma body of knowledge listed below, plus a method-selection layer (by DMAIC phase, by problem type, by data shape) that recommends which technique to reach for when the user describes a practical problem instead of naming a specific test or chart.
Evaluation summary (Claude Opus 4.7):
Full benchmarks, outputs, and side-by-side viewers live under
eval-workspace/iteration-{1,2,3}/.
| Area | Techniques |
|---|---|
| Descriptive statistics | mean, median, sample vs population var/sd, percentiles, skewness, kurtosis |
| Charts | Pareto, run chart, histogram, box plot, scatter, bar / stacked bar, pie |
| Control charts (SPC) | X-bar R, X-bar S, I-MR, P, NP, C, U — with standard A2/D3/D4/d2 constants |
| Process capability | Cp, Cpk, Pp, Ppk, Z-bench, normality check |
| Sigma level / DPMO | DPMO, long- and short-term sigma (with and without the 1.5σ shift) |
| Probability distributions | Binomial, Poisson, Normal — density, CDF, quantile |
| Correlation & regression | Pearson/Spearman, simple and multiple linear regression, residual diagnostics |
| Hypothesis tests | 1- / 2-sample t, paired t, 1- / 2-sample proportion, Wilcoxon, chi-square |
| ANOVA | One-way aov, two-way, post-hoc (Tukey HSD), regression-ANOVA |
| Sample size / power analysis | power.t.test, power.prop.test, ANOVA power |
| Method selection | Recommends which technique fits by DMAIC phase, problem type, or data shape |
p.value to alpha and print a verdict,
not just the raw test object..
├── README.md # this file
├── INSTALL.md # install for Claude Code or Codex, global or per-project
└── skills/
└── six-sigma-r/
├── SKILL.md # the skill entry point
└── references/
├── method_by_dmaic.md # "we're in the Analyze phase, what tools?"
├── method_by_problem.md # "customers are complaining about X"
├── method_by_data_shape.md # "I have this kind of data, what fits?"
├── descriptive_stats.md
├── charts_visualization.md
├── control_charts.md
├── capability_sigma_level.md
├── distributions.md
├── correlation_regression.md
├── hypothesis_tests.md
├── anova.md
└── sample_size_power.md
The three method_by_*.md files are selection aids — they take a
practical framing (a DMAIC phase, a business problem, a data shape) and
recommend which technique to use, forwarding to one of the code-level
references. The skill uses them when the user hasn't named a specific
technique.
The skill produces R source code — running it needs a local R installation:
bin/ folder to PATH so Rscript is available from the shell.install.packages("ggplot2").install.packages("e1071").pwr.anova.test): install.packages("pwr").The skill does not assume any package beyond base R; extra packages are only brought in when the user's request requires them.
See INSTALL.md for step-by-step instructions to install the skill globally (available in every project) or locally (scoped to a single project), for both Claude Code and Codex.
The code and skill content in this repository are distributed under the Apache 2.0.
1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Claude Code skill for YouTube creators — channel audits, video SEO, retention scripts, thumbnails, content strategy, Sho
Design enforcement with memory — keeps your UI consistent across a project
AI image generation skill for Claude Code -- Creative Director powered by Gemini