Command Palette

Search for a command to run...

Back to skills
skill № 87374

devops-mlops

Use when the user asks about MLOps, ML CI/CD pipelines, model registry promotion, canary or shadow model deployment, model drift monitoring, model rollback…

FreeNo executable scripts
j4flmaoby j4flmao★ 47 GitHub stars

Install devops-mlops in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

MLOps Agent

Purpose

Implements ML CI/CD pipelines with model registry, canary deployment, monitoring, and rollback for production ML systems. MLOps applies DevOps principles to machine learning, adding data and model versioning, experiment tracking, model registry, deployment strategies, and monitoring for drift and performance decay.

Architecture/Decision Trees

Deployment Strategy Decision Tree

Is this a real-time inference service (< 100ms latency)?
  |-- YES --> Does the model serve critical user-facing traffic?
  |     |-- YES --> Canary deployment (gradual rollout, auto-rollback)
  |     |-- NO  --> Blue-green (fast rollback with full cutover)
  |-- NO --> Is this a batch inference job?
        |-- YES --> Shadow deployment (run new model in parallel, compare results)
        |-- NO --> Rolling update (gradual pod replacement)

Do you have A/B testing infrastructure for model comparison?
  |-- YES --> Canary with traffic splitting (by user_id or experiment flag)
  |-- NO --> Blue-green (simpler deployment without experiment infrastructure)

Monitoring Strategy Decision Tree

Is the input data distribution stable or changing?
  |-- Stable --> Focus on concept drift (prediction accuracy over time)
  |-- Changing --> Focus on data drift (feature distribution changes)

Do you have ground truth labels available in near real-time?
  |-- YES --> Monitor accuracy metrics directly (precision, recall, RMSE)
  |-- NO --> Monitor prediction distribution shift as proxy for performance

Do you have business KPIs correlated with model performance?
  |-- YES --> Monitor business metrics (conversion rate, revenue per user)
  |-- NO --> Monitor model metrics only (latency, error rate, drift)

Agent Protocol

Trigger

User request includes: MLOps, ML pipeline CI/CD, model deployment pipeline, model registry CI/CD, canary deploy ML, A/B testing ML, model monitoring, model drift, model rollback, feature store CI/CD.

Protocol

  1. Design CI pipeline: data validation -> training -> evaluation -> registry promotion.
  2. Configure model registry (MLflow, DVC, custom).
  3. Design CD pipeline: deployment strategy (canary, blue-green).
  4. Set up A/B testing infrastructure.
  5. Configure model monitoring (data drift, concept drift, performance decay).
  6. Implement rollback strategy.
  7. Set up feature pipeline CI/CD.

Output

MLOps pipeline with CI/CD config, model registry, deployment strategy, monitoring.

Response Format

## MLOps Pipeline
### CI Pipeline
Stages: [data-validate -> train -> evaluate -> register]
Validation: {data schema / statistics / anomaly detection}
Evaluation Thresholds: {metric >= N}
Registry Promotion: {staging -> prod gate}

### Model Registry
Platform: {MLflow / DVC / custom}
Registry Stages: [none, staging, production, archived]
Artifacts: [{model binary, metadata, metrics, plots}]

### Deployment
Strategy: {canary / blue-green / rolling}
Canary Traffic: {N%} | Observation: {duration}
Auto-rollback: {metric drop >= X%}

### Monitoring
Drift Detection: {data / concept / both}
Frequency: {per batch / real-time}
Alerts: {metric name: threshold}
Performance Decay: {monitor accuracy every N days}

### Rollback
Trigger: {drift alert / error rate / performance decay}
Strategy: {revert to previous prod version / shadow traffic}

Completion Criteria

  • CI pipeline validates data, trains model, evaluates against thresholds.
  • Model registry stages mapped to environments.
  • Deployment strategy selected with traffic management.
  • A/B testing infrastructure configured.
  • Drift monitoring active for data and concept drift.
  • Rollback strategy tested and automated.
  • Feature pipeline has separate CI/CD.

Workflow

Step 1: CI Pipeline with GitHub Actions

name: ML Pipeline
on:
  push:
    branches: [main]
    paths: ['models/**', 'features/**']
  schedule:
    - cron: '0 6 * * 1'  # Weekly retrain

jobs:
  data-validation:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Validate data schema
      run: |
        great_expectations checkpoint run data_validation
    - name: Check for data drift
      run: |
        python -m mlops.monitoring.drift_detection \
          --reference data/train.parquet \
          --current data/latest.parquet

  train-and-evaluate:
    needs: data-validation
    runs-on: [self-hosted, gpu]
    steps:
    - name: Train model
      run: python models/classifier/train.py
    - name: Evaluate against thresholds
      run: |
        python -m mlops.evaluate \
          --model models/classifier/output/model.pkl \
          --threshold accuracy=0.85 \
          --threshold f1=0.80
    - name: Register model (staging)
      run: |
        mlflow models register \
          --model-name classifier \
          --version ${{ github.run_number }} \
          --stage Staging

Step 2: Model Registry — MLflow Configuration

import mlflow
from mlflow.trackin
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • references/ml-cicd-pipeline.md
  • references/ml-deployment.md
  • references/ml-experiment-tracking.md
  • references/ml-retraining.md
  • references/mlops-advanced.md
  • references/mlops-fundamentals.md
  • references/mlops-model-governance.md
  • references/mlops-pipeline-automation.md

FAQ

What does the devops-mlops skill do?

Use when the user asks about MLOps, ML CI/CD pipelines, model registry promotion, canary or shadow model deployment, model drift monitoring, model rollback, or feature store CI/CD. Produces model delivery pipelines and monitoring. Not for model serving runtimes (use ml-model-serving) or experiment tracking (use ml-experiment-tracking).

How do I install the devops-mlops skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the devops-mlops skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare devops-mlops with