cookiecutter-mlops-package: Instructions file for Codex

AGENTS.md

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

Repository instructions for an AI coding agent working on a Cookiecutter template that creates Python packages for machine-learning operations. They describe the project layout, setup commands, testing rules, and coding conventions.

In plain words
What is it for?
Use them when changing the template, its tests, setup process, or shared configuration.
Why use it?
They give the agent the project context and the exact checks required for a change to be accepted. This helps avoid editing generated-template files incorrectly or skipping the repository’s standard checks.

Instructions file for CodexOpenCode

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

This is fmind/cookiecutter-mlops-package's own configuration. It tells Codex and OpenCode how to work on cookiecutter-mlops-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 cookiecutter-mlops-package configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fmind/cookiecutter-mlops-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/cookiecutter-mlops-package/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/fmind/cookiecutter-mlops-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 cookiecutter-mlops-package AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/fmind/cookiecutter-mlops-package/agents-md"><img src="https://agentmods.dev/badge/instructions/fmind/cookiecutter-mlops-package/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,488 This file is loaded in full into every session.
When invoked 1,488 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.01488 $0.01488
Opus 5.5 $0.00595 $0.00595
Sonnet 5.5 $0.00298 $0.00298
Haiku 4.5 $0.00149 $0.00149

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

Security

Grade A, and why

cookiecutter-mlops-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 25d 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 · 51 lines

How it starts

The opening of the file, as written. The whole thing — 51 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: cookiecutter-mlops-package — a Cookiecutter template that scaffolds MLOps Python packages.
  • Layout: {{cookiecutter.repository}}/ holds the template sources (raw Jinja); tests/test_cookiecutter.py bakes the template and runs the generated project's full toolchain.
  • Language: Python 3.14+ (pyproject.toml), managed with uv.
  • Reference: mlops-python-package is the reference implementation. Shared configuration files should differ from it only by cookiecutter variables; diff against it before changing the template.

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. This is the gate; CI runs this exact task and nothing else. There is no build step: [tool.uv] package = false, this repository is a test suite, not a distribution.
  • Install: mise install provisions the pinned toolchain (run_auto_install is off), then mise run install syncs the virtualenv (uv sync) and installs 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, actionlint + zizmor workflows.
  • Test: mise run test — pytest bakes the template and runs mise trust/mise install/git init/mise run all/... inside the generated project. Needs docker running and takes several minutes.

Definition of done

A change is complete only when, locally, mise run all passes warning-free — which includes the bake test actually generating a project and passing that project's own gate. Fix root causes — never weaken an assertion, add a skip/xfail, loosen a type, or suppress a lint error to force a green result.

Read the full file on GitHub · 51 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. 25d ago Changed · +8 lines · +136 tokens per session 10872cc1183b
  2. 1mo ago Changed · +56 tokens per session 3ca25bf1e9f6
  3. 2mo ago First seen · 43 lines · 1,296 tokens per session scan A 6152d26cc44e

Subscribe to this mod's changes

cookiecutter-mlops-package AGENTS.md is an instructions file published in the GitHub repository fmind/cookiecutter-mlops-package (443 stars, last pushed 4d ago), licensed MIT. It adds 1,488 tokens to every session, about $0.0060 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

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

cookiecutter-mlops-package AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cookiecutter-mlops-package AGENTS.mdfmind/cookiecutter-mlops-packageInstructions file4434d agoMITA1,488Codex, 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