Diagnostic Pipeline

Diagnostic Pipeline is an agent for Claude Code from LGDiMaggio/predictive-maintenance-mcp. It costs 16 tokens per session (4,576 once invoked), scanned A, original, MIT.

An automated machinery-diagnosis agent that follows ISO 13374, a standard for organising condition-monitoring and diagnostic processes.

In plain words
What is it for?
Use it for broad machinery diagnostics from initial data review through the diagnostic process.
Why use it?
It helps structure an end-to-end diagnosis without requiring you to manage each step yourself.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the predictive-maintenance plugin — 9 skills, 3 commands, 2 agents shipped together

Good fit Use it for broad machinery diagnostics from initial data review through the diagnostic process.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lgdimaggio/predictive-maintenance-mcp/diagnostic-pipeline
Install

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.

Clone the repo
git clone --depth 1 https://github.com/LGDiMaggio/predictive-maintenance-mcp

Made for: Claude Code.

Or install predictive-maintenance, the plugin that ships this one along with the rest of its 9 skills, 3 commands, 2 agents.

Wrote 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.

agentmods badge for Diagnostic Pipeline

README.md
[![agentmods](https://agentmods.dev/badge/agents/lgdimaggio/predictive-maintenance-mcp/diagnostic-pipeline/github.svg)](https://agentmods.dev/agents/lgdimaggio/predictive-maintenance-mcp/diagnostic-pipeline)
Your own site
<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.

agentmods 80×15 button for Diagnostic Pipeline

Your own site · 80×15
<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>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3d ago against content hash 8d451f198386, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

plugin/agents/diagnostic-pipeline.md · 325 lines

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:

  1. Data Acquisition (ISO 13374 Block 1): Load and validate signals
  2. Data Manipulation (Block 2): statistics, FFT, PSD and spectrogram
  3. State Detection (Block 3): Envelope line test
  4. Health Assessment (Block 4): ISO 20816-3 severity and the bearing claim
  5. 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 call load_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 declare sample_format and sampling_rate up 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_signal refuses with a remedy naming inspect_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_import and import_signal_file are not yet in a published release: if the server does not list inspect_signal_file, say that the signal import is not available in this server version and stop for that file. Call inspect_signal_file(filepath="<file>"), then validate_signal_import(filepath="<file>", config=...) with only the values and bases the user gave in the task. Never supply a basis yourself and never call import_signal_file: at needs_confirmation, stop for that file and return its required_confirmations list to the user; at invalid, return the issues; at ready, return the statements verbatim with the import_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 what get_signal_info reports for the signal or from what the user states, and ask when neither gives them. rpm is the shaft speed in revolutions per minute
  • Call plot_signal(signal_id="<id>") for a visual record

Read the full file on GitHub · 325 lines

Changes

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.

  1. 3d ago Changed · +22 lines 8d451f198386
  2. 15d ago Changed · +18 lines f2e2bc28905c
  3. 17d ago Changed · +36 lines 879dbbf7428e
  4. 23d ago Changed · +66 lines e07d38e24279
  5. 25d ago Changed · +3 lines 9fbfac277b3b
  6. 1mo ago Changed · +32 lines 045f3347b0fd
  7. 1mo ago Changed · +5 lines 748eb7330099
  8. 3mo ago First seen · 143 lines · 16 tokens per session scan A 9f61cd37d88f

Subscribe to this mod's changes

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.

Related

Diagnostic Pipeline compared with agents from other repositories

Diagnostic Pipeline next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Diagnostic PipelineLGDiMaggio/predictive-maintenance-mcpAgent121todayMITA16Claude Code
perfstuartshields/claude-setupAgent26mo agoMITA55Claude Code
feasibility-checkstuartshields/claude-setupAgent26mo agoMITA74Claude Code
usage-finderrubenCodeforges/codeforges-claude-pluginAgent312mo agoMITA75Claude Code
performance-analyzerrubenCodeforges/codeforges-claude-pluginAgent312mo agoMITA82Claude Code
dependency-analyzerrubenCodeforges/codeforges-claude-pluginAgent312mo agoMITA60Claude Code
code-analystrubenCodeforges/codeforges-claude-pluginAgent312mo agoMITA66Claude Code