Mfg predictive maintenance

From asgard-ai-platform/skills · View interactive version

Mfg predictive maintenance is an AI agent skill from the GitHub repository asgard-ai-platform/skills. Design predictive maintenance strategies using sensor data, ML models for remaining useful life (RUL), and the P-F curve framework. Use this skill when the user needs to reduce unplanned downtime, transition from reactive to predictive maintenance, evaluate sensor/IoT investments, or estimate equipm

How to use this skill

Skill file

Predictive Maintenance

Framework

IRON LAW: Predictive > Preventive > Reactive (but each has its place)

Reactive (fix after failure): cheapest per-event, most expensive in downtime
Preventive (fix on schedule): prevents some failures, causes unnecessary maintenance
Predictive (fix based on condition): lowest total cost, requires sensor investment

Not ALL equipment justifies predictive maintenance. Apply to equipment where
unplanned downtime cost >> sensor investment cost.

Maintenance Strategy Comparison

| Strategy | When to Maintain | Advantage | Disadvantage | Best For |

|----------|-----------------|-----------|-------------|----------|

| Reactive | After failure | Zero upfront cost | Max downtime, safety risk | Non-critical, cheap-to-replace equipment |

| Preventive | On schedule (time/cycles) | Predictable, simple | Over-maintenance (replacing parts that still work) | Equipment with known wear patterns |

| Predictive | Based on condition data | Minimize downtime AND maintenance cost | Requires sensors, data infrastructure, models | Critical, expensive, failure-has-cascading-effect equipment |

P-F Curve (Potential Failure → Functional Failure)

Condition
  │
  │  ●─── P (Potential failure detected by sensor)
  │     ╲
  │      ╲  ← P-F Interval (time to act)
  │       ╲
  │        ● F (Functional failure — equipment stops)
  │
  └──────────────────── Time

The P-F interval is your window of opportunity. Detect at P, schedule
repair before F. The longer the P-F interval, the more planning time.

Sensor Data Types

| Data Type | What It Detects | Equipment |

|-----------|----------------|-----------|

| Vibration | Bearing wear, imbalance, misalignment | Rotating machinery (motors, pumps, turbines) |

| Temperature | Overheating, friction, electrical faults | Motors, transformers, bearings |

| Current/Power | Load changes, electrical degradation | Electric motors, drives |

| Acoustic | Leaks, cavitation, micro-cracks | Pressure systems, pipes, valves |

| Oil analysis | Wear particles, contamination | Gearboxes, hydraulic systems |

ML Models for RUL (Remaining Useful Life)

| Approach | Method | Data Required |

|----------|--------|-------------|

| Statistical | Weibull distribution, exponential degradation | Historical failure times |

| Classical ML | Random Forest, Gradient Boosting on sensor features | Labeled run-to-failure datasets |

| Deep Learning | LSTM, 1D-CNN on raw sensor time series | Large volumes of sensor data |

| Anomaly Detection | Isolation Forest, Autoencoder | Normal operation data only (no failure labels needed) |

Implementation Steps

Phase 1: Select Equipment (criticality analysis)

Phase 2: Install Sensors

Phase 3: Build Baseline

Phase 4: Develop Models

Phase 5: Operationalize

ROI Calculation

Annual Savings = (Unplanned downtime hours reduced × Downtime cost/hour)
               + (Preventive maintenance events avoided × Cost per event)
               - (Sensor + infrastructure + model development cost)

Output Format

# Predictive Maintenance Plan: {Equipment/Line}

## Equipment Criticality
| Equipment | Downtime Cost/hr | Failure Frequency | Cascading? | Priority |
|-----------|-----------------|-------------------|-----------|---------|
| {name} | ${X} | {X/year} | Y/N | H/M/L |

## Sensor Plan
| Equipment | Failure Mode | Sensor Type | P-F Interval |
|-----------|-------------|-------------|-------------|
| {name} | {mode} | {sensor} | {est. hours/days} |

## Projected ROI
| Metric | Before | After | Savings |
|--------|--------|-------|---------|
| Unplanned downtime | {hrs/year} | {hrs/year} | ${X}/year |
| Maintenance cost | ${X}/year | ${X}/year | ${X}/year |
| Sensor investment | — | ${X} one-time | Payback: {months} |

Gotchas

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.