
Run Experiment
Automates the entire ML experiment deployment flow across local GPUs, SSH servers, Vast.ai instances, and Modal serverless. It reads your CLAUDE.md to figure out where to run, checks GPU availability, syncs code via rsync or git, spins up screen sessions with the right CUDA device bindings, and optionally integrates W&B logging if you want it. The Vast.ai path is smart about reusing running instances or provisioning new ones with cost analysis, and Modal gets full delegation to a separate skill since it needs no SSH or Docker wrangling. If you're tired of manually sshing into boxes, finding free GPUs, and copying launch commands into screen sessions, this compresses that whole routine into one natural language request. The auto-destroy feature for Vast.ai instances after job completion is a nice touch for cost control.
- skills.sh installs
- 554
- GitHub stars
- 18.9K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add wanshuiyin/auto-claude-code-research-in-sleep --skill run-experiment --agent claude-codeInstalls into .claude/skills of the current project.
Files
Run Experiment
Deploy and run ML experiment: $ARGUMENTS
Workflow
Step 1: Detect Environment
Read the project's CLAUDE.md to determine the experiment environment:
- Local GPU (
gpu: local): Look for local CUDA/MPS setup info - Remote server (
gpu: remote): Look for SSH alias, conda env, code directory - Vast.ai (
gpu: vast): Check forvast-instances.jsonat project root — if a running instance exists, use it. Also checkCLAUDE.mdfor a## Vast.aisection. - Modal (
gpu: modal): Serverless GPU via Modal. No SSH, no Docker, auto scale-to-zero. Delegate to/serverless-modal.
Modal detection: If CLAUDE.md has gpu: modal or a ## Modal section, the entire deployment is handled by /serverless-modal. Jump to Step 4: Deploy (Modal) — Steps 2-3 are not needed (Modal handles code sync and GPU allocation automatically).
Sponsors
Details
- Repository
- github.com/wanshuiyin/auto-claude-code-research-in-sleep
- Categories
- Backend & APIs, DevOps & CI/CD, Data Science & ML, Release Management, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from wanshuiyin/auto-claude-code-research-in-sleep
All 41- Paper Slides551
- Monitor Experiment547
- Proof Writer545
- Paper Compile539
- Ablation Planner537
- Mermaid Diagram537
- Result To Claim537
- Research Refine Pipeline533
- Rebuttal532
- Experiment Bridge531
- Idea Discovery Robot530
- Paper Poster528
- Auto Review Loop Llm525
- Auto Review Loop Minimax519
- Dse Loop519
- Feishu Notify517
- Training Check512
- System Profile503
- Comm Lit Review Claude Single200
- Semantic Scholar670
- Paper Figure657
- Research Lit651
- Idea Discovery613
- Idea Creator609