Skip to main content
skill Claude Code CX Codex Cursor

ml-pipeline-workflow — Claude Code skill: what it does

Builds an MLOps pipeline from data preparation to model deployment. Use it when training and release steps need one repeatable workflow.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install machine-learning-ops@claude-code-workflows
Open on GitHub

What ml-pipeline-workflow does

This skill helps design the full ML pipeline lifecycle: data ingestion and checks, feature preparation, training, validation, deployment, and monitoring. It covers stage dependencies, safe reruns, failure handling, versioning for data and models, and workflow patterns for production systems.

The package includes references/data-preparation.md, references/model-training.md, references/model-validation.md, and references/model-deployment.md. The assets/ directory contains pipeline-dag.yaml.template, training-config.yaml, and validation-checklist.md. The guidance includes Airflow, Dagster, Kubeflow, Prefect, MLflow, Weights & Biases, and TensorBoard.

Install it when a project needs a reproducible path from data to serving. It is a poor fit for a one-off training job with no pipeline automation.

What it helps with

  • connect data preparation, training, and model deployment
  • design a DAG for an ML pipeline
  • add data and model quality checks
  • set up canary or blue-green releases
  • plan rollback for model deployment failures

Example prompts for the agent

  • Build an ML pipeline from `data_ingestion` through `model_deployment` and define the stage dependencies.
  • Create a DAG from `assets/pipeline-dag.yaml.template` for data preparation, training, and model validation.
  • Show how to add drift monitoring and an automated rollback to this pipeline.

How to install ml-pipeline-workflow

1Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install machine-learning-ops@claude-code-workflows

This installs the whole machine-learning-ops plugin with all its skills

2Skills CLI (Vercel)

npx skills add wshobson/agents --skill ml-pipeline-workflow -a claude-code

3Manually: put the files in place

~/.claude/skills/ml-pipeline-workflow/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ml-pipeline-workflow/

From the same set213

The whole set →
typescript-advanced-types Seth Hobson Guides an agent through advanced TypeScript types, from generics to conditional and mapped types. Use it for typed libraries, API clients, or strict configuration objects. Claude Code CX Codex Cursor 92,169installs tailwind-design-system Seth Hobson Helps build design systems with Tailwind CSS v4, from theme tokens to component variants. Use it when a project needs shared UI patterns. Claude Code CX Codex Cursor 70,180installs brand-landingpage Travis D. Elliott This skill interviews you about the product and its visual direction, then builds a landing page through Stitch. Use it when there’s no established design yet. Claude Code CX Codex Cursor 39,476installs python-testing-patterns Seth Hobson This skill guides Python testing with pytest, fixtures and mocks. Use it when building a test suite or tracking down failing checks. Claude Code CX Codex Cursor 36,943installs python-performance-optimization Seth Hobson This skill profiles Python code to locate CPU and memory bottlenecks. Use it when an application responds slowly or consumes too many resources. Claude Code CX Codex Cursor 35,675installs nextjs-app-router-patterns Seth Hobson This skill covers Next.js App Router patterns for rendering, routing, and data fetching. Use it when starting an App Router project or moving from Pages Router. Claude Code CX Codex Cursor 32,529installs api-design-principles Seth Hobson Use this skill to plan or review REST and GraphQL APIs. It helps when writing a specification or setting API conventions for a team. Claude Code CX Codex Cursor 30,348installs code-review-excellence Seth Hobson This skill guides pull request reviews, catches logic and security issues, and helps teams give specific feedback. Use it for review standards or developer mentoring. Claude Code CX Codex Cursor 30,193installs

Similar

