/mlops-skills:feature-pipeline-failure-investigationfrom mlops-skills
Guides diagnosing and mitigating overnight feature pipeline failures causing stale or missing features, focusing on fast triage and interim mitigation before root-cause fix lands.
Ships in mlops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
training-pipeline-orchestration covers designing a resilient, idempotent training DAG; this skill covers the specific overnight-failure moment: a scheduled feature computation/ materialization job broke, and right now predictions are being served on data that is stale, partially missing, or null-heavy — quietly, because the serving system has no idea the features underneath it went bad. The operational job here is not writing the permanent fix (that may take hours), it's answering three questions fast: how stale/broken is the data right now, how much does that matter for this model, and what is the safest thing to do with live traffic in the next fifteen minutes.
from datetime import datetime, timezone
def freshness_report(feature_view_metadata: dict, tolerance_minutes: int) -> dict:
last_materialized = feature_view_metadata["last_success_ts"]
age_minutes = (datetime.now(timezone.utc) - last_materialized).total_seconds() / 60
return {
"feature_view": feature_view_metadata["name"],
"age_minutes": age_minutes,
"within_tolerance": age_minutes <= tolerance_minutes,
"row_count": feature_view_metadata.get("row_count"),
}
report = freshness_report(driver_stats_metadata, tolerance_minutes=180)
# {"feature_view": "driver_stats", "age_minutes": 410, "within_tolerance": False, "row_count": 812004}
Symptom: Predictions silently serve day-old features for a real-time fraud-scoring model, and nobody notices until customer complaints arrive. Fix: Add an explicit feature-freshness SLA and alert per feature view, and default to flagging or falling back rather than silently continuing on stale data past the tolerance window.
Symptom: On-call assumes a drift alert means the model itself degraded and pages the ML team for an emergency retrain, when the real cause is this feature pipeline silently failing overnight. Fix: Always check upstream feature pipeline freshness as an early step whenever a drift alert fires — see model-drift-alert-triage — before concluding the model needs retraining or rollback.
Symptom: After the root cause is fixed, the job simply resumes going forward, leaving a permanent gap in historical feature values for the window it missed — and a later retrain silently trains on data with that hole in it. Fix: Always backfill the missed window explicitly and idempotently once the root cause is fixed, rather than only resuming forward execution; verify the backfill closes the gap before declaring the incident resolved.
Symptom: The fastest available "fix" is muting the freshness alert itself rather than addressing the actual feature computation problem, so the same failure recurs silently the following week. Fix: Never treat silencing the alert as the mitigation — the alert should stay active; only the underlying job or its resource allocation should change.
Symptom: An emergency mitigation (serving cached last-known-good values) is put in place during the incident and is still running three months later because nobody tracked it as temporary. Fix: Ticket every interim mitigation with an explicit owner and expiration date at the time it's applied, and confirm its removal once the permanent fix is verified — an untracked "temporary" fallback tends to become permanent by default.
Scenario: The overnight Spark job that materializes the driver_stats
feature view for fraud-scorer fails at 02:14 UTC with an out-of-memory
error partway through, leaving the online feature store with data no
fresher than 22:00 UTC the previous day by the time on-call is paged at
07:00 UTC.
driver_stats is confirmed as the only affected feature
view; it feeds fraud-scorer and one other model, chargeback-risk.driver_stats is 9
hours stale against a 3-hour tolerance for fraud-scorer — beyond
tolerance, and driver_stats is a high-importance feature view for
fraud scoring.fraud-scorer's serving path to serve
the last-known-good cached driver_stats snapshot from 22:00 UTC with
predictions explicitly flagged as feature_staleness: degraded in logs
and monitoring, rather than either serving silently or pausing scoring
entirely — chosen because a slightly stale fraud signal is safer than
no fraud scoring at all for this use case. The mitigation is ticketed
with a same-day expiration.avg_rating_30d during the stale window is confirmed
staleness-driven (per
model-drift-alert-triage) and
resolves on its own once fresh data flows again.driver_stats
specifically, since this failure mode wasn't previously monitored.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub selvarajmurugesan90/ops-engineering-skills --plugin mlops-skills22 skills in this plugin
/complete-mlops-platform-deployment-on-aws-from-scratchSequences a complete, end-to-end MLOps platform deployment on AWS from a bare AWS Organization to a production-ready platform serving a first retrained model — AWS landing zone, the SageMaker-vs-EKS+Kubeflow platform decision (EKS+Kubeflow is the worked path here), GPU node pools via the NVIDIA GPU Operator, MLflow experiment tracking on S3, a Kubeflow Pipelines retraining DAG, model registry/packaging with gated promotion, KServe canary/shadow serving, and drift monitoring. This is an integration/orchestration skill that sequences several existing tool-specific skills in the correct order and flags the handoff points between them — it does not restate their internals. Use when a user asks to "stand up an MLOps platform on AWS from scratch," "build the full ML training-to-serving pipeline on EKS/SageMaker," "give me the end-to-end sequence from AWS account to a retrained, monitored production model," or "decide between SageMaker and EKS+Kubeflow for our ML platform."
/complete-mlops-platform-deployment-on-azure-from-scratchSequences a complete, end-to-end MLOps platform deployment on Azure from a bare tenant to a production-ready platform serving a first retrained model — Azure landing zone, the Azure-ML-vs-AKS+Kubeflow platform decision (Azure ML is the worked path), GPU compute clusters/quota, MLflow-compatible experiment tracking, an Azure ML pipeline retraining DAG, Model Registry with gated promotion, managed online endpoints with traffic-split canary rollout, and data-drift monitoring. An integration/ orchestration skill that sequences existing tool-specific skills in the right order and flags handoff points — it does not restate their internals. Use when a user asks to "stand up an MLOps platform on Azure from scratch," "build the full ML training-to-serving pipeline on Azure ML/AKS," "give me the end-to-end sequence from Azure tenant to a retrained, monitored production model," or "decide between Azure ML and AKS+Kubeflow for our ML platform."
/complete-mlops-platform-deployment-on-gcp-from-scratchSequences a complete, end-to-end MLOps platform deployment on GCP from a bare Google Cloud Organization to a production-ready platform serving a first retrained model — GCP landing zone, the Vertex-AI-vs-GKE+Kubeflow platform decision (Vertex AI is the worked path), GPU quota and accelerator-backed custom training, Vertex AI Experiments tracking, a Vertex AI Pipelines retraining DAG, Model Registry with gated promotion, endpoints with traffic-split canary rollout, and Vertex AI Model Monitoring for drift. An integration/orchestration skill that sequences existing tool-specific skills in the right order and flags handoff points — it does not restate their internals. Use when a user asks to "stand up an MLOps platform on GCP from scratch," "build the full ML training-to-serving pipeline on Vertex AI/GKE," "give me the end-to-end sequence from GCP org to a retrained, monitored production model," or "decide between Vertex AI and GKE+Kubeflow for our ML platform."
/complete-mlops-platform-deployment-self-hosted-k8s-from-scratchSequences a complete, end-to-end, self-hosted and cloud-agnostic MLOps platform on any Kubernetes cluster — no managed ML service from any vendor — from a bare cluster to production: GPU node pools via the NVIDIA GPU Operator, a Kubeflow-vs-Ray orchestration choice, self-hosted MLflow-style tracking and registry on self-operated object storage and Postgres, on-cluster serving, and self-hosted drift monitoring. An integration/orchestration skill sequencing existing tool-specific skills in the right order, explicit about the added operational burden of self-hosting every layer versus a managed-cloud MLOps platform. Use when a user asks to "build a self-hosted MLOps platform on Kubernetes," "stand up MLflow and Kubeflow ourselves with no managed cloud ML service," "design a vendor-agnostic ML platform we can run on any cluster," or "give me the full sequence for a fully self-managed ML platform from bare cluster to production."
/data-and-model-lineageGuides tracking end-to-end lineage from raw data sources through feature computation, training runs, and model versions, to enable root-cause tracing, impact analysis, and compliance/audit answers. Use when the user asks to "trace where a feature/model came from", set up data/model lineage tracking, do impact analysis before changing an upstream table, answer an audit/compliance question about a model's training data, or debug a bad prediction back to its source.
/data-catalog-and-lineage-governance-datahub-amundsenGuides deploying and operating enterprise data catalog and governance tooling — DataHub or Amundsen — for discovering, tagging, classifying, and owning datasets, features, and models across an organization, including deprecation workflows that must check downstream consumers before deletion. Use when the user asks to "set up a data catalog", "make datasets/models searchable and discoverable", "tag PII/sensitive data", assign data ownership, install or configure DataHub or Amundsen, write an ingestion recipe, or safely deprecate/delete an old dataset or model artifact without breaking a consumer.
Other plugins' skills for the same job