Skip to content
Research
Skill

/launch

Pre-flight checklist for long-running ML training jobs and GitHub research tracker issue formatting, covering config diff, run naming, path verification, monitoring setup, restart-cleanup, and canonical tracker issue layout. Use when the user asks to launch, kick off, start,

From plugin
labrat
48111 skills

Claude Code

$ npx -y skills add fcakyon/labrat --skill launch --agent claude-code

SKILL.md

launch.SKILL.md
name: launch
description: Pre-flight checklist for long-running ML training jobs and GitHub research tracker issue formatting, covering config diff, run naming, path verification, monitoring setup, restart-cleanup, and canonical tracker issue layout. Use when the user asks to launch, kick off, start, restart, or kill a training run, format or update a research tracker issue, or mentions launching a multi-hour or multi-day GPU job (python train, accelerate launch, torchrun, deepspeed, sbatch, tmux training).

Launch: pre-flight checklist for long ML training jobs

For creating or updating GitHub research and experiment tracker issues (top reproduction accordion, concise overview bullets, in-place replaced summary comparison figures via `gh --attach`, qualitative annotated prediction montages/histograms for claims, summary table, and closed `<details>` ablation groups with uniform column schemas), follow [references/tracker-issues.md](references/tracker-issues.md).

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 six 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.

When to run

The user just asked to:

  • launch / kick off / start / fire up a training run
  • restart a run that died
  • kill a current run (also runs the cleanup half of the checklist)
  • review a launch command before submitting

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 checklist

1. Config diff against a reference run

The most expensive failure is launching with the wrong knobs. Before starting:

find 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:

diff -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_steps`
  • `seed` (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.

2. Run name discipline

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:

  • bad: `run-1`, `exp-b`, `final-v2`, `phase2-internal`
  • good: `imagenet-resnet50-bs256-lr0.1-cosine`, `coco-baseline-bs256-lr3e-4`, `swin-t-imagenet-distill-from-vit-l`

The 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.

3. Path verification

Before launching, every path the run depends on must be confirmed to exist:

# 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. A run started with a nonexistent dataset path crashes 30 minutes in instead of immediately.

4. Monitoring setup

Auto-detect the experiment tracker:

  • `WANDB_API_KEY` set or `wandb` import in the launcher → wandb
  • `NEPTUNE_API_TOKEN` set → neptune
  • `MLFLOW_TRACKING_URI` set or `mlflow` in launcher → mlflow
  • presence of `runs/` or `lightning_logs/` → tensorboard
  • none of the above → ask the user; "no monitoring" is rarely the right answer for a multi-hour run

Confirm the run will appear under the right project / entity / experiment-name. Confirm any tags / groups for cohort comparison are set.

5. ETA in your local timezone

Estimate wall-clock duration: `epochs × seconds-per-epoch / 3600 = hours`. State the ETA in your local TZ (the system's TZ). If the run will straddle a meeting / sleep / OOO window, decide whether to defer or split.

6. Code matches a pushed commit

On the machine that runs the job, in the repo it runs from:

git status --porcelain            # must print nothing
git fetch -q && git rev-parse HEAD @{u}   # both hashes must match

Uncommitted or unpushed changes mean nobody can tell later which code produced the run. If either check fails, edit locally, commit, push, and `git pull` on the host before launching. Record the commit hash with the run.

Restart and kill cleanup

If this is a restart of a previously-failed run, or a kill before launching a replacement, purge stale artifacts in this exact order:

1. **Local checkpoint dir** on the launching machine: `rm -rf /local/runs/<run-name>` (verify path first). 2. **Remote artifact dir** on the cluster / NFS / object store: `rm -rf /remote/runs/<run-name>` (or equivalent). 3. **Experiment tracker run**: delete via the tracker's API (`wandb api.run(...).delete()`, neptune `run.stop() + delete via UI`, etc.). Stale tracker runs corrupt later comparisons. 4. **Scheduler reservation**: cancel the SLURM job (`scancel <jobid>`), the lambda labs reservation, the cron entry, etc. Runs that "killed bu

Read more
@fcakyon
Ships withlabrat

PhD Research Skills for Claude Code: paper reproduction, experiment design, paper review, result comparison and more.

Stars on GitHub

Momentum

stars in total
481
Star history of fcakyon/phd-skills on GitHub, a chart by star-history.com

Other skills on labrat.

compare

compare

Same-epoch comparison and analysis of training runs across wandb, neptune, tensorboard, mlflow, or local result files. Aligns…

@fcakyon@fcakyonInstall Skill
dataset-curation

dataset-curation

Use when the user wants to analyze dataset bias, create stratified samples, evaluate fairness, or plan dataset collection.…

@fcakyon@fcakyonInstall Skill
debug

debug

Evidence-before-action diagnosis of failing ML experiments. Probes the system before guessing causes, process list, dmesg, GPU…

@fcakyon@fcakyonInstall Skill
experiment-design

experiment-design

Use when the user wants to design experiments, plan ablation studies, structure baselines, or create incremental evaluation…

@fcakyon@fcakyonInstall Skill
literature-research

literature-research

Use when the user wants to find related work, survey a research area, run a literature gap analysis, or discover open-source…

@fcakyon@fcakyonInstall Skill
paper-check

paper-check

Check a paper against its code, results and citations before submission (numbers, terms, code vs paper, formulas vs code, BibTeX…

@fcakyon@fcakyonInstall Skill

More skills from other plugins.

academic-paper-review

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…

deer-flow13d85k
@bytedance@bytedanceInstall Skill
last30days

last30days

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…

@mvanhorn@mvanhornInstall Skill

Questions about launch.

Which coding agents can use launch?
launch installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.