seo-dataforseo AgriciDaniel A skill that connects the DataForSEO MCP server to Claude Code and other AI code editors. Provides live search results, keyword metrics, backlinks, competitor analysis, and LLM mention tracking—all via commands. Claude Code CX Codex Cursor +1 6,100installs doublecheck official github Checks factual claims in AI output, looks for sources, and flags hallucination risk. Use it before relying on analysis, research summaries, or legal content. GitHub Copilot 4,300installs instrument-data-to-allotrope official anthropics Converts laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON or flattened CSV. Auto-detects instrument type and outputs ASM JSON, tabular CSV, and exportable parser code. Claude Code CX Codex Cursor +1 2,400installs google-cloud-solution-multi-agent-security official google This skill designs and secures Google Cloud Agent Gateway setups for ingress and egress traffic. Use it with Model Armor, IAP, and Agent Registry. Claude Code Gemini CLI CX Codex 3,500installs gke-custom-golden-image-discovery official google This skill finds a golden base image for a custom GKE node from the cluster version, OS, architecture, accelerator, and security requirements. Claude Code Gemini CLI CX Codex 3,500installs advisor-orchestrator-worker Shubham Saboo A skill that splits a large task across multiple models: an advisor plans and reviews, workers execute in parallel. Use when one model can't handle the job in one pass, or you need to research dozens of variants at once. Claude Code CX Codex Cursor +1 619installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. Claude Code Claude.ai 414,180installs writing-for-agents Matt Pocock Guidance for writing skills and agent-facing documents. Use it when editing AGENTS.md, CLAUDE.md, or reference files reached from them. Claude Code 466,719installs

Questions about ml-pipeline-workflow

How do I install ml-pipeline-workflow in Claude Code?

Run npx skills add wshobson/agents --skill ml-pipeline-workflow -a claude-code. The skill is placed at ~/.claude/skills/ml-pipeline-workflow/SKILL.md.

What does ml-pipeline-workflow do?

It guides an end-to-end MLOps workflow covering data ingestion, preparation, training, validation, deployment, and monitoring.

Which tools does ml-pipeline-workflow cover?

The skill includes Airflow, Dagster, Kubeflow, and Prefect for orchestration, plus MLflow, Weights & Biases, and TensorBoard for experiments and metrics.

Source text

SKILL.md · MIT
---
name: ml-pipeline-workflow
description: Build end-to-end MLOps pipelines from data preparation through model training, validation, and production deployment. Use when creating ML pipelines, implementing MLOps practices, or automating model training and deployment workflows.
---

# ML Pipeline Workflow

Complete end-to-end MLOps pipeline orchestration from data preparation through model deployment.

## Overview

This skill provides comprehensive guidance for building production ML pipelines that handle the full lifecycle: data ingestion → preparation → training → validation → deployment → monitoring.

## When to Use This Skill

- Building new ML pipelines from scratch
- Designing workflow orchestration for ML systems
- Implementing data → model → deployment automation
- Setting up reproducible training workflows
- Creating DAG-based ML orchestration
- Integrating ML components into production systems

## What This Skill Provides

### Core Capabilities

1. **Pipeline Architecture**
   - End-to-end workflow design
   - DAG orchestration patterns (Airflow, Dagster, Kubeflow)
   - Component dependencies and data flow
   - Error handling and retry strategies

2. **Data Preparation**
   - Data validation and quality checks
   - Feature engineering pipelines
   - Data versioning and lineage
   - Train/validation/test splitting strategies

3. **Model Training**
   - Training job orchestration
   - Hyperparameter management
   - Experiment tracking integration
   - Distributed training patterns

4. **Model Validation**
   - Validation frameworks and metrics
   - A/B testing infrastructure
   - Performance regression detection
   - Model comparison workflows

5. **Deployment Automation**
   - Model serving patterns
   - Canary deployments
   - Blue-green deployment strategies
   - Rollback mechanisms

### Reference Documentation

See the `references/` directory for detailed guides:

- **data-preparation.md** - Data cleaning, validation, and feature engineering
- **model-training.md** - Training workflows and best practices
- **model-validation.md** - Validation strategies and metrics
- **model-deployment.md** - Deployment patterns and serving architectures

### Assets and Templates

The `assets/` directory contains:

- **pipeline-dag.yaml.template** - DAG template for workflow orchestration
- **training-config.yaml** - Training configuration template
- **validation-checklist.md** - Pre-deployment validation checklist

## Usage Patterns

### Basic Pipeline Setup

```python
# 1. Define pipeline stages
stages = [
    "data_ingestion",
    "data_validation",
    "feature_engineering",
    "model_training",
    "model_validation",
    "model_deployment"
]

# 2. Configure dependencies
# See assets/pipeline-dag.yaml.template for full example
```

