by IMNMV
Connect RStudio to Claude Code, Codex, Antigravity, and other LLM agents via MCP. Multi-agent orchestration, automated manuscript auditing, and zero-config setup with uvx
# Add to your Claude Code skills
git clone https://github.com/IMNMV/ClaudeRClaudeR is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by IMNMV. Connect RStudio to Claude Code, Codex, Antigravity, and other LLM agents via MCP. Multi-agent orchestration, automated manuscript auditing, and zero-config setup with uvx. It has 380 GitHub stars.
ClaudeR's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/IMNMV/ClaudeR" and add it to your Claude Code skills directory (see the Installation section above).
ClaudeR is primarily written in Python. It is open-source under IMNMV on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ClaudeR against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
ClaudeR connects MCP-configured LLM agents, like Claude Code or Codex, to the R session you are already working in. The agent runs code where your cleaned data and fitted models actually are, sees the plots it draws, reads the objects in your environment, and can edit the file open in your editor. A companion Python package does the same for a live Python session, and both work in RStudio and Positron.
Several agents can share one session and divide the work between them, or you can run separate sessions side by side so each agent works on its own dataset without touching the others.
It covers much of what a paid research AI tool does, with the work happening in your own session and a record of every line an agent ran.
# Install
if (!require("devtools")) install.packages("devtools")
devtools::install_github("IMNMV/ClaudeR")
# Set up your AI tool
library(ClaudeR)
install_clauder() # For Claude Desktop / Cursor
install_cli(tools = "claude") # For Claude Code CLI
# Start the server in RStudio
claudeAddin()
# Or from any R console, with no window (terminal R, a cluster, Rscript)
start_server()
AI agents: See llms-install.md for automated setup instructions.
| Single agent via Claude Desktop App | Multi-agent: Codex + Claude Code via CLI | GPT 5.4 Codex: Data analysis + Quarto report |
|---|---|---|
![]() |
![]() |
![]() |
wait_for_message calls lost its name, and messages addressed to it went unread. Now the name set with set_agent_name is remembered for the app that runs the bridge, and a restarted bridge takes it back and says so. wait_for_message and get_async_result wait at most 50 seconds per call. Call again to keep waiting, or use wake_on_message to be woken whenever the message comes.wake_on_message tool hands the agent such a command. It sits quietly until a message for that agent lands on the board, then finishes, and the agent's app wakes it to read the message. It marks nothing as read, so a message is never lost. It quits by itself if the app that started it closes. Agents don't need telling: the short introduction the bridge gives every agent on its first tool call says to keep one running whenever it waits on another agent, and so does the multi-agent protocol.start_server(fresh_start = TRUE), now moves the old messages and every agent's read position to an archive folder inside ~/.clauder_coord/<session name>, so agents start on an empty board. Nothing is deleted. It will not touch the board of a name another live R session is using.start_server() starts the server from any R console, so terminal R, a tmux pane, an ssh login on a cluster and Rscript all work. At a prompt it returns at once and agents are served while R is idle. Under Rscript it serves until interrupted. The editor tools are left out there, since there is no editor, and when R has no screen, plots go to a hidden image device so the agent still sees them. It works inside RStudio and Positron too, where it leaves the console free. stop_server() stops it. See Terminal R and Clusters.run_annotation_job now blanks it: each Claude call gets an empty system prompt, or just your instructions. keep_claude_code_prompt = true keeps it, for matching runs made before this version. A Claude Code without the --system-prompt option keeps it either way, and the first line of the raw replies file records which happened. no_api_key now removes every ANTHROPIC_* variable, not just the key and token, so a custom base URL can't route the call to a metered key either.run_annotation_job now takes instructions once and gives them to every call ahead of the rows. Claude gets them as a system prompt, so long instructions can be reused from call to call instead of paid for in full each time. The instructions are recorded at the top of the raw replies file.agy) replaced it. install_cli(tools = "gemini") and the gemini option of run_annotation_job are gone, and both now point you to agy instead.run_annotation_job now starts each Claude call with no tools, MCP servers, hooks, CLAUDE.md or slash commands, from an empty folder, so the model labelling a row sees nothing but that row (installed plugins are still listed but have nothing to run through). Older Claude Code versions get whichever of these options they have. Codex calls also start from an empty folder. Every reply is kept word for word in {name}_annotating_raw.jsonl. A reply that isn't valid JSON or doesn't fit the schema is asked again, up to three tries. Hitting your plan's usage limit stops the job with every saved row kept, and running it again picks up where it stopped. Two new options: no_api_key = true removes API keys from each call so the CLI uses your subscription login, and batch_size sends several rows per call for very large jobs (the default stays 1, so no row can influence another). A crash no longer leaves a job reading "running" forever, and the working file is never left half written.restore_session("before_filter") failed with "checkpoint not found" be