Command Palette

Search for a command to run...

Назад к скиллам
скилл № 78862

root-cause-capa

Reads sensor history, inspection measurements, maintenance records and prior tickets onto one verified timeline, runs the pattern checks in code rather than…

БесплатноБез исполняемых скриптов
smartworldarafathот smartworldarafath★ 16 звёзд на GitHub

Установить root-cause-capa в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Root Cause and CAPA

The step between "we found a bad part" and "we fixed the reason." It is slow, expert work, and the reason it is slow is that the evidence sits in four systems that nobody looks at together.

Two rules govern everything below, and they are the whole character of the skill:

Compute, do not eyeball. Control limits, run rules and group comparisons are calculated in code and the skill interprets the computed result. A claim that a process "was drifting," asserted from looking at a data file, is the first thing a quality manager will test and the fastest way to lose the room.

Rank, do not conclude. The output is candidate causal chains with supporting and contradicting evidence. A confident wrong root cause is worse than a ranked list, because it closes the investigation and the fix fails.

Quick start

→ Assemble the evidence window; VERIFY time alignment first
→ Misaligned? Refuse to correlate. Say which conclusions still survive
→ Run the computed checks: SPC drift, clustering, maintenance correlation, recurrence
→ Build candidate chains, each link carrying its own evidence for and against
→ Rank by evidential strength; name what would confirm and what would kill each
→ Draft the 8D: D1-D5 and D7 populated, D6 and D8 left as placeholders
→ Material implicated? Raise the supplier-caused flag for Chain 5
→ Customer pack: redact as a reviewable diff, approved before anything leaves

Inputs

First, find the plant setup: from the task's own folder (never cd into the plugin), run python3 -I <this skill's folder>/../../shared/scripts/plant_setup.py find, do its setup_page_first step, then read the profile at profile_path and any rate at rates_path, per ../../shared/replies.md.

Input Source Form
The NCR ncr-writeup ../../shared/contracts/ncr.md
Sensor and process history for the window Historian export to M365 CSV
Inspection measurements across the run Quality system export to M365 CSV/XLSX
Prior NCRs and CAPAs M365 quality library Documents
Maintenance history on the asset CMMS, via data-consolidate's consolidated dataset Structured — connector-sourced when a CMMS connector is live, export-sourced otherwise
Work order, lot, material receipts The ERP. Infor M3 receipts carry no lot (../../shared/erp-connectors.md): the lot-to-receipt link is asked, and unverified until confirmed Connector
Supplier and PO for the material lot The ERP Connector
Process documents and work instructions M365 Documents
Source clocks, shift boundary, skew self-check ## Plant context Config

Two of these are read raw rather than from the consolidated dataset, and that is deliberate. The historian export because no workbook tab carries a high-frequency sensor trace, and the inspection export because a computed control chart needs the measurement as the gage wrote it, not as the ladder normalized it. On identity — which lot, which work order — the dataset still wins. view_file What this dataset is authoritative for in ../../shared/contracts/consolidated-dataset.md.

An NCR with no cited requirement blocks the 8D, the customer pack and the diff, with a pointer back to ncr-writeup. Nonconformance is always against a requirement. The investigation itself proceeds as a draft, per Step 5: ranked candidates and an evidence appendix, labelled draft and blocked from the 8D.

Carry the NCR's open questions forward, never close them by omission. A scope with qty_suspect_is_minimum is printed at least N in D2 and in the customer pack; an escape_possible NCR keeps its shipment check open in D3; a null qty_found stays null with its reason.


Workflow

Step 1 — Assemble the evidence window, and verify the clocks

Align sensor, inspection, production and maintenance data onto one zone-aware timeline around the event.

This is most of the work and the highest-risk step in the skill. Different systems record time differently, some in plant local and some in UTC, some zone-naive. view_file the per-source clocks and the measured skew from the ## Plant context block rather than assuming, then confirm against an event visible in two sources.

Where alignment cannot be verified, refuse to correlate and say which conclusions survive anyway — lot clustering, for instance, does not depend on the clocks. view_file reference/time-alignment.md.

A join is a join only when the data carries it. A work order is on the timeline as a data join when a record ties it to the lot, the part or the event — a lot number on its row, a receipt against it. A work order the NCR's free text names, with no such record, is on the timeline labelled "per NCR text, not a data join", and every conclusion resting on it says so. Calling three work orders a clean traceability join when the data ties the heat to one of them widens the suspect scope on an assertion

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • reference/8d-and-candidates.md
  • reference/pattern-checks.md
  • reference/redaction.md
  • reference/time-alignment.md

FAQ

Что делает скилл root-cause-capa?

Reads sensor history, inspection measurements, maintenance records and prior tickets onto one verified timeline, runs the pattern checks in code rather than by eye — SPC drift, clustering by lot, shift, operator, machine and tool change, correlation with a maintenance event — then proposes ranked candidate causal chains, each with the evidence for it, the evidence against it, and the test that would confirm or kill it. Drafts the 8D. Where the leading candidate points at purchased material, raises the supplier-caused flag that starts a sourcing action. Use when someone says "why did this happen," "root cause," "write the 8D," "investigate this nonconformance," "CAPA," or "the customer wants a corrective action report."

Как установить скилл root-cause-capa?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл root-cause-capa запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить root-cause-capa с