### Production Workflow

1. **Data Preparation Phase**
   - Ingest raw data from sources
   - Run data quality checks
   - Apply feature transformations
   - Version processed datasets

2. **Training Phase**
   - Load versioned training data
   - Execute training jobs
   - Track experiments and metrics
   - Save trained models

3. **Validation Phase**
   - Run validation test suite
   - Compare against baseline
   - Generate performance reports
   - Approve for deployment

4. **Deployment Phase**
   - Package model artifacts
   - Deploy to serving infrastructure
   - Configure monitoring
   - Validate production traffic

## Best Practices

### Pipeline Design

- **Modularity**: Each stage should be independently testable
- **Idempotency**: Re-running stages should be safe
- **Observability**: Log metrics at every stage
- **Versioning**: Track data, code, and model versions
- **Failure Handling**: Implement retry logic and alerting

### Data Management

- Use data validation libraries (Great Expectations, TFX)
- Version datasets with DVC or similar tools
- Document feature engineering transformations
- Maintain data lineage tracking

### Model Operations

- Separate training and serving infrastructure
- Use model registries (MLflow, Weights & Biases)
- Implement gradual rollouts for new models
- Monitor model performance drift
- Maintain rollback capabilities

### Deployment Strategies

- Start with shadow deployments
- Use canary releases for validation
- Implement A/B testing infrastructure
- Set up automated rollback triggers
- Monitor latency and throughput

## Integration Points

### Orchestration Tools

- **Apache Airflow**: DAG-based workflow orchestration
- **Dagster**: Asset-based pipeline orchestration
- **Kubeflow Pipelines**: Kubernetes-native ML workflows
- **Prefect**: Modern dataflow automation

### Experiment Tracking

- MLflow for experiment tracking and model registry
- Weights & Biases for visualization and collaboration
- TensorBoard for training metrics

### Deployment Platforms

- AWS SageMaker for managed ML infrastructure
- Google Vertex AI for GCP deployments
- Azure ML for Azure cloud
- OCI Data Science for Oracle Cloud Infrastructure deployments
- Kubernetes + KServe for cloud-agnostic serving

## Progressive Disclosure

Start with the basics and gradually add complexity:

1. **Level 1**: Simple linear pipeline (data → train → deploy)
2. **Level 2**: Add validation and monitoring stages
3. **Level 3**: Implement hyperparameter tuning
4. **Level 4**: Add A/B testing and gradual rollouts
5. **Level 5**: Multi-model pipelines with ensemble strategies

## Common Patterns

### Batch Training Pipeline

```yaml
# See assets/pipeline-dag.yaml.template
stages:
  - name: data_preparation
    dependencies: []
  - name: model_training
    dependencies: [data_preparation]
  - name: model_evaluation
    dependencies: [model_training]
  - name: model_deployment
    dependencies: [model_evaluation]
```

### Real-time Feature Pipeline

```python
# Stream processing for real-time features
# Combined with batch training
# See references/data-preparation.md
```

### Continuous Training

```python
# Automated retraining on schedule
# Triggered by data drift detection
# See references/model-training.md
```

## Troubleshooting

### Common Issues

- **Pipeline failures**: Check dependencies and data availability
- **Training instability**: Review hyperparameters and data quality
- **Deployment issues**: Validate model artifacts and serving config
- **Performance degradation**: Monitor data drift and model metrics

### Debugging Steps

1. Check pipeline logs for each stage
2. Validate input/output data at boundaries
3. Test components in isolation
4. Review experiment tracking metrics
5. Inspect model artifacts and metadata

## Next Steps

After setting up your pipeline:

1. Explore **hyperparameter-tuning** skill for optimization
2. Learn **experiment-tracking-setup** for MLflow/W&B
3. Review **model-deployment-patterns** for serving strategies
4. Implement monitoring with observability tools

## Related Skills

- **experiment-tracking-setup**: MLflow and Weights & Biases integration
- **hyperparameter-tuning**: Automated hyperparameter optimization
- **model-deployment-patterns**: Advanced deployment strategies

© Seth Hobson · MIT · wshobson/agents

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor