experiment

Orchestrate machine learning training experiments with GPU allocation and result parsing.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/ChuaHanChong/ml-optimizer --skill experiment-chuahanchong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: experiment
Source: https://github.com/ChuaHanChong/ml-optimizer/tree/main/skills/experiment
Command: npx skills add https://github.com/ChuaHanChong/ml-optimizer --skill experiment-chuahanchong

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, pyyaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the execution, monitoring, and result parsing of individual machine learning training experiments, ensuring reliable and reproducible runs.

Core Features & Use Cases

  • Experiment Execution: Runs training scripts with specified configurations on designated GPUs.
  • Environment Setup: Manages code environments using git worktrees for isolated experiments.
  • Monitoring & Error Handling: Includes pre-flight checks, early abort detection, and an auto-repair loop for common training failures.
  • Use Case: When optimizing hyperparameters, this Skill is used to launch each individual training run with a unique set of parameters, logging its progress and outcome.

Quick Start

Execute the training script for experiment 'exp-001' on GPU 0 with the provided configuration.

Frequently Asked Questions about experiment

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

FAQPage Schema
How do I run and monitor ML training experiments automatically?

To run and monitor ML training experiments automatically, you need a system that orchestrates execution, manages GPU allocation, and parses results. This Skill automates that entire lifecycle, including environment setup and error handling, for reliable single-experiment runs.

How does GPU allocation work for individual training runs?

GPU allocation for individual training runs works by designating specific GPUs for experiment execution. This Skill manages that designation, ensuring isolated environments and proper resource enforcement for each training script.

What's the best way to handle training failures and timeouts during hyperparameter tuning?

Handling training failures and timeouts during hyperparameter tuning requires early abort detection and auto-repair loops. This Skill enforces timeouts and automatically repairs common training failures to ensure deterministic and robust experimentation.

Do I need PyTorch and PyYAML to automate training script execution?

Yes, you need PyTorch and PyYAML to automate training script execution with this Skill. These dependencies are required to manage the environment setup, configurations, and execution of your machine learning experiments.

How do I isolate ML experiments using git worktrees?

Isolating ML experiments using git worktrees involves creating separate working directories for each run. This Skill manages code environments automatically through git worktrees to ensure isolated and reproducible experimentation.

Why does my training experiment fail before execution starts?

Training experiments often fail before execution starts due to environment or configuration errors. This Skill performs pre-flight checks and uses an auto-repair loop to detect and resolve common setup failures before the main training process begins.