Agent skill#

Every release ships a version-matched, model-neutral analysis skill for coding agents. It teaches the agent the rapids-singlecell API and current best practices.

Warning

The agent skill is new and experimental. Its content, installer, and commands may change substantially between releases.

1. Install the skill#

Copy the bundled skill into your agent’s personal skill directory:

rapids-singlecell-install-skills --agent claude

Installs to $CLAUDE_CONFIG_DIR/skills/ (default ~/.claude/skills/).

rapids-singlecell-install-skills --agent codex

Installs to $CODEX_HOME/skills/ (default ~/.codex/skills/).

rapids-singlecell-install-skills --agent claude-science

Installs into the active organization from ~/.claude-science/active-org.json.

rapids-singlecell-install-skills --agent agents
# or any custom location
rapids-singlecell-install-skills --dest /other/skills/rapids-singlecell

--agent agents installs to ~/.agents/skills/.

Option

Effect

--check

Compare the installed copy with the bundle in the active package

--force

Replace a differing copy, e.g. after upgrading rapids-singlecell

--print-path

Print the location of the bundled skill

The agent looks up the installed API with python -m rapids_singlecell_skills.api, so run it in the same environment as rapids-singlecell.

2. Check the GPU environment#

Before starting Jupyter, verify RMM, GPU/CUDA execution, the RSC import, native extensions, and a representative RSC kernel:

rapids-singlecell-check-kernel
rapids-singlecell-check-kernel --mode managed  # planned oversubscription

The preflight is disposable, so configure RMM again at the start of the notebook or script.

Bootstrap from a standalone skill#

Tip

If the agent only has the skill but RSC is not installed yet, create a fresh environment from the matching definition on main (CUDA 13, CUDA 12):

CONDA_CHANNEL_PRIORITY=flexible mamba env create --name rsc \
  --file /path/to/rsc_rapids_26.10_cuda13.yml