mlops-industrialization

mlops-industrialization is a skill for Claude Code, Codex from MLOps-Courses/mlops-coding-skills. It costs 48 tokens per session (1,698 once invoked), scanned B, original, MIT.

A workflow for turning experimental Python notebooks and scripts into a distributable package. It uses a src folder and separates data access, business logic, and application orchestration.

In plain words
What is it for?
Moving code from notebooks into a Python project, organizing training or inference code, and defining application entry points with OmegaConf and Pydantic settings.
Why use it?
It gives growing experiments a consistent structure and adds validated configuration, making them easier to package and maintain.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-industrialization.svg)](https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-industrialization)
Your own site
<a href="https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-industrialization"><img src="https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-industrialization.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00048 $0.01698
Opus 5 $0.00024 $0.00849
Sonnet 5 $0.00010 $0.00340
Haiku 4.5 $0.00005 $0.00170

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

Security

Grade B, and why

mlops-industrialization scanned grade B with 1 finding 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 5d 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

- [ ] **No Side Effects on Import**: Does `import my_package` run any code? (It shouldn't).
mlops-industrialization/SKILL.md · 163 lines

How it starts

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

MLOps Industrialization

Goal

To convert experimental code (notebooks/scripts) into a high-quality, distributable Python package. This skill enforces the src/ layout, a Hybrid Paradigm (OOP structure + Functional purity), and Strict Configuration to ensure scalability, security, and maintainability.

Prerequisites

  • Language: Python 3.14
  • Manager: uv
  • Context: Moving from notebooks/ to src/.

Instructions

1. Packaging Structure (src Layout)

Adopt the src layout to prevent import errors and separate source from tooling.

  1. Directory Tree:

    my-project/
    ├── pyproject.toml       # Dependencies & Metadata
    ├── uv.lock              # Pinned Python dependencies
    ├── mise.toml            # Task vocabulary & pinned tools
    ├── mise.lock            # Pinned tool binaries
    ├── AGENTS.md            # Instructions for AI agents
    ├── README.md
    └── src/
        └── my_package/      # Main package directory
            ├── __init__.py
            ├── io/          # Side-effects (Datasets, APIs)
            ├── domain/      # Pure business logic (Models, Features)
            └── application/ # Orchestration (Training loops, Inference)
    
  2. Configuration: Use pyproject.toml for all build metadata and dependencies.

2. Modularity & Paradigm (Hybrid Style)

Balance structure with predictability.

  1. Domain Layer (Pure):
    • Rule: Code here must be deterministic and free of side effects (no I/O).
    • Use Case: Feature transformations, Model architecture definitions.
    • Style: Functional (pure functions) or Immutable Objects (dataclasses).
  2. I/O Layer (Impure):
    • Rule: Isolate external interactions here.
    • Use Case: Loading data from S3, saving models to disk, logging to MLflow.
    • Style: OOP (Classes to manage connections/state).
  3. Application Layer (Orchestration):
    • Rule: Wire Domain and I/O together.
    • Use Case: Tuning, Training, Inference, Evaluation, etc.

Read the full file on GitHub · 163 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. 5d ago First seen · 163 lines · 48 tokens per session scan B 0bbe6a3f8f74

Subscribe to this mod's changes

mlops-industrialization is a skill published in the GitHub repository MLOps-Courses/mlops-coding-skills (22 stars, last pushed 25d ago), licensed MIT. It adds 48 tokens to every session and 1,698 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). 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

freecad-scripts

Expert skill for writing FreeCAD Python scripts, macros, and automation. Use when asked to create FreeCAD models, parametric objects, Part/Mesh/Sketcher scripts, workbench tools, GUI dialogs with PySide, Coin3D scenegraph manipulation, or any FreeCAD Python API task. Covers FreeCAD scripting basics, geometry creation…

boshi-xixixi/TraeSkill · 85 tokens

arize-annotation

INVOKE THIS SKILL when creating, managing, or using annotation configs or annotation queues on Arize (categorical, continuous, freeform), or applying human annotations to project spans via the Python SDK. Configs are the label schema for human feedback; queues are review workflows that route records to annotators.…

boshi-xixixi/TraeSkill · 97 tokens

aws-cdk-python-setup

Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment prerequisites, create new CDK projects, manage dependencies, and deploy to AWS.

boshi-xixixi/TraeSkill · 48 tokens

bigquery-pipeline-audit

Audits Python + BigQuery pipelines for cost safety, idempotency, and production readiness. Returns a structured report with exact patch locations.

boshi-xixixi/TraeSkill · 35 tokens

python-idioms

写 Python 时使用。地道、安全、可维护的 Python 写法。.

Wade-DevCode/awesome-coding-skills-cn · 21 tokens

cardputer-buddy

Iterate on the Cardputer-Adv MicroPython app bundle (Claude Buddy, Snake, Hello) after the device is already provisioned via m5-onboard. Use when the user wants to add a new app, push a single changed .py without re-flashing, watch device serial logs, or run a one-shot REPL command. Trigger on "add an app", "push to…

anthropics/claude-plugins-official · 109 tokens