mlops-validation

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

A set of automated checks for Python projects, covering code style, type consistency, tests, logs, dependency vulnerabilities, and leaked secrets. It groups these checks into shared mise tasks, which are named commands that can run locally and in CI.

In plain words
What is it for?
Use it to run formatting and lint checks, verify Python types, run pytest tests and coverage, inspect structured logging, and scan dependencies, files, and containers for known risks or secrets.
Why use it?
It catches quality, security, and dependency problems before code is merged or deployed. Using the same tasks in each environment keeps the checks consistent.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/mlops-courses/mlops-coding-skills/mlops-validation
Any agent
npx skills add MLOps-Courses/mlops-coding-skills --skill mlops-validation
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-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-validation.svg)](https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-validation)
Your own site
<a href="https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-validation"><img src="https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-validation.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,989 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00055 $0.01989
Opus 5 $0.00028 $0.00994
Sonnet 5 $0.00011 $0.00398
Haiku 4.5 $0.00006 $0.00199

Measured 3d ago against content hash 56d43d3bf8d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mlops-validation 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 3d 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-validation/SKILL.md · 116 lines

How it starts

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

MLOps Validation

Goal

To ensure software quality, reliability, and security through automated validation layers. This skill enforces Strict Typing (ty), Unified Linting (ruff), Comprehensive Testing (pytest), Structured Logging, and Supply-Chain Scanning (pip-audit, gitleaks, trivy).

Prerequisites

  • Language: Python 3.14
  • Manager: uv; Tasks: mise
  • Context: Ensuring code quality before merge/deploy.

Instructions

1. The Task Vocabulary

Every check below is a mise task, so the same command runs locally, in the git hook, and in CI. Never invoke the underlying tool by hand in a hook or a workflow — the task is the single definition.

Task Tool What it proves
check:format dprint, validate-pyproject, ruff format --check, uv lock --check Files and manifests are canonical and the lockfile is current.
check:lint ruff check No lint violation, including the S (security) rules.
check:types ty check Type annotations are consistent.
check:vuln pip-audit No known CVE in the resolved Python dependencies.
check:leaks gitleaks No secret in the staged change or the recent history.
check:scan trivy No misconfiguration, leaked secret, or forbidden license in the tree.
check:actions actionlint, zizmor Workflows are valid and not vulnerable.
test pytest Behavior is covered and correct.

Read the full file on GitHub · 116 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. 3d ago First seen · 116 lines · 55 tokens per session scan A 56d43d3bf8d9

Subscribe to this mod's changes

mlops-validation is a skill published in the GitHub repository MLOps-Courses/mlops-coding-skills (22 stars, last pushed 24d ago), licensed MIT. It adds 55 tokens to every session and 1,989 once invoked, about $0.0003 per session on Opus 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

chinese-documentation

中文文档排版参考——中英文空格、全半角标点、术语保留、链接格式、中文文案排版指北约定。仅在用户显式 /chinese-documentation 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 62 tokens

chinese-git-workflow

国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 69 tokens

chinese-commit-conventions

中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 65 tokens

systematic-debugging

Skill "systematic-debugging" from jnMetaCode/superpowers-zh, covering 系统化调试, 概述, 铁律, 何时使用 and 四个阶段.

jnMetaCode/superpowers-zh · 24 tokens

workflow-runner

在 Claude Code / OpenClaw / Cursor 中直接运行 agency-orchestrator YAML 工作流——无需 API key,使用当前会话的 LLM 作为执行引擎。当用户提供 .yaml 工作流文件或要求多角色协作完成任务时触发。.

jnMetaCode/superpowers-zh · 61 tokens

om-implement-spec

Implement a specification (or specific phases) using coordinated subagents with unit tests, integration tests, docs, and code-review compliance. Tracks progress by updating the spec. Triggers on "implement spec", "implement phases", "build from spec", "code the spec".

open-mercato/open-mercato · 59 tokens