Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add LGDiMaggio/predictive-maintenance-mcp --skill gear-diagnosisgit clone --depth 1 https://github.com/LGDiMaggio/predictive-maintenance-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lgdimaggio/predictive-maintenance-mcp/gear-diagnosis)<a href="https://agentmods.dev/skills/lgdimaggio/predictive-maintenance-mcp/gear-diagnosis"><img src="https://agentmods.dev/badge/skills/lgdimaggio/predictive-maintenance-mcp/gear-diagnosis/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/lgdimaggio/predictive-maintenance-mcp/gear-diagnosis"><img src="https://agentmods.dev/badge/skills/lgdimaggio/predictive-maintenance-mcp/gear-diagnosis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.01314 |
| Opus 5.5 | $0.00033 | $0.00526 |
| Sonnet 5.5 | $0.00017 | $0.00263 |
| Haiku 4.5 | $0.00008 | $0.00131 |
Grade A, and why
gear-diagnosis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 18d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gear Fault Diagnosis
Detect gear faults through spectral analysis of vibration signals, focusing on gear mesh frequency (GMF) harmonics, sidebands, and modulation patterns. This workflow supports expert judgment — it never replaces it.
Prerequisite: The predictive-maintenance-mcp MCP server must be connected.
Background
Gear faults produce characteristic vibration patterns:
- Gear Mesh Frequency (GMF) = number_of_teeth x shaft_RPM / 60
- Healthy gears show GMF and low-level harmonics
- Faulty gears show increased GMF harmonics, sidebands spaced at the shaft frequency, and broadband noise
Workflow
Step 1 — Signal Selection and Parameters
Load the signal with load_signal(filepath="gearbox_run1.csv", signal_unit="g")
or pick a loaded one from list_signals(scope="memory"). Verify sampling rate
and metadata with get_signal_info(signal_id="<id>"). For raw binary files
(.bin/.raw/.dat), also declare sample_format and sampling_rate (or
provide a companion <stem>_metadata.json) — see the signal-management skill.
Gather from the user (do NOT guess):
- Shaft RPM (or shaft frequency in Hz)
- Number of teeth on the gear of interest
- Gear ratio (if analyzing a gear pair)
Calculate:
- GMF = teeth x RPM / 60
- Shaft frequency = RPM / 60
Step 2 — Statistical Screening
Call analyze_statistics(signal_id="<id>").
Gear fault indicators (screening only, never diagnostic alone):
- Kurtosis > 3: impulsive content (possible tooth damage)
- Crest Factor > 5: localized damage
- RMS increase: overall vibration energy rise
Step 3 — FFT Analysis
Call analyze_fft(signal_id="<id>").
Inspect the spectrum for:
| Pattern | Indicates |
|---|---|
| GMF with low harmonics, no sidebands | Normal gear operation |
| Increased GMF harmonics (2x, 3x, 4x GMF) | Gear wear or misalignment |
| Sidebands around GMF at shaft frequency spacing | Localized tooth damage |
| Broadband noise increase | Advanced wear or pitting |
| Ghost frequencies (non-harmonic peaks) | Manufacturing defects |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 18d ago Changed · +8 lines · +5 tokens per session b970138d42aa
- 3mo ago First seen · 129 lines · 78 tokens per session scan A cc894ab2d2b6
gear-diagnosis is a skill published in the GitHub repository LGDiMaggio/predictive-maintenance-mcp (122 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 1,314 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
gear-diagnosis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gear-diagnosisLGDiMaggio/predictive-maintenance-mcp | Skill | 122 | yesterday | MIT | A | 83 | Claude Code |
| offensive-wifiSnailSploit/Claude-Red | Skill | 12k | 15d ago | MIT | A | 183 | Claude Code, Codex |
| offensive-lorawan-sub-ghzSnailSploit/Claude-Red | Skill | 12k | 15d ago | MIT | A | 163 | Claude Code, Codex |
| offensive-wifi-reconSnailSploit/Claude-Red | Skill | 12k | 15d ago | MIT | A | 130 | Claude Code, Codex |
| offensive-zigbee-thread-matterSnailSploit/Claude-Red | Skill | 12k | 15d ago | MIT | A | 126 | Claude Code, Codex |
| offensive-z-waveSnailSploit/Claude-Red | Skill | 12k | 15d ago | MIT | A | 113 | Claude Code, Codex |
| offensive-iotSnailSploit/Claude-Red | Skill | 12k | 15d ago | MIT | B | 196 | Claude Code, Codex |