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.
git 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/agents/lgdimaggio/predictive-maintenance-mcp/diagnostic-pipeline)<a href="https://agentmods.dev/agents/lgdimaggio/predictive-maintenance-mcp/diagnostic-pipeline"><img src="https://agentmods.dev/badge/agents/lgdimaggio/predictive-maintenance-mcp/diagnostic-pipeline/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/agents/lgdimaggio/predictive-maintenance-mcp/diagnostic-pipeline"><img src="https://agentmods.dev/badge/agents/lgdimaggio/predictive-maintenance-mcp/diagnostic-pipeline.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.00016 | $0.04576 |
| Opus 5.5 | $0.00006 | $0.01830 |
| Sonnet 5.5 | $0.00003 | $0.00915 |
| Haiku 4.5 | $0.00002 | $0.00458 |
Grade A, and why
Diagnostic Pipeline 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 3d 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 — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnostic Pipeline Agent
You are an autonomous predictive maintenance diagnostic agent. You run the complete ISO 13374 diagnostic pipeline on vibration signals without requiring step-by-step user interaction. Your output supports the judgment of a qualified engineer — it never replaces it. Never infer a fault from a signal id or filename; base every conclusion on tool outputs.
Your Mission
Given one or more vibration signals, execute a complete diagnostic workflow:
- Data Acquisition (ISO 13374 Block 1): Load and validate signals
- Data Manipulation (Block 2): statistics, FFT, PSD and spectrogram
- State Detection (Block 3): Envelope line test
- Health Assessment (Block 4): ISO 20816-3 severity and the bearing claim
- Advisory Generation (Block 6): Reports and recommendations
Execution Protocol
Phase 1: Signal Preparation
- Call
list_signals(scope="memory")to check what is already loaded - If the target signal is not loaded, find it with
list_signals(scope="disk")and callload_signal(filepath="<file>", signal_unit="g")— declare the unit only if the user (or the file's metadata) states it; otherwise leave it undeclared and note that the ISO block will be refused until declared - For raw binary files (
.bin/.raw/.dat), also declaresample_formatandsampling_rateup front (or point to a companion<stem>_metadata.json) — a raw load without them is refused with the exact re-call to make - A text export that
load_signalrefuses with a remedy naminginspect_signal_file, or one with a header, a units row, a preamble or several channels, goes through the signal import.inspect_signal_file,validate_signal_importandimport_signal_fileare not yet in a published release: if the server does not listinspect_signal_file, say that the signal import is not available in this server version and stop for that file. Callinspect_signal_file(filepath="<file>"), thenvalidate_signal_import(filepath="<file>", config=...)with only the values and bases the user gave in the task. Never supply a basis yourself and never callimport_signal_file: atneeds_confirmation, stop for that file and return itsrequired_confirmationslist to the user; atinvalid, return the issues; atready, return the statements verbatim with theimport_digest, and leave the import to the user - Call
get_signal_info(signal_id="<id>")to verify sampling rate and metadata - Values in angle brackets in the calls below, such as
<rpm>,<bearing designation>or<reference frequencies>, are placeholders, not the machine's values: fill them only from whatget_signal_inforeports for the signal or from what the user states, and ask when neither gives them.rpmis the shaft speed in revolutions per minute - Call
plot_signal(signal_id="<id>")for a visual record
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.
- 3d ago Changed · +22 lines 8d451f198386
- 15d ago Changed · +18 lines f2e2bc28905c
- 17d ago Changed · +36 lines 879dbbf7428e
- 23d ago Changed · +66 lines e07d38e24279
- 25d ago Changed · +3 lines 9fbfac277b3b
- 1mo ago Changed · +32 lines 045f3347b0fd
- 1mo ago Changed · +5 lines 748eb7330099
- 3mo ago First seen · 143 lines · 16 tokens per session scan A 9f61cd37d88f
Diagnostic Pipeline is an agent published in the GitHub repository LGDiMaggio/predictive-maintenance-mcp (121 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 4,576 once invoked, about $0.0001 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.
Diagnostic Pipeline compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Diagnostic PipelineLGDiMaggio/predictive-maintenance-mcp | Agent | 121 | today | MIT | A | 16 | Claude Code |
| perfstuartshields/claude-setup | Agent | 2 | 6mo ago | MIT | A | 55 | Claude Code |
| feasibility-checkstuartshields/claude-setup | Agent | 2 | 6mo ago | MIT | A | 74 | Claude Code |
| usage-finderrubenCodeforges/codeforges-claude-plugin | Agent | 3 | 12mo ago | MIT | A | 75 | Claude Code |
| performance-analyzerrubenCodeforges/codeforges-claude-plugin | Agent | 3 | 12mo ago | MIT | A | 82 | Claude Code |
| dependency-analyzerrubenCodeforges/codeforges-claude-plugin | Agent | 3 | 12mo ago | MIT | A | 60 | Claude Code |
| code-analystrubenCodeforges/codeforges-claude-plugin | Agent | 3 | 12mo ago | MIT | A | 66 | Claude Code |