Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

breakdown-diagnosis

БесплатноБез исполняемых скриптовНе проверен

When a machine goes down, reads the sensor window before the failure, the asset's maintenance history including the free-text close-out notes technicians…

Anthropicот Anthropic★ 48 889 звёзд на GitHub

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

Breakdown Diagnosis

A machine is down. Every minute it stays down, the plant is not producing — and the largest component of MTTR is usually not the repair, it is working out what is wrong.

The technician has five sources of evidence available and time to assemble none of them. That gap is this skill.

Quick start

→ Capture the event: asset, time down, symptom, fault codes
→ SAFETY FIRST: if there is a safety implication, that leads. Always
→ Pull the sensor window; read shapes, not just threshold breaches
→ Mine maintenance history and the free-text close-out notes
→ Read the photos; consult the manual's troubleshooting tree
→ Rank candidate causes: evidence, cheapest discriminating test, expected fix
→ Cite the specific prior work orders behind each candidate
→ Draft the PM interval change that would stop it recurring
→ Emit the downtime record for the next production report

Safety leads. Always.

Where a failure has a safety implication, surface it first — before any diagnosis. Never let a diagnostic suggestion precede a safety flag.

Every diagnosis opens with this line, flagged or not: "Follow your plant's lockout procedure before anyone works on this machine. This is not a safety assessment." A false flag never removes it, and no step sends anyone to the machine above it.

A technician reading a ranked list of likely causes is already reaching for tools. If the honest answer is "this guard is defeated" or "that is a stored energy hazard," it has to arrive before the thing that sends them toward the machine, not underneath it.

This is a done-when condition, and it is the one non-negotiable ordering rule in the skill.

What counts as a safety implication. Set safety_flagged: true when the evidence shows any of these, and write which one, with its evidence, in safety_reason:

  • a seized or locked rotating part: spindle, chuck, bar feeder, conveyor
  • a defeated, bypassed or failed guard or interlock
  • stored energy: springs, counterweights, a part under load, a raised axis
  • hydraulic or pneumatic pressure that has to be bled before work
  • an electrical fault: a trip, a burnt smell, exposed or damaged wiring
  • a fault that was cleared by restarting rather than fixed ("ran off and restarted"), now repeating

When none of these is shown, the flag is false and safety_reason says "none of the safety triggers shown". Never set the flag on a feeling, and never leave it off because the diagnosis is uncertain: an uncertain stored-energy hazard is a safety implication.


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 breakdown event User report, or a maintenance work order Conversation / CMMS connector or maintenance export
Asset record and specs CMMS CMMS connector, else the asset register export
Maintenance history and close-out notes CMMS CMMS connector, else the maintenance export
Current PM plan for the asset CMMS CMMS connector
Sensor window around the failure Historian export to M365, scheduled or on-demand CSV
Technician photos M365, or uploaded in conversation Images
Manufacturer's manual M365 document library PDF
Production context — what was running data-consolidate output, or a direct MES export ../../shared/contracts/consolidated-dataset.md

Workflow

Step 1 — Capture the event

Asset, time it went down, the symptom as the technician describes it, and any fault codes the machine is showing. Take their words; do not translate a symptom into a cause at capture.

Step 2 — Pull the sensor window

A configurable period before the failure. Read excursions, trends and step changes, not just threshold breaches — a vibration reading that climbed for six hours without ever crossing its alarm limit is a bearing failing in plain sight.

Verify the window covers the event. If it does not, say so and do not reason from adjacent data as if it were the event.

Step 3 — Mine the maintenance history and close-out notes

Weight recency and symptom similarity. Search this asset, then siblings of the same model — a new machine with no history is not a dead end.

Run both searches as queries, in code, and keep what they returned. One filter on this asset's ID, one across every asset of the same model on the symptom's own words. The work orders each query returned go into the figures block (../../shared/computed-figures.md) by number. "This asset has eleven prior records" and "the sister machine has no bearing history" are both claims about a query result, and both have been wrong when written from memory: a count is printed from the filter, and an absence

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

Установить breakdown-diagnosis в Claude Code и Claude Desktop

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

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

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

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

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

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

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

reference/bad-actor-mode.mdreference/evidence-sources.md

FAQ

Что делает скилл breakdown-diagnosis?

When a machine goes down, reads the sensor window before the failure, the asset's maintenance history including the free-text close-out notes technicians actually wrote, photos of what they can see, and the manufacturer's troubleshooting tree — then ranks likely causes, each with its supporting evidence, the specific prior work orders behind it, and the cheapest test that would tell them apart. Surfaces any safety implication before any diagnosis. Drafts the PM interval change that would stop it recurring, and emits a downtime record for the next production report. Batch mode ranks bad actors across every asset. Use when someone says "the machine is down," "what's wrong with this machine," "why does this keep failing," "diagnose this," or "which machines are hurting us most."

Как установить скилл breakdown-diagnosis?

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

Скилл breakdown-diagnosis запускает скрипты?

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

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

Сравнить breakdown-diagnosis с