mlops-initialization

mlops-initialization is a skill for Claude Code, Codex from MLOps-Courses/mlops-coding-skills. It costs 50 tokens per session (2,784 once invoked), scanned C, original, MIT.

A setup guide for starting a production-ready Python machine-learning operations project. MLOps means the tools and practices used to build, test, deploy, and maintain machine-learning systems.

In plain words
What is it for?
Use it when creating a new Python MLOps repository, its first pyproject.toml, or a broken project skeleton with uv, git, mise, and VS Code.
Why use it?
It creates a consistent project foundation with pinned tools, reproducible environments, version control, editor settings, and quality checks.

Skill for Claude CodeCodex

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

Good fit Use it when creating a new Python MLOps repository, its first pyproject.toml, or a broken project skeleton with uv, git, mise, and VS Code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mlops-courses/mlops-coding-skills/mlops-initialization
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-initialization
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-initialization

README.md
[![agentmods](https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-initialization/github.svg)](https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-initialization)
Your own site
<a href="https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-initialization"><img src="https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-initialization/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-initialization

Your own site · 80×15
<a href="https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-initialization"><img src="https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-initialization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,784 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00050 $0.02784
Opus 5.5 $0.00020 $0.01114
Sonnet 5.5 $0.00010 $0.00557
Haiku 4.5 $0.00005 $0.00278

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

Security

Grade C, and why

mlops-initialization scanned grade C with 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

- If missing, install it: `curl -LsSf https://astral.sh/uv/install.sh | sh`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- If missing, install it: `curl -LsSf https://astral.sh/uv/install.sh | sh`
mlops-initialization/SKILL.md · 212 lines

How it starts

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

MLOps Initialization

Goal

To initialize a robust, production-ready MLOps project structure using the modern Python toolchain (uv), industry-standard version control (git), a shared task runner (mise), and a configured development environment (VS Code). This skill ensures reproducibility, collaboration, and high code quality from day one.

Prerequisites

  • Language: Python 3.14 (the tested reference runtime)
  • Manager: uv (replaces pip, venv, poetry, pyenv)
  • Tasks: mise (replaces make/just, and pins the toolchain)
  • VCS: Git
  • IDE: VS Code (recommended)

Instructions

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

1. System & Toolchain Verification

Before modifying files, verify that the essential tools are available.

  1. Check uv:
    • Ensure uv is installed: uv --version
    • If missing, install it: curl -LsSf https://astral.sh/uv/install.sh | sh
  2. Check git:
    • Ensure git is installed: git --version
  3. Check mise:
    • Ensure mise is installed: mise --version
    • mise pins every non-Python tool (dprint, gitleaks, trivy, actionlint, ...) so contributors and CI resolve identical binaries.

2. Project Initialization

Initialize the project structure using uv to ensure modern standards (pyproject.toml).

  1. Create Directory (if not already inside):
    • mkdir <project_name> && cd <project_name>
  2. Initialize Project:
    • Run uv init
    • With uv 0.12+, this creates pyproject.toml, .python-version, README.md, and a packaged application under src/<project_name>/ with a console entrypoint.
  3. Configure pyproject.toml:
    • Update metadata: name, version, description, authors, license.
    • Set requires-python: Ensure it matches the project's target environment (e.g., >=3.14).
    • Declare the license the PEP 639 way: license is an SPDX expression (a plain string), and the file itself is listed in license-files. The old license = { file = "LICENSE" } table form is deprecated and rejected by current build backends.
    • Example Structure:

Read the full file on GitHub · 212 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 4cd3820fce31
  2. 1mo ago First seen · 212 lines · 50 tokens per session scan C 24f17b9b7010

Subscribe to this mod's changes

mlops-initialization is a skill published in the GitHub repository MLOps-Courses/mlops-coding-skills (23 stars, last pushed 7d ago), licensed MIT. It adds 50 tokens to every session and 2,784 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). 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