# /experiment-bridge: Turn an experiment plan into running, reviewed GPU jobs

Source: https://trendhub.net/skills/wanshuiyin-auto-claude-code-research-in-sleep/experiment-bridge
Skill folder: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/tree/main/skills/experiment-bridge
Pack: ARIS: Auto Research in Sleep (https://trendhub.net/skills/wanshuiyin-auto-claude-code-research-in-sleep)
Works with: Claude Code (project install), Codex reviewer (needed for review skills), Claude Code (plugin), Codex CLI

experiment-bridge connects planning to results. It reads the experiment plan and proposal, writes or adapts the training and evaluation code, has a second model check that code for logic bugs, runs a small sanity job first, then deploys the full set of runs and fills in the tracker with initial results for the review loop.

## When to use it

- You have an experiment plan and want it implemented and launched without hand-coding each script.
- You want to build experiments on top of an existing GitHub codebase.
- You have many seeds or configurations to run and need them queued and tracked.

## How it works

1. **Parse the plan**: The agent extracts milestones, datasets, baselines, metrics, seeds, success criteria and the GPU-hour budget.
2. **Implement**: It reuses existing code, adds configurable training and evaluation scripts with fixed seeds and JSON or CSV output, and self-checks against the proposal.
3. **Cross-model code review**: A reviewer checks the code for wrong losses, bad splits and evaluation against model output instead of ground truth, and critical issues are fixed first.
4. **Sanity first**: It runs the smallest job and, if it fails, allows two patch attempts and two clean rewrites before reporting the failure.
5. **Deploy and collect**: It launches milestones in order through run-experiment or a job queue, then records results against each success criterion.

## What it steers the agent away from

- Burning GPU hours on code with an evaluation bug a reviewer would have caught.
- Piling more patches onto a failing script when a fresh rewrite would serve better.
- Deleting your plan, tracker, data or results while rebuilding failed scripts.

## What it can touch

Clones a base repository if given, writes and runs experiment code, deploys jobs to configured GPU machines, calls an external reviewer and updates files under refine-logs.

## Pairs well with

- `/auto-review-loop`
- `/result-to-claim`
- `/run-experiment`

## Questions

### Can I inspect code before it deploys?

Yes. Set auto deploy to false and it stops with a deployment summary before launching anything.

### What if the Codex reviewer is unavailable?

The code review step is skipped and the workflow continues to the sanity run.
