ml-pipeline

ml-pipeline is a skill for Claude Code from nimadorostkar/Claude-Skills-collection. It costs 100 tokens per session (1,561 once invoked), scanned A, original, MIT.

Guidance for building and running a machine-learning pipeline, the repeatable process that prepares data, trains a model, deploys it, and watches its results. It covers reproducibility, matching training and production data, deployment, drift, and retraining.

In plain words
What is it for?
Use it to build training or prediction workflows, deploy models, monitor data and predictions, investigate poor production results, and plan retraining.
Why use it?
It helps prevent models from behaving differently in production than they did during testing. It also makes training repeatable and reveals when changing data is reducing model quality.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ai plugin — 12 skills shipped together

Good fit Use it to build training or prediction workflows, deploy models, monitor data and predictions, investigate poor production results, and plan retraining.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/ml-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.

Any agent
npx skills add nimadorostkar/Claude-Skills-collection --skill ml-pipeline
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code.

Or install ai, the plugin that ships this one along with the rest of its 12 skills.

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 ml-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/ml-pipeline/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/ml-pipeline)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/ml-pipeline"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/ml-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 ml-pipeline

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/ml-pipeline"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/ml-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,561 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00100 $0.01561
Opus 5.5 $0.00040 $0.00624
Sonnet 5.5 $0.00020 $0.00312
Haiku 4.5 $0.00010 $0.00156

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

Security

Grade A, and why

ml-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 17d 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.

skills/ai/ml-pipeline/SKILL.md · 137 lines

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.

ML Pipeline

Purpose

Build a machine learning pipeline that produces the same model twice and behaves in production the way it did in training. The two defining failure modes are irreproducible training and train/serve skew — the model sees different features in production than it saw in training, and quietly degrades.

When to Use

  • Building a training or inference pipeline.
  • A model that performed well offline and poorly in production.
  • Setting up monitoring for a deployed model.
  • Establishing a retraining cadence.

Capabilities

  • Feature engineering and feature-store design.
  • Reproducible training: data versioning, seeds, environment pinning.
  • Train/serve consistency.
  • Deployment: batch, real-time, shadow.
  • Monitoring: data drift, prediction drift, performance decay.

Inputs

  • The prediction task and the label definition.
  • The data: its sources, its freshness, and its leakage risks.
  • Latency and throughput requirements at serving time.

Outputs

  • A reproducible training pipeline with a versioned dataset and model.
  • Features computed by the same code in training and serving.
  • Drift and performance monitoring with alerts.

Workflow

  1. Define the label precisely — Including the time at which it becomes known. A label that is only available thirty days after the prediction cannot be used to evaluate a model deployed today, and this constraint shapes everything.
  2. Check for leakage first — Any feature computed from information that would not exist at prediction time will make the offline model look excellent and the production model useless. This is the most common and most expensive ML bug.
  3. Compute features once, use them twice — The same code path for training and serving. Two implementations of the same feature will diverge, silently, and the model will degrade without any code changing.
  4. Version everything — Data, code, environment, hyperparameters, and the model artifact. "Which data produced this model" must be answerable a year later.
  5. Shadow before you serve — Run the new model on live traffic, log its predictions, and compare — without acting on them.
  6. Monitor drift and performance — Input distribution, prediction distribution, and (when labels arrive) actual accuracy. A model degrades silently; nothing errors.

Read the full file on GitHub · 137 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. 17d ago Changed · +63 tokens per session 8a5b02e9c544
  2. 1mo ago First seen · 137 lines · 37 tokens per session scan A 8cf4c9b803bf

Subscribe to this mod's changes

ml-pipeline is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (33 stars, last pushed 3d ago), licensed MIT. It adds 100 tokens to every session and 1,561 once invoked, about $0.0004 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

Other skills, from other repositories

agent-platform-tuning

Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use agent-platform-deploy), or managing serving endpoints (use agent-platform-endpoint-management).

google/skills · 64 tokens

google-cloud-solution-guided-gke-ai-migration

Guides the migration of existing AI workloads (Cloud Run, Gemini API, Gemini Enterprise Agent Platform) to self-hosted GKE inference using gcloud and kubectl. Use when the user has an existing AI inference workload (on Cloud Run, the Gemini API, Gemini Enterprise Agent Platform, or a custom VM) and wants to move it to…

google/skills · 157 tokens

apigee-agent-gateway-governance

Stands up an Apigee API proxy that a Google Cloud Agent Gateway calls as an ext-proc (Service Extension) callout on an agent's LLM traffic, to meter token usage per model, extract caller identity, and apply Model Armor prompt screening or a semantic cache. Use when wiring Apigee in as an AI gateway behind an Agent…

google/skills · 222 tokens

modal

Modal is a serverless cloud platform for running Python on demand, including on-demand GPUs. Use when deploying or serving AI/ML models, running GPU-accelerated workloads (training, fine-tuning, inference), serving web endpoints, scheduling batch jobs, or scaling Python code to cloud containers with the Modal SDK.

K-Dense-AI/scientific-agent-skills · 65 tokens

gke-inference

Deploys and optimizes AI/ML inference workloads on GKE, using GPUs, TPUs, and model servers. Use when deploying GKE inference servers, configuring GKE GPU resources for inference, or deploying LLMs on GKE. Don't use for migrating existing AI workloads to GKE (use google-cloud-solution-guided-gke-ai-migration), GKE RAG…

google/skills · 119 tokens

agent-platform-endpoint-management

Manages Agent Platform serving endpoints. Use when you need to create, list, describe, update, or delete serving endpoints for model deployment on Agent Platform. Also use when troubleshooting endpoint permission, quota, or resource busy errors. Don't use for deploying models to endpoints or for running model…

google/skills · 64 tokens