Base R
Base-R-only reference (no tidyverse/ggplot2) with gotcha docs and a bundled data-quality-check script.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 16, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · 25e68e0
Actually installed R via Homebrew and ran both versions on a synthetic sales.csv with 5% missing revenue: the naive baseline's mean-by-region silently returned all-NA because it omitted na.rm=TRUE, while the skill-guided version (using the bundled check_data.R plus na.rm-aware tapply/aov/TukeyHSD) caught the 10 NAs and 6 duplicate rows up front and produced correct group means and a saved boxplot PNG.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 9/10
- Docs & honesty 5/5
What Base R does
Covers base R data structures, the apply family, stats (lm/glm/aov/t.test), base graphics, and I/O, plus condensed gotcha references distilled from the R manual and a runnable check_data.R data-quality script. Triggers on R scripting/debugging, base-graphics, or stats-function questions; explicitly excludes tidyverse, ggplot2, data.table, and Shiny.
How to install Base R
git clone https://github.com/iremaydas/base-r-skill
cd base-r-skill
mkdir -p ~/.claude/skills
cp -r . ~/.claude/skills/base-r
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Base R
-
/base-rBase-R-only reference (no tidyverse/ggplot2) with gotcha docs and a bundled data-quality-check script.
It also activates on plain-language prompts like these:
-
My sapply is returning a list instead of a vector, why is that happening? -
Write base R code to fit a linear model and check the residual diagnostics -
Help me debug why my data frame column keeps getting coerced to a factor
Frequently asked questions
- Is the Base R skill free?
- Yes. The skill itself is free from iremaydas/base-r-skill. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Base R work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 16, 2026. Verdict: Tested · Works. Actually installed R via Homebrew and ran both versions on a synthetic sales.csv with 5% missing revenue: the naive baseline's mean-by-region silently returned all-NA because it omitted na.rm=TRUE, while the skill-guided version (using the bundled check_data.R plus na.rm-aware tapply/aov/TukeyHSD) caught the 10 NAs and 6 duplicate rows up front and produced correct group means and a saved boxplot PNG.
- What is the Base R SkillProof Score?
- 9.6/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 9/10, docs & honesty 5/5.
- How do I install Base R?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Base R with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.