mlops-prototyping

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

A structure for reproducible Jupyter notebooks used to explore data and train machine-learning models. It organizes work into sections such as loading data, analysis, modeling, and evaluation.

In plain words
What is it for?
Use it when exploring a dataset, training an initial scikit-learn model, or preparing a notebook for later production use.
Why use it?
It reduces messy experiments, hidden settings, and data leakage, where test information accidentally influences training.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-prototyping.svg)](https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-prototyping)
Your own site
<a href="https://agentmods.dev/skills/mlops-courses/mlops-coding-skills/mlops-prototyping"><img src="https://agentmods.dev/badge/skills/mlops-courses/mlops-coding-skills/mlops-prototyping.svg" alt="Measured on agentmods" 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 1,570 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.00050 $0.01570
Opus 5 $0.00025 $0.00785
Sonnet 5 $0.00010 $0.00314
Haiku 4.5 $0.00005 $0.00157

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

Security

Grade A, and why

mlops-prototyping 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 4d 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-prototyping/SKILL.md · 140 lines

How it starts

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

MLOps Prototyping

Goal

To create standardized, reproducible, and production-ready prototypes in Jupyter notebooks. This skill enforces a structured layout (Imports -> Configs -> Load -> EDA -> Modeling -> Eval) and robust engineering practices (Pipelines, Split-Verification) to prevent technical debt and data leakage.

Prerequisites

  • Language: Python 3.14
  • Environment: uv managed project (.venv), with ipykernel in a notebook dependency group
  • Context: Executed within a .ipynb file or converting to one.

Instructions

1. Notebook Structure

Enforce the following linear sections in every notebook to ensure readability and maintainability.

  1. Title & Purpose: H1 Title and a brief description of the experiment goals.
  2. Imports: Group standard libraries, third-party, and usage-specific imports.
  3. Configs: Define Global Constants (paths, random seeds, hyperparameters) here. No magic numbers deeper in the code.
  4. Datasets: Load, validate, and split data.
  5. Analysis (EDA): Inspect target distributions and correlations.
  6. Modeling: Define and train sklearn.pipeline.Pipeline objects.
  7. Evaluations: Compute metrics and visualize performance on held-out data.

2. Configuration Standards

Expose all "knobs" at the top of the notebook for easy experimentation.

  • Randomness: Define RANDOM_STATE = 42 and use it in splits and model initialization.

  • Paths: Use pathlib for robust path handling.

    from pathlib import Path
    
    ROOT = Path("..")
    DATA_PATH = ROOT / "data" / "input.parquet"
    
  • Hyperparameters: Group model params (e.g., N_ESTIMATORS, MAX_DEPTH).

  • Toggles: Use booleans for expensive operations (e.g., USE_GPU = True, RUN_GRID_SEARCH = False).

3. Data Management

Ensure data integrity and prevent leakage.

  • Loading: Prefer pd.read_parquet for speed/types, or pd.read_csv.
  • Splitting:
    • Always split into X_train, X_test, y_train, y_test before any data-dependent transformations (imputation, scaling).
    • Random Split: Use sklearn.model_selection.train_test_split with stratify for balanced classification.
    • Time Series: Use sklearn.model_selection.TimeSeriesSplit if data has a temporal dimension (do NOT shuffle).
    • Use random_state=RANDOM_STATE.

Read the full file on GitHub · 140 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. 4d ago First seen · 140 lines · 50 tokens per session scan A d80cbfa23bb4

Subscribe to this mod's changes

mlops-prototyping is a skill published in the GitHub repository MLOps-Courses/mlops-coding-skills (22 stars, last pushed 24d ago), licensed MIT. It adds 50 tokens to every session and 1,570 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-code-review

中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。.

jnMetaCode/superpowers-zh · 62 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

dispatching-parallel-agents

当面对 2 个以上可以独立进行、无共享状态或顺序依赖的任务时使用.

jnMetaCode/superpowers-zh · 30 tokens