Skip to main content
Run any Skill in Manus
with one click

training-code-auditor

Stars85
Forks3
UpdatedApril 9, 2026 at 07:11

Use this skill BEFORE executing any machine learning training script — especially YOLOv8, PyTorch, or custom training code. This skill audits the generated training code for: (1) correct loss functions for the task (e.g. BCE+DiceLoss for segmentation, NOT MSE), (2) correct evaluation metrics at the right IoU thresholds (mAP@IoU=0.75 for instance segmentation, not just mAP@0.5), (3) fake, placeholder, random, or stub code that would silently produce garbage results, (4) data pipeline correctness (no random labels, real file paths, correct normalization). Trigger this skill whenever training code is generated or reviewed, when the user says "check my training script", "is this code correct", "audit the training code", "review before training", or any time code contains TODO, pass, random, np.random, torch.randn used as fake data, or placeholder comments. NEVER let training start without passing this audit.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly