monitor-experiment

Monitor remote training experiments and collect results via SSH, screen, and W&B.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/Lingjie-wang/autoRL --skill monitor-experiment-lingjie-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monitor-experiment
Source: https://github.com/Lingjie-wang/autoRL/tree/main/Auto-claude-code-research-in-sleep/skills/monitor-experiment
Command: npx skills add https://github.com/Lingjie-wang/autoRL --skill monitor-experiment-lingjie-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires wandb.

What problem does it solve? Tracking long-running ML experiments across remote servers, Vast.ai instances, and Modal apps is tedious and error-prone, requiring manual SSH checks, log scraping, and metric lookups. ## Core Features & Use Cases - Remote Status Checks: List running screen sessions over SSH, inspect Vast.ai instances, and query Modal apps to see what is still running. - Result Collection: Capture screen output, fetch JSON result files, and pull training curves and metrics from Weights & Biases. - Cost Awareness: Report running cost for Vast.ai instances and remind you to destroy idle instances; note execution cost for Modal runs. - Use Case: You launched three fine-tuning runs on a rented GPU server last night. Ask to check results, and get a comparison table of metrics versus baseline, W&B dashboard links, and a reminder to shut down the instance if everything finished. ## Quick Start Ask the assistant to check whether the experiment on your GPU server is done and summarize the latest results compared to baseline.

Frequently Asked Questions about monitor-experiment

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

FAQPage Schema
How do I check if my remote training experiment is finished?

Check running screen sessions over SSH with screen -ls, then capture the last lines of each session using screen hardcopy. Finished runs typically produce JSON result files you can fetch and parse for final metrics.

How to pull training metrics from Weights & Biases via API?

Use the wandb Python API to list runs in a project, scan run history for metrics like train/loss and eval/loss, and fetch the run summary for final values. This gives loss curves and convergence signals beyond raw screen output.

Can I monitor experiments running on Vast.ai or Modal?

Yes. For Vast.ai, read the SSH host and port from vast-instances.json and check instance status with vastai show instances. For Modal, use modal app list and modal app logs; finished apps disappear from the list automatically.

Why does screen hardcopy fail when collecting experiment output?

Hardcopy can fail if the screen session ended or lacks permissions. In that case, fall back to checking log files or tee output written by the training script, or look for JSON result files in the results directory.

How do I avoid unexpected Vast.ai GPU rental costs?

Track running cost by multiplying elapsed hours by the hourly rate stored in vast-instances.json. When all experiments on an instance are done, destroy the instance to stop billing; Modal auto-scales to zero so no cleanup is needed there.