Trains and applies scvi-tools probabilistic deep-learning models (scVI, scANVI, totalVI, PeakVI, MultiVI, DestVI, veloVI) for single-cell omics batch correction, integration, label transfer, and joint modality modeling on user AnnData files.
Ships in mims-harvard-tooluniverse. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Local, guided workflows for training and applying scvi-tools' probabilistic deep-learning models on a user's own AnnData files.
This skill trains real neural networks via the real scvi-tools package. It
must never fabricate a latent space, a training curve, or a DE result.
import scvi (and
anndata/scanpy/numpy) before touching data. If scvi-tools is not
installed, the script prints the exact pip install scvi-tools command
and exits 0 — it does not estimate, guess, or describe hypothetical
training results.Use when the user:
scvelo's
point estimates)NOT for (use other skills instead):
tooluniverse-single-cellsetup-scvi-remote-tool / setup-scanvi-remote-tooltooluniverse-rnaseq-deseq2tooluniverse-fastq-qcSee references/model_selection.md for the full decision tree. Quick
version:
| Data | Model |
|---|---|
| scRNA-seq, no labels, want integration | scVI |
| scRNA-seq, partial/full cell-type labels | scANVI |
| CITE-seq (RNA + protein) | totalVI |
| scATAC-seq only | PeakVI |
| Multiome (RNA + ATAC) | MultiVI |
| Spatial + single-cell reference | DestVI |
| RNA velocity (spliced/unspliced) | veloVI |
| Map new data onto an existing reference | scANVI + load_query_data |
Run python scripts/validate_adata.py your.h5ad --batch-key batch --suggest
to get a data-driven recommendation instead of guessing.
# 1. Check the environment and the data
python scripts/validate_adata.py raw.h5ad --batch-key batch --suggest
# 2. Prepare: QC, HVG selection, stash raw counts in a 'counts' layer
python scripts/prepare_data.py raw.h5ad prepared.h5ad --batch-key batch
# 3. Train the model chosen in step 1
python scripts/train_model.py prepared.h5ad results/ --model scvi --batch-key batch
# 4. Differential expression (posterior-based, not scanpy's rank_genes_groups)
python scripts/differential_expression.py results/scvi_model results/adata_scvi_trained.h5ad \
de.csv --groupby leiden
# 5. (Optional) Map a new dataset onto a trained scANVI reference
python scripts/transfer_labels.py results/scanvi_model prepared.h5ad query.h5ad results/
For totalVI/MultiVI/DestVI's modality-specific input shapes, and DestVI's
two-stage fit, see references/multimodal_workflows.md — do not guess the
input format; getting it wrong is the most common failure mode for these
three models.
references/model_selection.md — full decision tree, minimum data per modelreferences/scrna_integration.md — scVI/scANVI integration details, when to prefer this over Harmonyreferences/multimodal_workflows.md — totalVI, MultiVI, DestVI input shapes and the DestVI two-stage fitreferences/troubleshooting.md — install issues, NaN losses, GPU/OOM, key mismatches, silent-failure checklistreferences/model_selection.md (opens in a new tab)references/multimodal_workflows.md (opens in a new tab)references/scrna_integration.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/_scvi_common.py (opens in a new tab)scripts/differential_expression.py (opens in a new tab)scripts/prepare_data.py (opens in a new tab)scripts/train_model.py (opens in a new tab)scripts/transfer_labels.py (opens in a new tab)scripts/validate_adata.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/mims-harvard-tooluniverse:tooluniverse-scvi-toolsfrom mims-harvard-tooluniverse
mims-harvard-tooluniverse@cascade-data-analytics is listed by joshuarweaver/cascade-data-analytics — review the source before installing
npx claudepluginhub joshuarweaver/cascade-data-analytics --plugin mims-harvard-tooluniverse229 skills in this plugin
/create-tooluniverse-skillCreate high-quality ToolUniverse skills following test-driven, implementation-agnostic methodology./devtu-benchmark-harnessContinuous improvement system for ToolUniverse tools, skills, and plugin. Run benchmarks, diagnose failures, route fixes to devtu skills, retest. Use after skill optimization, tool additions, or as regression check./host-and-share-remote-toolHost, validate, and privately share a user's own model, Python function, workflow, or existing Streamable HTTP MCP endpoint through ToolUniverse Platform. Use when turning a local CPU/GPU workload or lab endpoint into a stable TU remote tool, diagnosing its setup, or preparing it for controlled sharing./setup-af2ig-remote-toolSet up, launch, validate, and troubleshoot the AlphaFold 2 initial-guess (dl_binder_design) ToolUniverse remote tool and optionally relay it through ToolUniverse Connect. Use when deploying or auditing this implementation./setup-af3_jax-remote-toolSet up, launch, validate, and troubleshoot the AlphaFold 3 (JAX fork) ToolUniverse remote tool and optionally relay it through ToolUniverse Connect. Use when deploying or auditing this implementation./setup-af3_torch-remote-toolSet up, launch, validate, and troubleshoot the AF3-torch ToolUniverse remote tool and optionally relay it through ToolUniverse Connect. Use when deploying or auditing this implementation.2 plugins in one repository ship this exact skill · first indexed Oct 14, 2026
Other plugins' skills for the same job