training-check

Detect WandB metric anomalies during active model training sessions.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/KwongFuk/codex-skills --skill training-check-kwongfuk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: training-check
Source: https://github.com/KwongFuk/codex-skills/tree/main/global/training-check
Command: npx skills add https://github.com/KwongFuk/codex-skills --skill training-check-kwongfuk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Periodically read WandB metrics during training to catch problems early (NaN, loss divergence, idle GPUs). Avoids wasting GPU hours on broken runs. Use when training is running and you want automated health checks.

Core Features & Use Cases

  • Recurring health checks during active training sessions
  • Signals monitored: loss trend, eval metrics, NaN/Inf, spikes, learning rate, gradient norms
  • Fallback method: read training logs via SSH if WandB API is unavailable

Quick Start

Create a recurring job that runs /training-check <entity>/<project>/<run_id> every 10 minutes.

Frequently Asked Questions about training-check

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

FAQPage Schema
How do I monitor WandB metrics for anomalies during ML training?

You can monitor WandB metrics for anomalies by setting up a recurring job that fetches run history and analyzes signals like loss trends, NaN/Inf values, and gradient norms during ML training. This enables automated health checks at adjustable intervals.

Can I detect NaN values or loss divergence automatically while a model is training?

Yes, you can detect NaN values or loss divergence automatically by running recurring health checks on active training sessions. The system analyzes WandB metrics and alerts you when signals degrade, preventing wasted GPU hours on broken runs.

How do I run automated health checks if the WandB API is unavailable?

To run automated health checks when the WandB API is unavailable, the system falls back to reading training logs via SSH. This ensures you can still monitor metrics and detect anomalies even without direct API access.

What ML training signals can I monitor for spikes and anomalies?

You can monitor several ML training signals for spikes and anomalies, including loss trend, eval metrics, NaN/Inf values, learning rate, and gradient norms. These are fetched via the WandB API to detect early problems during active model training.

How often should I check WandB metrics to catch training problems early?

You should check WandB metrics every 10 minutes to catch training problems early. By creating a recurring job at adjustable intervals, you can monitor active runs for loss divergence or idle GPUs and avoid wasting compute resources.

Does training-check work with SSH log reads for monitoring ML training?

Yes, training-check works with SSH log reads for monitoring ML training. If the WandB API is unavailable, it automatically falls back to reading training logs via SSH to detect metric anomalies and signal degradation.