omicverse/omicverse-skills/single-cell-foundation-model
Claude Code and agent skill by omicverse/omicverse-skills
- community
Checking that the SKILL.md file is still in the repository.
Cell embedding, cell-type annotation, batch integration, and (where supported) perturbation prediction with single-cell foundation models — scGPT, Geneformer, scFoundation, UCE, CellPLM. Driven by the unified `ov.llm.SCLLMManager` interface; one object handles model loading, inference, and (optional) fine-tuning.
Install
npx vskill@latest install omicverse/omicverse-skills/single-cell-foundation-modelSKILL.md
Single-cell foundation model — ov.llm.SCLLMManager
When to use this skill
Pick this skill when the user wants a transformer-style per-cell representation that is structurally richer than PCA: e.g. cell embedding, zero-shot or fine-tuned cell-type annotation, batch integration on the foundation-model latent, or (model permitting) perturbation prediction. The five fully-supported backends are scGPT, Geneformer, scFoundation, UCE, CellPLM; pick by data type, hardware, and gene-ID convention.
This skill does not cover marker-rule annotators (CellTypist / SCSA / gpt4celltype) or reference-mapping annotators (popV / scmap / SingleR). For those, prefer the single-cell-annotation skill — both can coexist; the foundation embedding is often used as the input space for downstream annotation/integration.
Backend selection cheatsheet
| Model | Tasks supported | Species | Gene IDs | Min VRAM | CPU? | Strengths | |
|---|---|---|---|---|---|---|---|
| scGPT | embed, integrate, fine-tune→annotate | human, mouse | symbol | 8 GB | yes | General RNA, longest-running, multi-modal extensions | |
| Geneformer | embed, integrate, fine-tune→annotate | human | ENSEMBL | 4 GB | yes | Ensembl-id pipelines, low-VRAM | |
| scFoundation | embed, integrate | human | symbol | 16 GB | no | xTrimoGene architecture; perturbation work upstream | |
| UCE | embed, integrate | 7 species (cross-species) | symbol | 16 GB | no | Zebrafish / macaque / pig / frog / lemur transfer | |
| CellPLM | embed, integrate, annotate (zero-shot) | human | symbol | 8 GB | yes | Fastest inference; cell-centric pretraining |
Common pitfalls the agent should avoid:
- Don't pick scGPT for an
annotatetask without first callingfine_tune(task='annotation')— scGPT's pretrained weights only emit embeddings; annotation is the fine-tuned head. - Don't feed Geneformer gene symbols — its tokenizer expects ENSEMBL IDs. Convert via
ov.utils.geneid_to_ensembl(...)first. - Don't attempt
predict_perturbationon scGPT/Geneformer/UCE/CellPLM — that path is scFoundation- or domain-specific. If perturbation is required, prefer thesingle-cell-perturbationskill.
Canonical pipeline
Storage conventions (for reviewers / graders)
After running the pipeline, the AnnData should carry:
obsm["X_<backend>"]— the per-cell embedding (≥16-D, typically 256-1280-D depending on backend).uns["neighbors"]— kNN graph computed onX_<backend>(callsc.pp.neighbors(adata, use_rep="X_<backend>")).obs["cell_type_<backend>"](annotation runs only) — predicted labels with the backend identifier in the column name so multi-method comparisons stay unambiguous.
Discovery hooks
print(ov.utils.registry_lookup("scgpt"))— surfacesSCLLMManager+ its task-specific methods.print(ov.utils.registry_lookup("foundation model embedding"))— same.print(ov.utils.registry_lookup("cell type annotation"))does not intentionally surface SCLLMManager; that query routes to the rule-based / reference-mapping annotators insingle-cell-annotation. Use the FM-explicit query when you mean the transformer path.
References
- Tutorials (canonical examples):
Tutorials-llm/t_scgpt.ipynb,t_geneformer.ipynb,t_scfoundation.ipynb,t_uce.ipynb,t_cellplm.ipynb. - API:
omicverse.llm.SCLLMManagerandomicverse.llm.ModelFactory(low-level factory). - Compatibility note (2026): the legacy
ov.fm.runAPI was removed; SCLLMManager is the only supported foundation-model entry.
Quick reference
See reference.md for the per-method signatures, return shapes, and caveats per backend.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/omicverse_skills/skills/single-cell-foundation-model/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/omicverse/omicverse-skills/single-cell-foundation-model)