Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Pre-flight checklist for long-running ML training jobs covering config diff, run naming, path verification, monitoring setup, and restart-cleanup. Use when the user asks to launch, kick off, start, restart, or kill a training run, or mentions launching a multi-hour or multi-day GPU job (python train, accelerate launch, torchrun, deepspeed, sbatch, tmux training).
.claude/skills/fcakyon-launch/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 20% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 8% | 0% |
Long training jobs are expensive to fail. A 12-hour run that crashes on epoch 3 from a missing dataset path or a default workers=8 against an NFS mount is a full day lost. This skill walks five quick checks before you commit the GPUs.
The agentic Stop hook in this plugin will route here from reason when an assistant tries to launch a run without going through the checklist.
The user just asked to:
Or the user is about to run any of: python train.py, accelerate launch, torchrun, deepspeed, sbatch train.sh, tmux new-session ... python ... train, wandb sweep.
The most expensive failure is launching with the wrong knobs. Before starting:
bashfind configs/ recipes/ experiments/ -maxdepth 3 \( -name '*.yaml' -o -name '*.yml' -o -name '*.json' -o -name '*.toml' \) -mtime -30 2> /dev/null | head
Pick the most-recently-modified config that resembles the intended run (same model family, same task). Diff against the intended config:
bashdiff -u configs/baseline_v1.yaml configs/intended.yaml
Walk every diff line. For each, ask: _is this difference intentional and motivated, or is it a stale default I forgot to set?_ Common silent regressors:
num_workers / dataloader workers (default in many repos is 8: wrong on NFS)batch_size (per-device vs global mismatch under DDP)learning_rate (linearly scaled with batch size; if batch changed, lr should too)optimizer betas / weight decay (paper-default vs framework-default)mixed_precision (fp16 vs bf16 matters for some models)gradient_accumulation_stepsseed (still set if you care about reproducibility)If no reference exists in this project, ask the user to point at one. Do not launch with framework defaults alone.
The run name will live in wandb / neptune / checkpoint dirs / status reports for the rest of its life. It must describe the experiment in plain English without internal codes:
run-1, wave-2, cs-ad, phase2-internal7src-fastvit-s-featmap-mlp-dinov3, coco-baseline-bs256-lr3e-4, swin-t-imagenet-distill-from-vit-lThe pattern: <dataset/task>-<model>-<key-config>-<distinctive-recipe-piece>. If you can't describe the experiment from the name in one sentence, the name is wrong. The Stop hook flags any run reference that uses session-local labels.
Before launching, every path the run depends on must be confirmed to exist:
bash# Dataset path ls -la /path/to/dataset | head # Pretrained checkpoint (if loading) ls -la /path/to/checkpoint.pt # Output directory parent (must exist; the run dir will be created) ls -la /path/to/runs/ # Config file cat configs/intended.yaml | head
Never trust a path that was recalled from memory. The destructive_path_guard.sh hook will already block obvious cases for rm/mv, but the launch path needs the same scrutiny, a run started with a nonexistent dataset path crashes 30 minutes in instead of immediately.
Auto-detect the experiment tracker:
WANDB_API_KEY set or wandb import in the launcher → wandbNEPTUNE_API_TOKEN set → neptuneMLFLOW_TRACKING_URI set or mlflow in launcher → mlflowruns/ or lightning_logs/ → tensorboardConfirm the run will appear under the right project / entity / experiment-name. Confirm any tags / groups for cohort comparison are set.
Estimate wall-clock duration: epochs × seconds-per-epoch / 3600 = hours. State the ETA in your local TZ (the system's TZ, which the timezone_scrub.sh hook validates against). If the run will straddle a meeting / sleep / OOO window, decide whether to defer or split.
If this is a restart of a previously-failed run, or a kill before launching a replacement, purge stale artifacts in this exact order:
rm -rf /local/runs/<run-name> (verify path first; the destructive_path_guard.sh will warn).rm -rf /remote/runs/<run-name> (or equivalent).wandb api.run(...).delete(), neptune run.stop() + delete via UI, etc.). Stale tracker runs corrupt later comparisons.scancel <jobid>), the lambda labs reservation, the cron entry, etc. Runs that "killed but the GPUs are still allocated" are a recurring waste.Skipping any of these creates ghost state that will confuse the next launch or the next comparison.
When the user invokes this skill, walk the five checks (or three checks + cleanup, if killing) and report which passed and which failed. Block the launch on any failure unless the user explicitly waives the check.
For a clean launch, end with the launch command itself in a fenced block, ready to copy.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 9,167 | 15,362 | +68% | 1 | 1 | 0% | 1,672 | 4,271 | +155% | 0 | 0 | — |
case-02 | fail→fail | 9,911 | 5,872 | -41% | 1 | 1 | 0% | 1,574 | 1,650 | +5% | 0 | 0 | — |
case-03 | fail→fail | 8,892 | 5,662 | -36% | 1 | 1 | 0% | 1,600 | 1,725 | +8% | 0 | 0 | — |
case-04 | fail→pass | 15,274 | 7,966 | -48% | 1 | 1 | 0% | 2,592 | 2,813 | +9% | 0 | 0 | — |
case-05 | fail→fail | 17,909 | 7,765 | -57% | 1 | 1 | 0% | 2,808 | 2,595 | -8% | 0 | 0 | — |
case-06 | pass→pass | 12,318 | 3,290 | -73% | 1 | 1 | 0% | 2,250 | 1,842 | -18% | 0 | 0 | — |
case-07 | fail→pass | 15,740 | 6,927 | -56% | 1 | 1 | 0% | 2,730 | 2,519 | -8% | 0 | 0 | — |
case-08 | fail→pass | 17,806 | 3,528 | -80% | 1 | 1 | 0% | 2,725 | 2,057 | -25% | 0 | 0 | — |
case-09 | pass→pass | 11,936 | 5,326 | -55% | 1 | 1 | 0% | 2,201 | 2,336 | +6% | 0 | 0 | — |
case-10 | fail→pass | 9,336 | 3,604 | -61% | 1 | 1 | 0% | 1,741 | 2,081 | +20% | 0 | 0 | — |
case-11 | pass→pass | 6,424 | 4,669 | -27% | 1 | 1 | 0% | 1,049 | 2,194 | +109% | 0 | 0 | — |
case-12 | fail→pass | 9,644 | 2,147 | -78% | 1 | 1 | 0% | 1,623 | 1,753 | +8% | 0 | 0 | — |
case-13 | pass→pass | 12,105 | 5,397 | -55% | 1 | 1 | 0% | 1,983 | 2,303 | +16% | 0 | 0 | — |
case-14 | pass→pass | 10,196 | 3,265 | -68% | 1 | 1 | 0% | 1,722 | 1,974 | +15% | 0 | 0 | — |
case-15 | pass→pass | 13,248 | 4,474 | -66% | 1 | 1 | 0% | 1,932 | 2,007 | +4% | 0 | 0 | — |
case-16 | pass→pass | 9,114 | 1,563 | -83% | 1 | 1 | 0% | 1,622 | 1,614 | -0% | 0 | 0 | — |
case-17 | fail→pass | 13,504 | 3,675 | -73% | 1 | 1 | 0% | 2,046 | 1,991 | -3% | 0 | 0 | — |
case-18 | pass→pass | 7,199 | 2,080 | -71% | 1 | 1 | 0% | 1,126 | 1,657 | +47% | 0 | 0 | — |
case-19 | pass→pass | 7,488 | 4,904 | -35% | 1 | 1 | 0% | 1,235 | 2,305 | +87% | 0 | 0 | — |
case-20 | pass→pass | 12,934 | 9,915 | -23% | 1 | 1 | 0% | 2,660 | 3,356 | +26% | 0 | 0 | — |
case-21 | pass→fail | 17,270 | 10,655 | -38% | 1 | 1 | 0% | 3,428 | 3,461 | +1% | 0 | 0 | — |
case-22 | pass→pass | 17,963 | 12,610 | -30% | 1 | 1 | 0% | 3,201 | 3,661 | +14% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 20 counted toward the lift figure. The other 2 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +23 percentage points is the difference between those two pass rates over the 20 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.