Queries live Bioconductor and CRAN indexes to recommend R packages for bioinformatics tasks. Handles data type, organism, and gene-ID namespace context.
Ships in bioc-r-packages. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Bioconductor and CRAN publish curated, queryable indexes of their packages. Query them; do not answer package names or canonical choices from memory, because names, defaults, and deprecations drift every release.
BiocPkgTools, ctv, ExperimentHub, and AnnotationHub for live queries.
Without R, work from the web pages in step 2.Ask for whatever is missing from this list, and still give a best-effort answer in the same reply:
SummarizedExperiment, GRanges, a bare data.frame). The right package follows from
the object.org.Hs.eg.db or org.Mm.eg.db, genome build).BiocManager::version()). A fresh install needs
the install.packages("BiocManager") then BiocManager::install() path spelled out; an existing
setup does not.| Source | Covers | Live query | Web |
|---|---|---|---|
| biocViews | Bioconductor software | BiocPkgTools::biocPkgList() | https://bioconductor.org/packages/release/BiocViews.html |
| CRAN Task Views | CRAN (expert-curated topic lists) | ctv::available.views() | https://cran.r-project.org/web/views/ |
| ExperimentHub | curated datasets | query(ExperimentHub::ExperimentHub(), "<topic>") | https://bioconductor.org/packages/release/ExperimentHub |
| AnnotationHub | annotation resources (TxDb, genomes, org.*, manifests) | query(AnnotationHub::AnnotationHub(), "<topic>") | https://bioconductor.org/packages/release/AnnotationHub |
biocViews is a controlled vocabulary (e.g. Software → GeneExpression → DifferentialExpression).
Match the task to a biocViews term first (browse the web page if unsure of the term), then filter:
library(BiocPkgTools)
pkgs <- biocPkgList() # every pkg + metadata
hits <- pkgs[grepl("SingleCell", pkgs$biocViews), ] # filter by biocViews term
dl <- biocDownloadStats() # popularity proxy
For CRAN, read the relevant Task View and treat it as the canonical shortlist for its topic. When
the request is for data or annotation, not software, lead with a Hub query(), not a remembered
package name.
Present the shortlist as the output of a biocPkgList() filter or Hub query() that the user can
paste and rerun each release. When the query cannot be executed here, give it as the query to
run and do not present the shortlist as its result. Quote a package's
biocViews terms only if they were retrieved; otherwise say "approximate, confirm with
biocPkgList()".
Weight, in this order:
biocPkgList() still lists
packages slated for deprecation, so presence there is not proof of active status; check the
landing page or build report. When calling a package stale or active, show the check
(biocDownloadStats() trend, build-report date, GitHub last commit).biocDownloadStats()): a proxy for standard use.DESCRIPTION and the vignette titles, not only the name.limma, edgeR, DESeq2, GenomicRanges,
SummarizedExperiment, Rsamtools, GenomicAlignments, Biobase, S4Vectors,
SingleCellExperiment. "Evergreen" means the package exists and is maintained; it does not
cover its version number.Package(s) and source: name the biocViews term or Task View each was found under, marked approximate as in step 2 if it was not retrieved.
Install path: tag each package with its repository (BiocManager::install() for
Bioconductor, install.packages() for CRAN) and flag mixed stacks such as org.*.eg.db with
msigdbr. Package names are case-sensitive: confirm the exact spelling and case against the
landing page before writing any install() call (the DepMap data package is depmap,
lowercase).
A default: commit to one even on a close call, and state the trade-off in place of a list of alternatives.
The one gotcha that makes the recommended tool silently fail. Recurring ones:
DESeq2, edgeR) needs biological replicates (at least 2, ideally 3 or more per
group); one sample per group cannot yield valid DE. Say so; do not only ask for the count.fgsea, clusterProfiler) needs the input gene IDs to match the gene-set
namespace; reconcile with mapIds() on the org.*.eg.db package first.Rsamtools for BAM, VariantAnnotation for VCF) is for analysis and range
integration; filtering, deduplication, format conversion, and merging at scale are faster and
more robust with samtools or bcftools upstream. State the division of labor.Surface only a gotcha that bears on the recommended tool, with no methodology the question did not touch (no replicate lecture on a "how do I find packages" question) and no coding cookbook.
The Bioconductor release the recommendation assumes, tied to a consequence: annotation and
data packages (TxDb.*, BSgenome.*, org.*.eg.db, array manifests, Hub records) must come
from the same release as the software querying them, or they silently mismatch. Point the user
to BiocManager::version(). Flag a non-R backend (e.g. MOFA2 runs Python through basilisk)
as a runtime dependency next to the install line.
Pitch to the user's level. A beginner gets the one plain-language answer first, then the obvious
external alternative with a one-line contrast (e.g. Seurat for single-cell); programmatic
discovery (BiocPkgTools) and tangential methodology go in a clearly marked optional footnote or
are omitted. When a simpler CRAN package gets a beginner to a result faster (e.g. pheatmap or
ggplot2 for a heatmap), lead with it and present the heavier Bioconductor tool as the upgrade
path. An advanced user gets no basics.
Never mention this skill, its internal rules, or an inability to run R in what you show the user.
The same index answers a different question when the user is submitting a package: is there an
existing package that does this? Given a package root (or only its DESCRIPTION), take the
biocViews, the nouns of the Title and Description, and, when the source is available, the
exported class and function names from NAMESPACE and R/, and filter biocPkgList() (and the
CRAN Task View that fits) by those terms. Report every hit with its maintainer and one line on what it
does, and say plainly "not in the index" for any name that does not resolve. The output is the
overlap statement bioc-pkg-dev step 8 asks for: the packages named, and a sentence per package
on how the submission differs or builds on it. Do not soften a near-duplicate; the reviewer's
tool runs the same check against the same index and will name the package anyway.
biocPkgList() on the SingleCell and DifferentialExpression
biocViews, checks download stats and build status for the top hits (such as scran), and returns
a default with its install command and the filter the user can rerun.AnnotationHub query, recommends org.Hs.eg.db, and asks which
Bioconductor release the user is on, since the annotation must match it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bioc-r-packages:bioc-pkg-finderfrom bioc-r-packages
npx claudepluginhub bioconductor/ai-agent-skills --plugin bioc-r-packages13 skills in this plugin
/analyze-r-packageAnalyze R/Bioconductor package structure to extract key information about its purpose, exports, and characteristics/bioc-howtoA consolidated index of Bioconductor how-to skills covering genomics, sequencing, and omics data analysis tasks/bioc-pkg-devGuide an R package or a set of analysis scripts through Bioconductor submission: the pre-submission gate, the Contributions tracker, and post-acceptance maintenance/bioc-pkg-reviewReview your own R package against the rubric and checklist Bioconductor's agent-assisted reviewer uses, before you submit, so the human review has less to say/build-check-bioccheckRun and interpret R CMD build, R CMD check, and both BiocCheck entry points against a Bioconductor package, separating real defects from environment gaps and known false positives/create-package-instructionsCreate complete AI instruction documentation for an R/Bioconductor package in .github/instructions/Other plugins' skills for the same job