mlops-python-package: Instructions file for Codex

AGENTS.md

mlops-python-package AGENTS.md is an instructions file for Codex, OpenCode from fmind/mlops-python-package. It costs 1,423 tokens per session, scanned A, original, MIT.

Project instructions for a Python package that predicts how many bikes are available, using machine-learning tools and data validation. They explain setup, project commands, testing, formatting, and the package's MLOps workflow.

In plain words
What is it for?
Setting up the project, running its complete validation task, formatting and checking Python code, testing changes, and maintaining its machine-learning tracking and deployment workflow.
Why use it?
They help coding agents follow the repository's required tools and checks instead of bypassing its shared commands or duplicating separately maintained skills.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is fmind/mlops-python-package's own configuration. It tells Codex and OpenCode how to work on mlops-python-package itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mlops-python-package configures →

About the project

MLOps Python Package is a Python project template for organizing machine-learning operations and data-pipeline code. Data scientists and engineers use it as a starting point for workflows such as experiment tracking, model registries, and real-time inference.

fmind/mlops-python-package · 1,421 stars · on GitHub · fmind.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to fmind/mlops-python-package. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fmind/mlops-python-package/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/fmind/mlops-python-package

Made for: Codex, OpenCode.

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-python-package AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/fmind/mlops-python-package/agents-md/github.svg)](https://agentmods.dev/instructions/fmind/mlops-python-package/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/fmind/mlops-python-package/agents-md"><img src="https://agentmods.dev/badge/instructions/fmind/mlops-python-package/agents-md/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-python-package AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fmind/mlops-python-package/agents-md"><img src="https://agentmods.dev/badge/instructions/fmind/mlops-python-package/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,423 This file is loaded in full into every session.
When invoked 1,423 The same file — it is already loaded in full.
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.01423 $0.01423
Opus 5.5 $0.00569 $0.00569
Sonnet 5.5 $0.00285 $0.00285
Haiku 4.5 $0.00142 $0.00142

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

Security

Grade A, and why

mlops-python-package AGENTS.md 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 7d 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.

AGENTS.md · 52 lines

How it starts

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

AGENTS.md

Context and rules for AI agents working in this repository. Humans should start with README.md.

Project overview

  • Name: bikes — a production-shaped MLOps package that predicts hourly bike rental demand.
  • Description: reference implementation for the MLOps Coding Course, generated from cookiecutter-mlops-package.
  • Language: Python 3.14+ (pyproject.toml), managed with uv.
  • Stack: MLflow (tracking, registry, projects, evaluation), scikit-learn, pandas, Pydantic + Pandera validation, OmegaConf YAML configs, loguru.
  • Skills: the reusable practices behind this package are published as Agent Skills in mlops-coding-skills. Install them from there rather than vendoring a copy here — a copy drifts, and this repository already lost a month to proving it.

Setup & core commands

All work goes through mise (see mise.toml); git hooks (lefthook.yml) and CI call the same tasks.

  • Everything: mise run all — format, check, test, build. This is the gate; CI runs this exact task, plus a clean-tree check.
  • Install: mise run install — sync the virtualenv (uv sync --all-groups) and install git hooks.
  • Format: mise run format — ruff (import sort + format, including Python inside Markdown) and dprint (JSON/Markdown/TOML/YAML).
  • Check: mise run check — ruff lint, ty types, pip-audit deps, dprint/validate-pyproject/uv lock format, gitleaks secrets, trivy filesystem scan, hadolint Dockerfile, actionlint + zizmor workflows.
  • Test: mise run test — pytest with coverage (fails under 100%); mise run test:parallel is a faster, coverage-free local loop.
  • Build: mise run build — uv build (wheel + sdist); mise run build:image builds the Docker image.
  • Docs: mise run docs — pdoc API reference into docs/.
  • MLflow jobs: mise run project runs the connected PipelineJob (tune → train → evaluate → promote → infer → explain); mise run project:run <name> runs one (confs/<name>.yaml).

Read the full file on GitHub · 52 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. 7d ago Changed · -3 tokens per session 49a99c41c2b8
  2. 25d ago Changed · +5 lines · +103 tokens per session 553e92029268
  3. 1mo ago Changed · +1 lines · +75 tokens per session 8dbf6c1d0617
  4. 2mo ago First seen · 46 lines · 1,248 tokens per session scan A 3ee6e58ede2b

Subscribe to this mod's changes

mlops-python-package AGENTS.md is an instructions file published in the GitHub repository fmind/mlops-python-package (1,421 stars, last pushed yesterday), licensed MIT. It adds 1,423 tokens to every session, about $0.0057 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

mlops-python-package AGENTS.md compared with instructions from other repositories

mlops-python-package AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mlops-python-package AGENTS.mdfmind/mlops-python-packageInstructions file1.4kyesterdayMITA1,423Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode