Lab Rat

Eleven ML-research skills to reproduce papers, launch and compare experiment runs, check claims and prepare rebuttals.

498GitHub starsLast updated: Dec 6, 2026MITResearch Suites

Last reviewed by the paperbanana team on Dec 6, 2026

Lab Rat — screenshot from the official GitHub repository

Install

claude plugin marketplace add fcakyon/labrat
claude plugin install labrat@labrat
Best for:ML researchersPhD students running experimentsPaper reproducersTeams preparing rebuttals

What is Lab Rat?

Lab Rat (the fcakyon/labrat repository) is a plugin that teaches an AI coding agent to work like a careful ML researcher. Instead of one writing assistant, it packages the day-to-day loop of empirical research: find papers, reproduce them, design experiments, launch runs, compare results, check what you are about to claim and respond to reviewers. Its goal, in the README’s words, is to check every claim before it costs weeks of compute.

The skills are built from failures the author actually saw in AI-agent sessions, such as an agent that restarted a 50-hour training job without diffing the config against the reference run, killed an experiment over a proxy metric that had not converged, or ran rm -rf on a path it misremembered. The README says the author is an active ML researcher who built it from 2200+ Claude Code and Codex sessions, and that every guardrail traces to a real mistake. The skills teach a method rather than a fixed script, so the agent writes code for your setup, whether that is wandb, neptune or local files.

The same 11 skills are available in Claude Code, Codex, Cursor and Antigravity CLI, and the plugin can also be added through Claude.ai and Claude Desktop on a paid plan. Two things are Claude Code only: the fresh-context research peer review hook and the notifications. It also needs one extra tool for literature search, Paper Search CLI.

Core capabilities

Paper reproduction

The reproduce skill takes a paper, for example with /labrat:reproduce arxiv 2508.12345, and walks from the paper to replication runs. literature-research finds related papers and gaps in the literature.

Experiment design and launch

experiment-design helps with things like ablation studies, and launch runs a pre-flight checklist before a training run starts, the kind of check that would have caught an unverified config on a long job.

Debugging and run comparison

debug puts evidence before fixes when a loss diverges. compare lines up a run against a baseline at the same epoch rather than at whatever point each run happens to be.

Claim and paper checks

paper-check verifies that numbers match the code, checks BibTeX, and helps prepare code for release. paper-write reviews sections such as methods and sets up LaTeX for venues like CVPR. dataset-curation analyzes issues such as dataset bias.

Rebuttal planning and a Claude Code peer hook

rebuttal asks what reviewers will probably ask and helps pick the strongest ablations. In Claude Code, a fresh-context research peer hook checks each conclusion against the actual artifacts and points you to the matching skill.

What you can use it for

  • Reproducing a paper you want to build on

    Point the reproduce skill at an arXiv paper and let the agent plan and run replication experiments before you commit your own compute to the idea.

  • Launching a long training run safely

    Before kicking off a multi-day job, run the launch pre-flight checklist so the agent compares the config with the reference run instead of assuming it matches.

  • Comparing a new run against a baseline

    Ask to compare run alpha to baseline, and the compare skill evaluates both at the same epoch so an early lead is not mistaken for a result.

  • Checking a manuscript before submission

    Use paper-check to confirm the reported numbers match the code and that BibTeX entries are real, then prepare the code for release.

  • Getting ready for reviewer questions

    Use rebuttal to anticipate what reviewers will ask and to choose which ablations to run or show first.

How to get started

  1. 1

    Install the plugin for your tool

    In Claude Code run claude plugin marketplace add fcakyon/labrat and claude plugin install labrat@labrat. For Codex use codex plugin marketplace add fcakyon/labrat then codex plugin add labrat@labrat. Cursor and Antigravity CLI have their own commands in the README.

  2. 2

    Set up paper search

    Literature search needs Paper Search CLI (uv and Python 3.10+). Nothing else requires extra setup. Run /labrat:setup to see what was detected and optionally enable notifications to ntfy, Slack or email, the command allowlist and LaTeX.

  3. 3

    Describe the task or call a skill

    A skill starts when you describe its task, such as "design an ablation study" or "why is my loss diverging?", or when you run it as /labrat:<skill>.

  4. 4

    Pair it with a loop for long runs

    The README suggests /loop 30m check experiment logs, notify me if metrics beat the baseline or if loss starts to diverge, for monitoring a run while you are away.

How it compares to similar skills

Lab Rat focuses on running and verifying ML experiments. For other parts of the research workflow, these directory entries may fit better.

Frequently asked questions

Need publication-quality figures for your paper?

paperbanana turns a text description into methodology diagrams, ML architecture figures, and statistical charts ready for submission.

Generate a figure