executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
annotation-and-queryUse for scvi-tools label transfer, query/reference mapping, semi-supervised annotation, doublet detection, and marker-based cell assignment with SCANVI, SOLO, and CellAssign.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is to annotate cells, transfer labels from a reference, map query data into a trained reference, detect doublets, or assign cell types from marker genes.
scvi.model.SCANVI, including labels_key, unlabeled_category, SCANVI.from_scvi_model(...), and model.predict(...).SCVI reference and then initialize SCANVI for label transfer.scvi.external.SOLO.from_scvi_model(...), SOLO.train(...), and SOLO.predict(...).scvi.external.CellAssign, binary marker matrices, and soft assignment probabilities.train(...), checkpointing, accelerators, early stopping, or dataloader tuning unless annotation-specific behavior is the core issue; route to training-and-inference coverage when available.SCVI, SCANVI, TOTALVI, or other model families; route to core-models coverage when available.references/workflows.md.references/api-reference.md.references/troubleshooting.md.SCANVI.setup_anndata(..., labels_key=..., unlabeled_category=...) or bootstrap from a trained SCVI with SCANVI.from_scvi_model(...).SCVI reference exists and the goal is doublet calls, use SOLO.from_scvi_model(scvi_model, restrict_to_batch=...) and inspect soft doublet probabilities.CellAssign after subsetting adata to marker genes and validating that marker matrix rows exactly cover adata.var_names.adata.obs; avoid trusting only the argmax label when probabilities are diffuse.