mkl-debug-ml-training Cursor ruleA

mkl-debug-ml-training from 00200200/maintainer-skills-lab is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add 00200200/maintainer-skills-lab/providers/cursor/.cursor/rules/mkl-debug-ml-training.mdc@git:20261016.4de5604

Pins git:20261016.4de5604 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Cursor rule
Repository
00200200/maintainer-skills-lab
Path
providers/cursor/.cursor/rules/mkl-debug-ml-training.mdc
Versions recorded
2
Latest version
git:20261016.4de5604, committed Oct 16, 2026
First version recorded
Oct 16, 2026
Size
3,986 bytes
Repository stars
48
License
MIT

Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch, Lightning, or TensorFlow/Keras. Use for concrete training bugs, not open-ended architecture or hyperparameter search.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Debug a training run

Turn the reported symptom into an observable failure on a bounded input. Preserve the user's framework, backend, and intended training semantics. A CPU or eager-mode reproduction can isolate a bug, but does not establish what happens on the original accelerator, compiled graph, or distributed setup.

## Establish the failing boundary

Record the command, revision, Python/framework versions, imported package paths, device, dtype, precision, and execution mode. For resume or reproducibility issues, include data order, seed handling, checkpoint, optimizer, scheduler, and scaler state. Classify dependency failures separately from training bugs.

Reduce to a fixed batch while retaining shapes, label semantics, masks, and value ranges. Inspect tensors entering the loss: class indices, probability targets, and scalar targets have distinct contracts. Avoid blanket reshapes or squeezes that mask errors.

Example: scalar predictions of shape `[N, 1]` minus labels `[N]` produce `[N, N]` residuals via broadcasting. Aligning scalar labels to `[N, 1]` fixes the residual calculation.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add 00200200/maintainer-skills-lab/providers/cursor/.cursor/rules/mkl-debug-ml-training.mdc@sha256:940d943772e212e5

The line at the top of this page pins the label git:20261016.4de5604, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gi7rm7lzwbrquzm7.svg)](https://markdownregistry.com/a/art_gi7rm7lzwbrquzm7)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Oct 16, 2026.

versioncommittedcommitsizeaudit
git:20261016.4de5604 latest2026-10-16 4de5604 3,986 BA view · diff
git:20261016.efc5ceb2026-10-16 efc5ceb 7,649 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (3986 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

00200200/maintainer-skills-lab · 48 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gi7rm7lzwbrquzm7
GET https://markdownregistry.com/api/v1/resolve?ref=00200200/maintainer-skills-lab/providers/cursor/.cursor/rules/mkl-debug-ml-training.mdc
GET https://markdownregistry.com/api/v1/blob/940d943772e212e5996956981ef67b2faf42cfd0c081e795a344822ed8d20181

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: Cursor rules vs AGENTS.md · which agent file does what.

More from 00200200/maintainer-skills-lab

AGENTS.md AGENTS.md file
00200200/maintainer-skills-lab · AGENTS.md
git:20261006.dacbcf4 · audit B · 48 stars
mkl-adversarial-review SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-adversarial-review/SKILL.md · Conduct a bounded 3-turn adversarial code review debate (Author vs. Skeptic) to uncover subtle edge cases and race…
git:20261015.deeb4bf · audit A · 48 stars
mkl-architect-editor SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-architect-editor/SKILL.md · Two-model pipeline routing high-level design to an Architect model, and mechanical search/replace edits to an Editor…
git:20261015.8dfd8a5 · audit A · 48 stars
mkl-audit-cve SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-audit-cve/SKILL.md · Audit CVE advisories against codebase usage with minimal token context.
git:20261017.c81de28 · audit A · 48 stars
mkl-bisect-regression SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-bisect-regression/SKILL.md · Pinpoint regressions using automated git bisect test scripts with zero prompt token waste.
git:20261017.c81de28 · audit A · 48 stars
mkl-bump-version SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-bump-version/SKILL.md · Evaluate conventional commits since latest tag, determine next SemVer, and surgically update version files.
git:20261015.0f940b8 · audit A · 48 stars
mkl-debug-ml-training SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-debug-ml-training/SKILL.md · Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch…
git:20261007.b098ce2 · audit A · 48 stars
mkl-fix-type-errors SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-fix-type-errors/SKILL.md · Resolve static type checker errors (mypy, pyright) using localized symbol-level diagnostics without whole-file…
git:20261015.46e41d9 · audit A · 48 stars
mkl-generate-changelog SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-generate-changelog/SKILL.md · Generate grouped, token-compact changelogs and release notes from git log.
git:20261008.cae68bf · audit A · 48 stars
mkl-generate-commit SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-generate-commit/SKILL.md · Generate concise Conventional Commits under 50 tokens from staged git diffs.
git:20261015.d651c97 · audit A · 48 stars
mkl-humanize SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-humanize/SKILL.md · Edit stiff or AI-sounding prose into natural writing while preserving meaning, facts, citations, and the author's point…
git:20261017.c81de28 · audit A · 48 stars
mkl-isolated-scratchpad SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-isolated-scratchpad/SKILL.md · Offload verbose reasoning, trial commands, and intermediate drafts to ephemeral scratch files to preserve context…
git:20261015.e7124e4 · audit A · 48 stars

Every file in 00200200/maintainer-skills-lab

Other files named mkl-debug-ml-training

mkl-debug-ml-training SKILL.md skill
00200200/maintainer-skills-lab · providers/claude/.claude/skills/mkl-debug-ml-training/SKILL.md · Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch…
git:20261007.b098ce2 · audit A · 48 stars
mkl-debug-ml-training SKILL.md skill
00200200/maintainer-skills-lab · providers/gemini/.gemini/antigravity/skills/mkl-debug-ml-training/SKILL.md · Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch…
git:20261016.4de5604 · audit A · 48 stars
mkl-debug-ml-training SKILL.md skill
00200200/maintainer-skills-lab · providers/opencode/.opencode/skills/mkl-debug-ml-training/SKILL.md · Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch…
git:20261007.b098ce2 · audit A · 48 stars
mkl-debug-ml-training SKILL.md skill
00200200/maintainer-skills-lab · providers/cursor/.cursor/skills/mkl-debug-ml-training/SKILL.md · Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch…
git:20261007.b098ce2 · audit A · 48 stars
mkl-debug-ml-training SKILL.md skill
00200200/maintainer-skills-lab · skills/mkl-debug-ml-training/SKILL.md · Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch…
git:20261007.b098ce2 · audit A · 48 stars
mkl-debug-ml-training SKILL.md skill
00200200/maintainer-skills-lab · providers/codex/.agents/skills/mkl-debug-ml-training/SKILL.md · Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch…
git:20261007.b098ce2 · audit A · 48 stars
mkl-debug-ml-training SKILL.md skill
00200200/maintainer-skills-lab · providers/windsurf/.windsurf/skills/mkl-debug-ml-training/SKILL.md · Investigate training failures, NaNs, missing gradients, misleading losses, and non-reproducible runs in PyTorch…
git:20261016.4de5604 · audit A · 48 stars

Browse by kind, by grade A, or by owner.