
Auto Research
OfficialFreeStreamline your NeMo-RL experiments with automated workflows.
Free · Opens the source repo
What Auto Research does
The Auto Research skill is designed to facilitate the execution of iterative experiments using NeMo-RL, providing a structured workflow for hypothesis testing and discovery in reinforcement learning. This skill guides users through the entire experiment lifecycle, from understanding the necessary recipes and environments to launching and analyzing experiments. By leveraging git as a research ledger, it ensures that all changes are tracked and that users can maintain a clear history of their experimental endeavors.
The workflow begins with the inspection of the current git state, ensuring that unrelated user changes are preserved. It emphasizes the importance of small, reproducible changes and the use of authoritative metrics from recipes to guide the experiment. Users are encouraged to create a unique branch for each experiment, allowing for easy management and tracking of different hypotheses. The skill also integrates safety measures, requiring user confirmation before executing any significant operations, such as creating branches or launching compute-intensive jobs.
In addition to managing the experimental setup, Auto Research provides mechanisms for logging and monitoring. It creates untracked TSV logs to record detailed information about each experiment, including metrics, elapsed time, and job status. This level of detail is essential for evaluating the success of experiments and making informed decisions about future directions. The skill also supports the use of session memory to keep track of ongoing campaigns and user objectives, ensuring continuity and clarity throughout the research process.
Overall, Auto Research is ideal for researchers and developers working with NeMo-RL who need a systematic approach to conducting experiments. It is particularly useful for those looking to explore various hypotheses and metrics while maintaining a clean and organized workflow. However, it is not suitable for tasks such as bug fixes, code reviews, or any single-file changes, as its focus is strictly on the experimental lifecycle.
When to use it
Use Auto Research when you need to conduct multiple iterative experiments in NeMo-RL and require a structured approach to hypothesis testing.
When not to use it
Do not use this skill for tasks outside of the experimental lifecycle, such as bug fixes, documentation, or refactoring code.
What you can build with it
Conducting Multiple Experiments
Use Auto Research to run a series of experiments on different NeMo-RL recipes, tracking each one separately for better analysis.
Hypothesis Testing
Leverage the skill to automate the testing of various hypotheses in reinforcement learning, ensuring reproducibility and accurate logging.
Managing Experiment Lifecycle
Utilize Auto Research to oversee the full lifecycle of experiments, from initial setup to final analysis, while maintaining a clear history with git.
How to install Auto Research
View source1. Install with the skills CLI
npx skills add nvidia/skills/nemo-rl-auto-research --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by nvidiaAuto Research
Run iterative NeMo-RL experiments in this repository against the user's stated objective, such as accuracy, reward, throughput, latency, stability, or another recipe-specific metric, with git as the research ledger.
Treat dependencies as ready, but choose the runtime deliberately. Use the recipe's authoritative metric as the source of truth. Keep changes small, reproducible, and simple. Preserve unrelated user work.
Safety: This skill creates git branches, writes files to disk, and executes shell commands including training jobs that may consume GPU resources. Always confirm the campaign plan with the user before creating branches or launching jobs. Do not execute destructive git operations (reset, force-push) or launch compute-intensive jobs without explicit user approval.
Use the nemo-rl-session-memory skill for every auto-research campaign. Start or resume a session record before branching, then checkpoint after forming the plan, before and after meaningful edits or long-running launches, when the user changes direction, and before handoff or final summary.
After context compaction, handoff, disconnect, or a long gap, reload this skill and any companion skills already in use, read the latest nemo-rl-session-memory handoff, and restate the overall objective, stop rules, current branch, and latest result before continuing. Treat follow-up steering as additive unless the user explicitly changes the main objective.
Workflow
- Inspect the current git state and identify unrelated user changes before branching.
- Use a shared branch prefix. Prefer a user-provided one; otherwise create a suggestive default such as
autoresearch/2026-03-24-dapo-qwen2p5. - Read the target recipe, its parents, and the relevant code paths in
examples/run_grpo.py,nemo_rl/models/,nemo_rl/algorithms/,nemo_rl/environments/, anddocs/. For NeMo-gym recipes, also inspectexamples/nemo_gym/entrypoints, configs, and launch scripts. - Translate any user stop rule into explicit values you can monitor, such as the requested number of experiments as
target_experiment_count,campaign_deadline,per_experiment_timeout, ortarget_metric. - Verify required data, checkpoints, runtime inputs, and the launcher.
- Create an untracked TSV log and per-experiment log directory.
- Run a baseline first on
<prefix>/baselineif none exists.
For GPU, CPU-heavy, distributed, or long-running work, choose the execution environment deliberately. Run locally when the current machine has suitable GPUs and capacity; otherwise follow the user's requested environment, use launch-nemo-rl for nrl-k8s/Kubernetes, use the environment's native launcher for Slurm, or clarify with the user before launching. Use CPU-only local runs only for light inspection, dry runs, and short non-GPU checks.
If the user mentions Brev, or if /home/ubuntu/RL exists and /ephemeral is available as a volume, treat the machine as a Brev instance and use nemo-rl-brev-etiquette before creating experiment directories, caches, logs, checkpoints, or authenticated runtime state.
Branching
- Put every experiment on its own branch under the shared prefix.
- Keep every branch, even for failed or weak ideas.
- Put at least one commit on each branch for the hypothesis.
- Add follow-up fix commits on the same branch when a rerun is justified.
- Never stash, reset, or overwrite unrelated user changes silently. If dirty files overlap the experiment, use a separate worktree or ask before proceeding.
See references/git-workflow.md for the exact pattern.
Loop
- Pick one concrete hypothesis.
- Create a branch such as
autoresearch/2026-03-24-dapo-qwen2p5/prompt-compact-schema. - Edit the smallest set of files needed.
- Commit the hypothesis.
- Before launching the run, check the monitored stop conditions. Do not stop early unless one is already clearly met.
- Identify the authoritative metric source from the recipe or logging code, then run with a unique log path:
LOG_DIR=reports/auto_research/<campaign>/<experiment>
mkdir -p "$LOG_DIR"
uv run <entrypoint> > "$LOG_DIR/run.log" 2>&1
- If the user gave a per-experiment wall-clock limit, enforce it explicitly. Prefer a recipe-level timeout when one already exists; otherwise wrap the command with an external timeout. If both exist, honor the tighter limit.
- Extract the primary metric with a command appropriate for the actual log format. If extraction is empty, inspect the last log lines and the recipe's logging path before marking the run.
- Record index, branch, parent commit, commit, recipe, metric name, metric value, memory (GB), elapsed time (minutes), launcher, job id, command, log path, status, and description in the TSV, along with enough timing or count information to evaluate the stop rule.
- Periodically print user-facing progress updates during the campaign. Include the current branch, latest known result, attempted experiment count, remaining experiment count if applicable, remaining campaign time if applicable, and whether any stop condition has been met yet.
- Re-check the monitored stop conditions after the experiment completes and state the result explicitly, for example
stop condition not yet met: 17/24 attempted, 6h12m remainingorstop condition met: 24/24 attempted. - Mark the result as
keep,discard, orcrash, then move to the next branch unless a user-specified stop condition has been clearly met.
For count-based stop rules, count attempted ideas, not only successful or fully completed runs.
For campaign time budgets, convert the user limit into an absolute deadline at the start of the campaign and keep checking remaining time.
For per-experiment budgets, enforce a timeout on every run and treat overruns as failures.
Examples:
do 50 experiments: stop only after 50 attempted experiment rows exist in the TSV10h total, 1h each: enforce a 1 hour limit per run and stop when the 10 hour campaign budget is reached, or when there is not enough remaining budget to start another 1 hour run50 experiments or 10h total, 1h each: monitor all three values, never exceed the per-run cap, and stop only when one campaign-level stop trigger is clearly reached
Priorities
Prefer ideas with high expected objective gain and low complexity cost:
- correctness and backend compatibility
- prompt and rollout formatting
- batch, sequence, and precision layout
- optimizer and scheduler tuning
- reward shaping, clipping, or scaling
- dataset mix or validation changes
- synchronous versus asynchronous execution based on hardware
All else equal, prefer simpler wins and avoid brittle hardware-specific hacks.
Avoid
- Do not conclude a training idea failed from an underpowered smoke run. If a run uses tiny batch sizes, very few optimizer steps, or otherwise non-representative settings, treat it as plumbing validation only; scale to a meaningful batch size and train long enough to test the hypothesis before marking it
discard. - Do not repeatedly pay batch-scheduler setup costs for tight edit-run-debug loops. If Slurm batch jobs have a large startup tax and failures require quick iteration, use the documented interactive Slurm pattern or ask the user before resubmitting more batch jobs.
- Do not let context compaction or follow-up steering questions erase the original campaign goal. Refresh
nemo-rl-session-memory, reload active skills, and preserve the main objective unless the user explicitly changes it.
Stop
If the user gives explicit stopping conditions, they override the generic rule. Do not stop because the search feels sufficient; stop only when the requested count, deadline, budget, or target condition has been clearly met.
During the campaign, explicitly inform the user whether the stop condition has been met. If not, report the remaining count, remaining time, or other remaining threshold in concrete terms.
If the user does not give explicit stopping conditions, run the baseline plus up to three low-risk experiments, then summarize the best result and ask before continuing.
References
references/git-workflow.mdfor branch, dirty-worktree, parent-commit, and baseline rules.references/exploration-ideas.mdfor turning symptoms into concrete hypotheses.references/experiment-log-template.mdfor the TSV schema and reproducibility fields.
Frequently asked questions about Auto Research
Similar skills
Scientific Problem Selection
Streamline your research problem selection process.
Nextflow Development
Run nf-core bioinformatics pipelines with ease.
Nature Reviewer Assessment
Simulate peer review for scientific manuscripts.
Research Writing Pipeline
Streamline your scientific writing with structured proposal-first methodologies.
Nature Literature Downloader
Efficiently download academic literature from various sources.
Earth2Studio Discover
Find the right models and data for climate tasks.
