Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add wenhaochai/claude-plugins --skill training-monitorgit clone --depth 1 https://github.com/wenhaochai/claude-pluginsWrote 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.
[](https://agentmods.dev/skills/wenhaochai/claude-plugins/training-monitor)<a href="https://agentmods.dev/skills/wenhaochai/claude-plugins/training-monitor"><img src="https://agentmods.dev/badge/skills/wenhaochai/claude-plugins/training-monitor/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.
<a href="https://agentmods.dev/skills/wenhaochai/claude-plugins/training-monitor"><img src="https://agentmods.dev/badge/skills/wenhaochai/claude-plugins/training-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00225 | $0.07023 |
| Opus 5.5 | $0.00090 | $0.02809 |
| Sonnet 5.5 | $0.00045 | $0.01405 |
| Haiku 4.5 | $0.00022 | $0.00702 |
Grade A, and why
training-monitor 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Training monitor
A pretraining run fails in a small number of ways, and most of them show up in a handful of every-step numbers before the loss curve moves. This skill restates the metric set, the reduction rules, and the triage order from Deng (2026) so that an agent can read a run the same way each time. The source is explicit that "every lab has its own dashboard, so this list is necessarily opinionated"; treat it as a starting point that the run's own healthy history then calibrates.
Scope. Language-model pretraining first; the loss, gradient, system, tensor, and evaluation sections also apply to large SFT and RL runs with the obvious substitutions. The expert-balance section applies only to mixture-of-experts models, the modality section only to multimodal models. This skill contains no code: which checks exist, where they run, and whether they become a script is the reading agent's decision, made from the procedure below.
How to apply this to a project
- Inventory before you instrument. List what the training stack already logs, namely the tracker keys, the stdout lines, and the evaluation outputs. Most stacks already emit the global loss, a global gradient norm, step time, tokens per second, and a held-out loss.
- Map the inventory onto the table in the next section and mark each row as present, derivable, or missing. Derivable rows come from logged quantities without new hooks: co-spike count from the loss and gradient-norm histories, update ratio from update and weight norms when both are logged, tokens per second from token counts and step time, straggler score from per-rank step times.
- Fill P0 gaps first and leave P1 and P2 for when a P0 signal misbehaves. A monitor that is complete but late is worth less than one that is partial and on time.
- Set thresholds from healthy runs, never from one failure. Deng: "Choose thresholds from healthy runs. Do not tune the window length or the $z_t$ cutoff around one failure." Record the chosen thresholds next to the run config so the next run inherits them.
- Pick the sampling interval $K$ from the cost rules in Part V, then measure the overhead on the actual model and hardware before adding anything.
- Decide the tooling last. A check that repeats every run or chains into a gate deserves a script with an exit status. A single investigation deserves a query or a notebook. A short run deserves a person reading the dashboard. The doctrine is the same in all three.
- When something looks wrong, walk the triage order in Part I and stop at the first step that explains the symptom; open per-layer charts only when the walk ends without an explanation.
- Compare runs by tokens or FLOPs, not by step, whenever batch size or sequence length differs between them.
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.
- 12d ago Changed · +64 tokens per session 1b82b2a9706c
- 14d ago Changed · -33 tokens per session 6c9c84713687
- 28d ago First seen · 253 lines · 194 tokens per session scan A bf3a5a5e0cea
training-monitor is a skill published in the GitHub repository wenhaochai/claude-plugins (17 stars, last pushed 2d ago), licensed MIT. It adds 225 tokens to every session and 7,023 once invoked, about $0.0009 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-09-20.
Other skills, from other repositories
agent-platform-model-registry
Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.
foundry-config-setup
Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.
google-cloud-solution-agentic-analytics-spark-knowledge-catalog
Discovers requirements and designs an end-to-end governed agentic analytics solution using Knowledge Catalog and Managed Service for Apache Spark (Lightning Engine). Use when designing data science and analytics workflows across structured and unstructured distributed data (including in S3, Azure Blob, AlloyDB, and…
training-check
Interactively monitor training metrics from the current Codex session, periodically checking WandB or fallback logs for NaN, divergence, plateaus, and broken runs.
nemo-automodel-launcher-config
Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.
finetuning
Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file…