mlops-observability

mlops-observability is a skill for Claude Code, Codex from MLOps-Courses/mlops-coding-skills. It costs 51 tokens per session (1,563 once invoked), scanned A, original, MIT.

A monitoring and record-keeping guide for machine-learning systems. It covers reproducible runs, tracking which data produced a model, detecting changes in data or behavior, alerts, and explanations of model results.

In plain words
What is it for?
Use it to manage random seeds and locked dependencies, record datasets and runs with MLflow, monitor drift, send alerts, and generate SHAP explanations.
Why use it?
It helps developers investigate production problems and understand whether a model changed, what data it used, and why it produced an output.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to manage random seeds and locked dependencies, record datasets and runs with MLflow, monitor drift, send alerts, and generate SHAP explanations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mlops-courses/mlops-coding-skills/mlops-observability
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MLOps-Courses/mlops-coding-skills --skill mlops-observability
Clone the repo
git clone --depth 1 https://github.com/MLOps-Courses/mlops-coding-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mlops-observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-observability/github.svg)](https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-observability)
Your own site
<a href="https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-observability"><img src="https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-observability/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mlops-observability

Your own site · 80×15
<a href="https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-observability"><img src="https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01563
Opus 5.5 $0.00020 $0.00625
Sonnet 5.5 $0.00010 $0.00313
Haiku 4.5 $0.00005 $0.00156

Measured 6d ago against content hash 8bff8fac34b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mlops-observability scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

mlops-observability/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MLOps Observability

Goal

To implement a "Glass Box" system where every result is Reproducible, every asset has Lineage, and system health is Monitored, Alerted on, and Explained.

Prerequisites

  • Language: Python 3.14
  • Context: Production monitoring and debugging.
  • Platform Suggestion: MLflow 3, SHAP, Evidently, ...

Instructions

Preserve existing work and repository visibility. Prepare local changes first; commit, push, change remote settings, publish, or deploy only with user authorization.

1. Guarantee Reproducibility

Consistency is key. For instance:

  1. Randomness: Set seeds for random, numpy, torch, tensorflow.
  2. Dependencies: uv.lock is the reproducibility mechanism for Python. It records the exact resolved version and hash of every direct and transitive dependency, and uv sync --frozen installs the subset selected by platform markers and dependency groups without checking lock freshness; use uv lock --check to check freshness.
  3. Tools: mise.lock does the same job for the binaries that are not Python packages (dprint, gitleaks, trivy, actionlint, zizmor, ...), recording version, URL, and checksum per platform. Commit both lockfiles; between them, "works on my machine" stops being a category of bug.
  4. Builds: mise run build is a plain uv build producing a wheel and an sdist. Runtime lockfiles do not pin isolated build requirements. Pin or constrain those separately when reproducible distribution builds are required.
  5. Environment: Ship the same locked set into a docker image (uv sync --frozen), so the runtime matches what was tested.
  6. Code: Track the git commit hash for every run, and fail the pipeline on a dirty working tree so a run can always be traced back to a commit.

2. Track Data Lineage

Know the origin of your data. For instance:

  1. Datasets: Create MLflow Datasets with mlflow.data.from_pandas.
  2. Logging: Log inputs to MLflow context with mlflow.log_input.
  3. Store: Keep tracking and registry on a SQL backend (sqlite:///mlflow.db locally, Postgres or a tracking server in production). The legacy file store is in maintenance mode and lacks current SQL-backed capabilities. Keep the SQL backend used by the reference package.
  4. Versioning: Version data files (e.g., data/v1.csv) or use DVC.
  5. Transformations: Log preprocessing parameters mapping data versions to model versions.

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +7 lines 8bff8fac34b5
  2. 1mo ago First seen · 97 lines · 51 tokens per session scan A b3acea9e1635

Subscribe to this mod's changes

mlops-observability is a skill published in the GitHub repository MLOps-Courses/mlops-coding-skills (23 stars, last pushed 7d ago), licensed MIT. It adds 51 tokens to every session and 1,563 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

data-engineering

Data pipeline architecture, ETL/ELT patterns, data quality, batch vs stream processing, orchestration, and data governance principles.

irahardianto/awesome-agv · 31 tokens

ml-engineering

ML pipeline design, feature engineering, model training/serving, experiment tracking, model validation, and MLOps principles.

irahardianto/awesome-agv · 29 tokens

ai-architect-expert

Expert-level AI system design, MLOps, architecture patterns, and AI infrastructure. Use when the user mentions AI architecture, MLOps, system design, AI infrastructure, or scalability, or when the task involves AI System Architecture, MLOps Infrastructure, Scalability Patterns, or Architecture Design.

personamanagmentlayer/pcl · 66 tokens

ml-expert

Expert-level machine learning, deep learning, model training, and MLOps. Use when the user mentions machine learning, deep learning, neural networks, MLOps, or data science, or when the task involves Machine Learning Fundamentals, Data Preparation, or Model Training.

personamanagmentlayer/pcl · 58 tokens

azure-data-factory

Expert knowledge for Azure Data Factory development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when configuring IR/SSIS/SHIR, mapping data flows, SAP/SaaS connectors, CI/CD…

MicrosoftDocs/Agent-Skills · 131 tokens

azure-machine-learning

Expert knowledge for Azure Machine Learning development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using AutoML, Prompt Flow, online/batch endpoints, vector stores/RAG, or…

MicrosoftDocs/Agent-Skills · 129 tokens