scvi-tools
Skill by K-Dense-AI
Guides an AI assistant through scvi-tools, a set of probabilistic models for single-cell omics data. It covers batch integration, cell annotation, CITE-seq and RNA plus ATAC integration. Aimed at researchers doing generative modeling, reference mapping or multimodal analysis.
Install scvi-tools
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/scvi-tools ~/.claude/skills/scvi-toolsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/scvi-tools ~/.gemini/antigravity-cli/skills/scvi-toolsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The scvi-tools skill guides an AI assistant through probabilistic models for single-cell omics data. It covers scVI batch integration, scANVI annotation, totalVI for CITE-seq, MultiVI for RNA and ATAC integration, and posterior differential expression. A table in the source lists the required input for each model, and specialized references cover ATAC, spatial, methylation and cytometry models.
The skill sets out a workflow: QC and feature selection before model registration, training, checking batch mixing and retained biology, then saving the model with software versions and seed. It targets scvi-tools 1.5.1 and is aimed at researchers doing generative modeling, reference mapping, multimodal analysis or model-based uncertainty analysis. The source recommends Scanpy for standard preprocessing and exploratory analysis.
Written from the project's SKILL.md and checked against it.
What it can do
- Model selectionChooses the scvi-tools model and checks the required input for a task.
- RNA integration with SCVIIntegrates RNA count data across batches and extracts a latent representation.
- Cell annotation with SCANVIAnnotates cells using counts and partial labels.
- CITE-seq with TOTALVIModels aligned RNA and protein counts from the same cells.
- RNA and ATAC with MULTIVIIntegrates RNA and ATAC modalities in a registered MuData object.
- Posterior differential expressionRuns model-based differential expression between two cell groups.
- Model saving and loadingSaves the model, data, feature order, versions and seed for later use.
What you need
- Python 3.12 or newer
- Network access for installation and optional dataset or genome downloads
- PyTorch, with accelerator requirements depending on hardware
- Scanpy for standard preprocessing
Try asking
- Integrate my RNA counts in rna_counts.h5ad across batches with scVI
- Annotate my cells using partial labels with scANVI
- Run posterior differential expression between two cell types with scvi-tools
Good to know
- Short synthetic fits validate mechanics, not convergence or biological validity.
- JAX support, including JaxSCVI, was removed in version 1.5.
- Spatial models and DIAGVI are directed to scVIVA-tools for ongoing maintenance.
- DE scores are posterior model quantities, not p-values.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/scvi-tools/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/differential-expression.md7 KB -
references/models-atac-seq.md6 KB -
references/models-multimodal.md8 KB -
references/models-scrna-seq.md8 KB
Show all 9 files
-
references/models-spatial.md9 KB -
references/models-specialized.md6 KB -
references/theoretical-foundations.md5 KB -
references/workflows.md9 KB
Alternatives to scvi-tools
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
scvi-tools: common questions
Which scvi-tools version does this skill target?
The skill targets scvi-tools 1.5.1, released September 10, 2026, according to the source.
What input does SCVI need?
SCVI requires unnormalized RNA counts. The source warns not to reconstruct counts by exponentiating log-normalized data.
Does a short test run prove the model converged?
No. The source says short CPU synthetic fits check mechanics only, not convergence or biology.
How do I install scvi-tools?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is scvi-tools free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is scvi-tools safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to scvi-tools?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
