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…
от j4flmao★ 47 звёзд на GitHub
Установить devops-mlops в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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
- Design CI pipeline: data validation -> training -> evaluation -> registry promotion.
- Configure model registry (MLflow, DVC, custom).
- Design CD pipeline: deployment strategy (canary, blue-green).
- Set up A/B testing infrastructure.
- Configure model monitoring (data drift, concept drift, performance decay).
- Implement rollback strategy.
- 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
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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
Что делает скилл 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, 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).
Как установить скилл devops-mlops?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл devops-mlops запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…