[Bioc-devel] Question on bundling a Claude Code plugin in a new package's repository
Ben Laufer
b|@u|er @end|ng |rom gm@||@com
Wed Nov 18 21:54:56 CET 2026
Hi Pariksheet and Sean,
I've taken the first approach Sean mentioned: the plugin is published
through its own marketplace in the package's GitHub repository. Claude Code
doesn't read the plugin from the installed R package. It installs plugins
itself, from a GitHub repository added as a plugin marketplace, so the
files only need to be in the repository. They are listed in
`.Rbuildignore`, so they are not part of the built package and never reach
a user's R library. That also means nothing needs to be copied or linked
into a user's project.
Using the plugin is opt in. A section of the vignette will show the install
commands as code that is not run, for the user to enter in a Claude Code
session:
/plugin marketplace add genentech/basicBulk
/plugin install basicbulk using basicbulk
The GitHub repository is not public yet, so these commands won't work until
it is published.
I'm glad to hear this plan seems reasonable, and thank you for taking the
time to look at it.
Best,
Ben
On Wed, Nov 18, 2026 at 12:02 PM Sean Davis <seandavi using gmail.com> wrote:
> Hi, Ben.
>
> I’d follow the instructions here:
>
>
> https://code.claude.com/docs/en/plugins/publish#publish-through-your-own-marketplace
>
> It looks like you are doing that already. Consider adding a vignette
> section (or a dedicated vignette) on installing and using the plugin and
> skills.
>
> It is fine to have the files in your repo by including them in
> .Rbuildignore. I would not put them in a separate branch or repo.
>
> If your plugin is mostly skills, you might consider just plain skills
> which can be largely agent-agnostic. A convenient way to share skills is
> via the Vercel “skills” approach. See here:
>
> https://github.com/vercel-labs/skills/blob/main/docs/creating-skills.md
>
> Either plugin or skills (or both) seem reasonable to me.
>
> Sean
>
>
> ------------------------------
> *From: *Bioc-devel <bioc-devel-bounces using r-project.org> on behalf of Ben
> Laufer <blaufer using gmail.com>
> *Date: *Tuesday, November 17, 2026 at 01:08
> *To: *bioc-devel using r-project.org <bioc-devel using r-project.org>
> *Subject: *[Bioc-devel] Question on bundling a Claude Code plugin in a
> new package's repository
>
> Hello,
>
> I am preparing to submit a new package and alongside the package code, the
> repository contains a small Claude Code plugin that helps users generate
> analysis reports with the package:
>
> - `skills`: the skill instructions (Markdown files) and a test script
> - `.claude-plugin/marketplace.json`: the plugin manifest
> - `CLAUDE.md`: package development notes for Claude Code, in the repository
> root (separate from the skill folder)
>
> All three are listed in `.Rbuildignore`, so none of them are in the built
> tarball. The submission guidelines say the default branch must contain only
> package code, with files for other applications in a separate branch. I
> have noticed that many accepted packages keep `.github/workflows` on their
> default branch, so I would like to know whether these files would be
> treated the same way. Would reviewers accept them on the default branch, or
> should I move them to a separate branch or a separate repository before
> submitting? If a separate branch is the preferred route, is there a
> convention for naming it?
>
> In line with the AI policy, I would mention that AI agents were used to
> create the skill and to adversarially review and patch the package code,
> under my supervision.
>
> Thanks,
>
> Ben
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioc-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
[[alternative HTML version deleted]]
More information about the Bioc-devel
mailing list