labrat
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 438 GitHub stars
Code Pass
- Code scan — Scanned 5 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
This tool acts as a research integrity plugin for Claude Code, providing academic guardrails like paper auditing, citation verification against databases like DBLP, and methodology reviews for PhD workflows.
Security Assessment
Overall risk: Low. The tool does not request dangerous permissions or contain hardcoded secrets. A light code scan across 8 files found no dangerous patterns. While it mentions setting up integrations with external services like ntfy, Slack, or email for notifications (which implies making network requests), the repository itself boasts zero dependencies. It primarily operates by injecting structured skills and guidelines into your local AI environment rather than executing risky background shell commands.
Quality Assessment
The project is highly transparent and actively maintained, with its most recent push occurring today. It holds a permissive MIT license, making it fully open and safe for personal or commercial use. Community trust is solid, backed by 169 GitHub stars. Additionally, it is authored by an established researcher who built the guardrails based on extensive real-world academic usage, which adds significant credibility to the tool's reliability and intent.
Verdict
Safe to use.
PhD Research Skills for Claude Code: paper reproduction, experiment design, paper review, result comparison and more.
Lab Rat
Catch AI mistakes before they cost weeks of compute. Reproduce papers from arxiv. Debug runs evidence-first. Compare experiments at the right epoch. Launch with discipline.
Built by Fatih Cagatay Akyon
(2000+ citations, 5 patents) after 300+ Claude Code sessions, tens of
critical AI mistakes caught the hard way, and thousands of hours of
PhD research. Every guardrail in this plugin traces to a real mistake.
Paper search and acquisition use Paper Search CLI, installed with uv and Python 3.10+. See paper search setup. Other skills do not require it.
Why This Plugin Exists
Claude Code is powerful, but it makes research-specific mistakes that cost weeks of compute:
- It typed "done?" as "dont?" and launched an unwanted upload of thousands of files
- It analyzed my full dataset when I asked for a specific 4k/2k/2k split
- It claimed a test covered a bug it had never actually verified
- It never once looked at a figure it generated, just trusted the numbers
- It restarted a 50-hour training job without diffing the config against the reference run, lost three days
- It claimed an experiment was diverging based on a non-converged proxy metric, killed it before downstream eval would have shown the truth
- It ran
rm -rfon a path it had hallucinated from memory, lost local checkpoints
Other plugins give you more commands. This plugin gives you guardrails.
Install
claude plugin marketplace add fcakyon/labrat
claude plugin install labrat@labrat
Coming from phd-skills? Remove it first with claude plugin uninstall phd-skills@phd-skills and claude plugin marketplace remove phd-skills.
The plugin works correctly the moment it is installed. Optional: run /labrat:setup for a 30-second tour of what was auto-detected and to opt into extras (notifications, allowlist, LaTeX).
Usage
Open Claude Code in your project directory, then:
/labrat:reproduce arxiv 2508.12345reproduce a paper from arxiv URL through replication runs"why is my loss diverging?"thedebugskill auto-triggers, runs evidence-first probes"compare run alpha to baseline"thecompareskill auto-triggers, aligns at the same epoch"launch the new training run"thelaunchskill auto-triggers, runs the pre-flight checklist/loop 30m check experiment logs, notify me if metrics beat the baseline or if loss starts to diverge
Notifications (task completion, background agents) forward to ntfy / Slack / email after /labrat:setup.
What You Get
Skills (auto-trigger, or run as /labrat:<skill>)
| When you say... | Skill activates |
|---|---|
| "find related papers on X" / "find gaps in the literature on X" | Literature Research |
| "reproduce this arxiv paper" | Reproduce |
| "design an ablation study" | Experiment Design |
| "launch a new training run" / "kick off training" | Launch |
| "why is X failing / diverging / OOMing" | Debug |
| "compare run A to baseline" | Compare |
| "analyze dataset bias" | Dataset Curation |
| "check if my numbers match the code" / "verify my BibTeX" / "prepare code for release" | Paper Check |
| "review my methods section for consistency" / "setup latex for CVPR" | Paper Write |
| "what will reviewers ask about this?" / "pick my strongest ablations" | Rebuttal |
/labrat:setup |
Setup |
Research Guardrails (run silently, you never invoke these)
| What it catches |
|---|
| Conclusions reviewed against actual artifacts by a fresh-context research peer |
| Pointer to the launch skill when an ML training job starts |
How It Compares
| Lab Rat | flonat/claude-research | Others | |
|---|---|---|---|
| Commands to learn | 1 (skills auto-trigger) | 39 | 13-20 |
| Research integrity hooks | 2 (agent + 1 command hook) | 1 | 0 |
| Paper reproduction (arxiv to runs) | Yes (7-stage skill) | No | No |
| Paper-code consistency audit | 6 checks | Read-only, no code cross-ref | None |
| Experiment monitoring + SSH notifications | Yes (ntfy / slack / email) | No | No |
| External dependencies | Paper Search CLI for paper workflows | npm + pip + MCP servers | MCP required |
| Install time | 30 seconds | 10+ minutes | Varies |
Design Principles
- Methodology over scripts. Skills teach the approach, Claude generates code for your specific setup (wandb, neptune, local files, whatever)
- Human oversight first. Claude makes premature claims and jumps to conclusions. Every skill builds in verification checkpoints
- Actionable output. Ranked suggestions with specific fixes, never just a list of findings
License
MIT. Use it, fork it, adapt it to your research.
Thank you for the support!
Contributors
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found