process-control
Skill4 starsChanged 15 months agoApache-2.0View on GitHub
Build control charts, assess process stability and capability, and identify out-of-control conditions. Use for quality control and process monitoring.
In this repository17 other files it gives its agents.
- data-qualitySkill
- explore-dataSkill
- find-reference-dataSkill
- graph-data-exploreSkill
- anomaly-detectionSkill
- cluster-analysisSkill
- dimensionality-reductionSkill
- forecastSkill
- geospatialSkill
- optimizationSkill
- regressionSkill
- ab-testSkill
- analyze-correlationsSkill
- hypothesis-testSkill
- sampling-estimationSkill
- data-pipelineSkill
- research-pipelineSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Extract process data: Call describe_database to understand the data structure.
- Very specific: line 18
Compute control chart statistics: Call execute_query to calculate:
- Very specific: line 31
Detect anomalies: Call detect_anomalies on the measurement series as a complementary check.
- Distinctive: line 33
Assess process capability: If specification limits are available:
- Very specific: line 39
Test for shifts: If the process appears unstable, call analyze_hypothesis_test to compare measurements before and after suspected change …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Process Control
Assess process stability using statistical process control methods and determine process capability.
Steps
- Parse arguments. Extract the database name and measurement column from
$ARGUMENTS. The measurement column is the quality characteristic being monitored. - Extract process data. Call
describe_databaseto understand the data structure. Callexecute_queryto pull the measurement column along with any timestamp, batch, or subgroup identifier. Sort by time order. - Compute control chart statistics. Call
execute_queryto calculate:- Overall mean (center line)
- Within-subgroup variation (R-bar or S-bar) for control limits
- Upper and lower control limits (mean +/- 3 sigma)
- Subgroup means and ranges if subgroups exist
- Test for stability. Examine the data against Western Electric rules:
- Points beyond control limits
- 7+ consecutive points on one side of the center line (run)
- 6+ consecutive points trending in one direction
- 2 of 3 consecutive points beyond 2-sigma Report any violations with their location in the time series.
- Detect anomalies. Call
detect_anomalieson the measurement series as a complementary check. Compare algorithm-detected anomalies with control chart violations. - Assess process capability. If specification limits are available:
- Calculate Cp (potential capability): specification width / process width
- Calculate Cpk (actual capability): minimum distance to spec limit / half process width
- Estimate percentage out of specification
- Cp >= 1.33 and Cpk >= 1.0 are typical minimums
- Test for shifts. If the process appears unstable, call
analyze_hypothesis_testto compare measurements before and after suspected change points. Callanalyze_effect_sizesto quantify the magnitude of any shift. - Present results. Provide:
- Control chart summary: center line, control limits, violations found
- Stability assessment: in control or out of control, with evidence
- Capability indices (Cp, Cpk) if specifications were provided
- Identified assignable causes or patterns
- Recommendations: investigate specific violations, adjust process, or continue monitoring
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

