training-check

Detect training quality failures in Weights & Biases runs.

Updated May 29, 2026
One-click install
npx skills add https://github.com/Mang30/myskills --skill training-check-mang30
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: training-check
Source: https://github.com/Mang30/myskills/tree/main/skills/training-check
Command: npx skills add https://github.com/Mang30/myskills --skill training-check-mang30

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents wasted GPU compute by detecting early signs of broken or degrading training quality in Weights & Biases metrics (such as NaNs, loss divergence, and stalled or worsening evaluation results) instead of discovering the issue only after training ends.

Core Features & Use Cases

  • Periodically validates training quality by monitoring loss trends, evaluation metric changes, learning-rate behavior, and gradient norm patterns.
  • Makes safe decisions based on signal clarity: directly stop when metrics are clearly bad, continue when clearly fine, and escalate to an MCP/“Codex” judgment only when ambiguous.
  • Provides resilience via fallbacks by using WandB API reads when available and reverting to log-file inspection over SSH when WandB is unreachable.
  • Use case: your model is running unattended for hours; this skill runs at an interval (10→20→30→60 minutes as health improves) to stop early when the run becomes obviously bad.

Quick Start

Use the training-check skill for wandb run <entity>/<project>/<run_id> while training is running so it can automatically monitor and stop or continue based on metric health.

Frequently Asked Questions about training-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically detect loss divergence during GPU training?

Automatically detect loss divergence by periodically sampling Weights & Biases metrics to monitor loss trends, NaN/Inf occurrences, and gradient norm stability, stopping bad runs early to save compute. The skill checks metric health at adaptive intervals during active training.

What causes NaN or Inf values in training metrics and how can I catch them?

NaN or Inf values in training metrics indicate numerical instability or broken gradients, caught by periodic health checks that sample loss trends and gradient norms from Weights & Biases. The monitoring process identifies these anomalies and stops the run before more GPU hours are wasted.

Can I monitor Weights & Biases runs without an active API connection?

You can monitor Weights & Biases runs without an active API connection because the skill provides fallback resilience by reverting to log-file inspection over SSH when the WandB API is unreachable. This ensures continuous monitoring of training quality even during network disruptions.

How do I stop a model training run automatically when evaluation metrics stall?

Stop a model training run automatically when evaluation metrics stall by configuring periodic health checks that monitor eval metric changes, learning-rate behavior, and loss trends. The skill safely decides to stop when metrics are clearly bad or escalate when ambiguous.

Does this training monitor support adaptive checking intervals as run health improves?

This training monitor supports adaptive checking intervals that scale from 10 to 60 minutes as run health improves, reducing unnecessary checks on stable runs. It periodically validates training quality by sampling loss trends, evaluation metrics, and gradient norm patterns.