r-reviewer

r-reviewer is an agent for Claude Code from brycewang-stanford/Auto-Empirical-Research-Skills. It costs 34 tokens per session (1,675 once invoked), scanned A, original, no licence file.

An R code reviewer for academic scripts that checks code quality, repeatability, chart-making patterns, and required visual themes.

In plain words
What is it for?
Use it after writing or changing R scripts for academic analysis and figures.
Why use it?
It helps catch problems that can make research code hard to trust, rerun, or present consistently.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it after writing or changing R scripts for academic analysis and figures.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/brycewang-stanford/auto-empirical-research-skills/r-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for r-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/brycewang-stanford/auto-empirical-research-skills/r-reviewer/github.svg)](https://agentmods.dev/agents/brycewang-stanford/auto-empirical-research-skills/r-reviewer)
Your own site
<a href="https://agentmods.dev/agents/brycewang-stanford/auto-empirical-research-skills/r-reviewer"><img src="https://agentmods.dev/badge/agents/brycewang-stanford/auto-empirical-research-skills/r-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for r-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/brycewang-stanford/auto-empirical-research-skills/r-reviewer"><img src="https://agentmods.dev/badge/agents/brycewang-stanford/auto-empirical-research-skills/r-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,675 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01675
Opus 5 $0.00017 $0.00838
Sonnet 5 $0.00007 $0.00335
Haiku 4.5 $0.00003 $0.00168

Measured 9d ago against content hash df38b256e138, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

r-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/12-pedrohcgs-claude-code-my-workflow/dot-claude/agents/r-reviewer.md · 174 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 174 lines · 34 tokens per session scan A df38b256e138

Subscribe to this mod's changes

r-reviewer is an agent published in the GitHub repository brycewang-stanford/Auto-Empirical-Research-Skills (3,759 stars, last pushed 5d ago), with no licence file. It adds 34 tokens to every session and 1,675 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

r-reviewer

R code reviewer for academic scripts. Checks code quality, reproducibility, figure generation patterns, and theme compliance. Use after writing or modifying R scripts.

pedrohcgs/claude-code-my-workflow · 34 tokens

sim-reviewer

Monte Carlo simulation reviewer. Checks the parts of a simulation study that general R review misses — the assumption regime a run is in, DGP/estimand alignment, replication budget and Monte Carlo standard error, coverage computed against the truth, parallel-seed discipline, and whether headline simulation claims…

pedrohcgs/claude-code-my-workflow · 95 tokens

code-review

Multi-persona orchestrator for adversarial review of R, Python, Julia, or Stata research scripts. Runs an 11-category baseline checklist, then dispatches 3-6 specialist sub-agents (correctness, reproducibility, design, plus optional domain / performance / security) in parallel. Deduplicates findings across reviewers…

flonat/flonat-research · 398 tokens

agent-tufte-designer

Output synthesizer. Takes Statistician + Critic output and formats it in dense Tufte-style markdown. Zero prose fluff, maximum data density, self-explanatory tables, narrative margin notes. The ONLY agent whose output the user sees.

pablodiegoo/Data-Pro-Skill · 56 tokens

structure_architect_agent

Designs the papers section architecture and detailed outline before drafting begins.

FridrichMethod/awesome-skills · 17 tokens

formatter_agent

Formats the final manuscript output to target journal style requirements.

zi-yue-1129/research-lab-skills · 13 tokens