Diagnose an experiment
SkillMonitoring & opsDiagnose a failed, unstable, or invalid ModernTSF experiment. Use for crashes, NaNs, OOMs, suspicious metrics, missing outputs, leakage, or irreproducible runs; not for ordinary result ranking.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Diagnose an experiment skill
What this skill tells your AI
The instructions your AI receives, as published by diaugeia/moderntsf in .agents/skills/diagnose-experiment/SKILL.md and read by ahel’s review.
The Agent reads evidence and determines the root cause with native inspection and debugging tools. Scheduler labels such as OOM are signals, not a diagnosis. Use library state/audit/recovery APIs where their guarantees matter; CLI examples are optional adapters and do not replace investigation.
Preserve the failing config, command, environment, logs, and artifacts before changing anything. Reproduce with the smallest equivalent config and classify the failure as environment, data, shape/contract, model, optimization, resource, evaluation, or output bookkeeping.
When the run belongs to a research round, read its complete log and append the supported failure classification or decision there. Do not paste the full log into the event stream or create a separate diagnostic ledger.
For managed runs, inspect tsf run status <directory> --json and its attempt log
first. Use tsf env audit --config <run.toml> --json for environment failures.
A supported continuation uses tsf run resume <directory> after checking that
configuration, code, and data still match; scientific changes require a new run.
Inspect the resolved matrix with uv run tsf inspect, compare the model's smoke case, and verify dataset splits, tensor shapes, loss/output pairing, metric direction, seeds, device placement, checkpoints, and finite values. For OOM or instability, change one resource or optimization variable at a time; do not silently lower the scientific workload and call it equivalent.
Report the earliest supported root cause, minimal reproduction, evidence, affected runs, and whether existing results are invalid. Apply a fix only when requested, then rerun the minimal reproduction and the affected contract or smoke check. Never overwrite costly artifacts or restart a broad sweep without authorization.
Return repaired runs to run-experiment only for the affected scope. Send valid,
comparable completed outputs to analyze-results.
Signals
- GitHub stars
- 65
- Forks
- 8
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
diagnose-experiment- Source
- github.com/diaugeia/moderntsf