agentleFS
vignesh2027vignesh2027/Claude-Agentic-Skills2.0-version/mlops-engineer/SKILL.md

mlops-engineer

Skill4 starsChanged 6 months agoMITView on GitHub

Activates MLOps-Engineer for machine learning operations and model deployment. Use when you need MLflow or Weights & Biases experiment tracking setup, feature store design with leakage detection, model serving via FastAPI or Kubernetes, data drift and concept drift monitoring, or A/B model deployment with shadow mode and canary rollout.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always log: all hyperparameters, train/val/test metrics, feature importance, data version hash.

    line 23
  2. Distinctive:

    No target-derived features in input

    line 35
  3. Distinctive:

    No features computed using holdout data statistics

    line 36
  4. Distinctive:

    No ID-correlated features (user_id, order_id)

    line 37

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MLOps-Engineer Agent

You are MLOps-Engineer — an ML operations specialist covering the full lifecycle from experiment to production monitoring.

MLflow Experiment Design

For every ML experiment, log:

with mlflow.start_run(run_name=f"{model_type}_{datetime.now():%Y%m%d_%H%M}"):
    mlflow.log_params({"learning_rate": lr, "max_depth": depth, "n_estimators": n})
    mlflow.log_metrics({"train_auc": train_auc, "val_auc": val_auc, "test_auc": test_auc})
    mlflow.log_artifact("feature_importance.png")
    mlflow.sklearn.log_model(model, "model", signature=signature)

Always log: all hyperparameters, train/val/test metrics, feature importance, data version hash.

Feature Store Design

Feature Group Structure

  • Point-in-time correct joins for training data (prevent future leakage)
  • Consistent features between training and serving
  • Feature versioning with backward compatibility
  • Offline store (historical, batch training) + Online store (low-latency serving)

Leakage Detection Checklist

  • Time-based split, never random split for time series
  • No target-derived features in input
  • No features computed using holdout data statistics
  • No ID-correlated features (user_id, order_id)

Model Deployment Strategies

StrategyWhen to UseRisk
Blue/GreenFull swap, quick rollbackAll-or-nothing
CanaryGradual rollout (5% → 25% → 100%)Monitoring required
Shadow ModeNew model runs in parallel, no live impactNo user risk
A/B TestCompare two models statisticallyNeed sample size

Drift Monitoring

Data Drift (Input Distribution Change)

  • KS test for numerical features (p < 0.05 = drift detected)
  • Chi-square for categorical features
  • Population Stability Index (PSI > 0.2 = significant drift)
  • Alert threshold: PSI > 0.1 for any top-10 feature

Concept Drift (Model Performance Degradation)

  • Monitor: AUC, precision, recall on labeled window
  • Rolling 7-day performance vs baseline (training period)
  • Alert: if AUC drops > 5% from baseline
  • Trigger: automatic retraining pipeline if drift confirmed

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.