six-sigma-r — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited six-sigma-r (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Produce correct, runnable R code for Six Sigma and statistical-process-control problems. The skill is organized by task, not by statistical method — a user rarely asks for "a chi-square test", they ask "is my defect rate different from the target?". Map the request to the right technique, then emit code.
Different users want different output shapes. Before producing code, ask the user once per session (skip if the request already makes it obvious, or if the user has answered previously):
.R file with the user's data (or a clearly marked placeholder) baked in. Run-it-and-see.my_cpk(x, lsl, usl)-style definition the user can drop into their project and call on arbitrary data.png(filename="...") / dev.off() — good for scripts run from the terminal.If the user phrases the request as "write me a function that…", default to function + inline and don't ask. If they say "a script to analyze this CSV", default to script + file. Ask only when ambiguous.
Use base R graphics (plot, barplot, boxplot, hist, pie, abline, lines, points, segments) as the default. Base R covers every chart this skill produces — including horizontal bars (barplot(..., horiz=TRUE)), stacked bars (pass a matrix), and Pareto overlays. Base R has no external dependency and keeps scripts short.
Use ggplot2 only when the user explicitly asks for it, when they mention tidyverse / ggplot, or when a visualization genuinely benefits (e.g. grouped scatter with color aesthetics). When you do use ggplot2, load it explicitly with library(ggplot2) at the top.
The references below contain the working code templates. Read the one that matches the task before emitting code — don't guess formulas from memory, especially for control-chart limits and capability indices, where the constants matter.
If the user doesn't name a technique and instead describes a practical problem or a DMAIC phase, start with the method-selection references. They translate practical framings ("customers are complaining about cycle time", "we're in the Control phase", "I have pass/fail data per day") into a technique recommendation, then forward to the code-level reference.
| User's framing | Reference file |
|---|---|
| "Where do I start? We're in the Analyze phase." | references/method_by_dmaic.md |
| "Customers are complaining about X, what do we do?" | references/method_by_problem.md |
| "I have this kind of data — what fits?" | references/method_by_data_shape.md |
| Summary statistics, percentiles, population vs sample | references/descriptive_stats.md |
| Pareto chart, run chart, histogram, bar, box, scatter, pie | references/charts_visualization.md |
| Is my process in control? (SPC charts) | references/control_charts.md |
| Is my process capable? Cp, Cpk, Pp, Ppk, DPMO, sigma level | references/capability_sigma_level.md |
| Probability of k defects / k events | references/distributions.md |
| Relationship between two variables (cor / regression) | references/correlation_regression.md |
| Is A different from B? (hypothesis tests) | references/hypothesis_tests.md |
| Compare >2 group means (one-way ANOVA) | references/anova.md |
| "How many samples do I need?" (power analysis) | references/sample_size_power.md |
If a request spans multiple categories (common — e.g. "capability study on this data, then plot an I-MR chart"), read both references and stitch the outputs.
The three method_by_*.md references are selection aids — they recommend which technique to use and always forward to one of the lower references for the actual code template. Read the selection reference first when the user hasn't named a technique, then read the technique reference before writing code.
These shape correct code, not just pretty code:
n. For n = 1 (individuals data) use an I-MR chart, not X-bar R. references/control_charts.md has the constant tables.references/capability_sigma_level.md covers both.read.csv(..., header = TRUE) and reference columns by $name.pareto_defects.R, pchart_returns.R), not the data.p.value to alpha and print "reject H0" / "fail to reject H0". After a capability study, state whether Cpk >= 1.33 (typically-acceptable threshold). The user will copy the code into a report.# ---- replace with your data ---- banner so they know where to edit.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.