A Few Claude Skills for R Users

The community has come together to create some great Claude Skills that you can try out today.
Author

Isabella Velásquez

Published

March 2, 2026

If you’re like me, you might be feeling a bit overwhelmed by all the new AI tools for coding. So, this post may be adding one more thing to your plate, but I promise to keep it as whelming as possible. 😄

This is a (very) short roundup of Skills created by members of the community that are especially helpful for R users. Note that I won’t show Claude output, but rather, point you to resources on where to find Skills. I’m still very much a newbie in this space. If I misrepresent anything, or if you know of another Skill that should be included, please reach out on Bluesky.

NoteDoes it have to be Claude?

Although I mention “Claude Skills” throughout this post, other providers have adopted similar features for modular, task-specific capabilities in their LLM tools. They often use the same SKILL.md format, with the AI tools designed to look for a folder (often called .skills/) containing these Markdown-based instructions.

Quick definitions

If you haven’t installed Claude Code yet, Anthropic has great documentation to get you started. Here are a few broad definitions to set the stage:

  • Anthropic: An AI company that builds AI systems.
  • Claude: An AI assistant created by Anthropic that can help with a wide range of tasks, including coding.
  • Claude Models: Different versions of Claude, such as Claude Opus 4.5, Claude Sonnet 4.5, and Claude Haiku 4.5. Each model offers different trade-offs between performance, speed, and cost.
  • Claude Code: A command-line interface (CLI) that brings Claude into your terminal.
  • CLAUDE.md: A configuration file where you can give Claude Code project-specific context, preferences, and instructions.
  • Claude Skills: Reusable, specialized commands that help Claude handle common development tasks more consistently.
Note

A question many people (cough I cough) have wondered about is the difference between CLAUDE.md and Claude Skills. The key distinction is how broadly the information should apply and how much of Claude’s context window you want to use. If you want Claude to always be aware of certain information for every task in a project, use CLAUDE.md. This might include project conventions, coding style, or high-level rules. If the information is only relevant for specific tasks, Claude Skills are a better fit. Skills let you scope guidance to when it’s actually needed, instead of filling up the context window with instructions that don’t apply most of the time. (Thanks to my colleague Nick Pelikan for helping clarify this.)

Claude Skills for R users: a roundup

1. Claude R Tidyverse Expert by Sarah Johnson

Ever asked an LLM for R code and it kindly gives you a response that uses spread() (deprecated 2010)?

Sarah Johnson created the Modern R Development Guide to help Claude Code behave like a modern R user. Among other things, it guides Claude to prefer tidyverse-style solutions, use recent versions of packages like dplyr 1.1.0+, and avoid outdated patterns. Never see cast() again!

One nice follow-up suggestion comes from Jeremy Allen, who recommends breaking this Skill into smaller ones if you don’t need all the guidance at once. He has also created a Skill that can pull in recent updates from Posit!

2. Claude Code R Skills by Alistair Bailey

Alistair Bailey used and built upon Sarah’s (and others’) Skills above to create Claude Code R Skills. I particularly enjoy the section on recommended workflow, which provides a specific order for Claude to follow when writing code.

3. Posit Claude Skills

Several folks at Posit have been experimenting with Claude Skills and sharing them in this GitHub repository. A couple that may be especially interesting for R users include:

4. _brand.yml Skills

brand.yml allows you to create reports, apps, dashboards, plots, and more that match your company’s brand guidelines with a single YAML file. It is currently supported in Quarto and Shiny (for R and Python).

Here are a few Skills for you to create your _brand.yml file:

5. Learning Opportunities: A Claude Code Skill for Deliberate Skill Development by Cat Hicks

If you are worried about all these Skills deteriorating your R coding skills, check out Learning Opportunities: A Claude Code Skill for Deliberate Skill Development from Cat Hicks. It uses a “dynamic textbook” approach to help you deliberately work your coding muscles while you’re using LLM tools.

How to add a Claude Skill

Note

While you can use Claude Code in RStudio, I have been using Positron. Posit has started rolling out Posit AI in RStudio, which also supports Skills.

1. Install from a GitHub repository

As shown in the Posit Claude Skills README, you can install Skills directly from a GitHub repository using a Claude Code command. For example, this installs all of the Quarto-related Skills from the Posit Claude Skills repo:

/plugin install quarto@posit-dev-skills

This is a good option if you want to pull in a maintained set of Skills all at once.

2. Install from a local directory

If you’ve downloaded a Skill locally, you can install it directly from its folder:

/plugin add /path/to/skill-directory

3. Manual installation

You can also install a Skill by placing it directly in the appropriate directory:

  • For personal Skills: ~/.claude/skills/skill-name/ (in your home directory)
  • For project Skills: .claude/skills/skill-name/ (in your project root)

Once the files are in place, Claude Code will automatically discover and use the Skill when it’s relevant.

Create your own Skill

Anthropic has documentation on creating your own Claude Skill. I enjoy looking through other people’s Skills to see how they organize and develop them. Trying them out and further tweaking them is a great way of creating a customized Skill of your own.

As both Stephen and Sarah note, you can give Claude Code examples, documentation, and guidance, then ask it to help generate the Skill for you. Perhaps there’s a good Skill out there for creating Skills. It’s Skills all the way down!

More on using Claude Code for R development

A huge thank you to the awesome creators who developed and shared their Skills, best practices, and more!

If you want examples of Claude Code in action with R, Simon Couch has a couple of great blog posts on the subject: Post 1, Post 2. They’re a great complement to this roundup and show what this can look like in real workflows.

New features and techniques are popping up all the time. If you’re experimenting with Claude Code for R and find something useful, please reach out anytime!