AGENT SKILL

scvi-model-inputs

Register appropriate input data for scVI or SysVI and run a configurable model fit without treating every scvi-tools model as count-based.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 1
Forks
0

01 前言 Front Matter

name
scvi-model-inputs
license
MIT
description
Register appropriate input data for scVI or SysVI and run a configurable model fit without treating every scvi-tools model as count-based.

02 资源文件 3

03 SKILL.md 正文

scvi-tools model inputs

For every task, apply Caveman. Before broad repository navigation, use CocoIndex Code; for web-page research, use Crawl4AI. Read and follow the repository-root docs/agent-tools.md and its linked skills, and retain the required execution evidence.

The pinned skill says that all scvi-tools models require raw counts. Input requirements are model-specific: SCVI uses count data, while SysVI is designed for approximately normal data. Confirm the model's current documentation and the data's provenance before registration. This focused overlay does not review the other models or validate biological conclusions.

SCVI: registered counts

Choose a count layer that contains the intended measured counts and, if needed, a technical batch_key that exists in adata.obs. None uses no batch key. Do not automatically register donor, condition or other biological variables as nuisance covariates. Complete filtering and feature selection before setup. Supply a chosen integer seed, latent dimension n_latent and dictionary of training_options appropriate to the data and available hardware:

import scvi

if "counts" not in adata.layers:
    raise ValueError("Provide the intended count layer before SCVI setup")
scvi.settings.seed = seed
scvi.model.SCVI.setup_anndata(adata, layer="counts", batch_key=batch_key)
model = scvi.model.SCVI(adata, n_latent=n_latent)
model.train(**training_options)
latent = model.get_latent_representation()

Count-like values alone do not establish provenance. Setup registers the given fields; it does not create a missing count layer or normalize data. If the training object or its feature ordering changes, use the model's documented registration and query-mapping procedures instead of assuming the old registry is still valid.

SysVI: approximately normal input

SysVI's intended input is approximately normally distributed; its documentation uses normalized, log1p-transformed RNA data as an example. Prepare the data appropriate to the experiment, preserve its provenance, and select an existing technical batch_key. The caller supplies seed, n_latent, prior and training_options:

import scvi

scvi.settings.seed = seed
scvi.external.SysVI.setup_anndata(adata, batch_key=batch_key)
model = scvi.external.SysVI(adata, n_latent=n_latent, prior=prior)
model.train(**training_options)
latent = model.get_latent_representation()

The examples are API starting points, not prescribed hyperparameters. Check training and validation behavior, sensitivity to seeds and model choices, and retention of relevant biology. A short synthetic fit does not establish model convergence or biological validity. Normalized expression can be dense and large; request only what the task needs.

See the SCVI API, SysVI model guide and scvi-tools overview. The preserved source entrypoint is in provenance/; the control is not an agent benchmark.

04 同仓库更多 Skills

strmt7
strmt7/ai_skills_collection_benchmarked

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

测试与质量前端开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

Skill与智能体开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

playwright-skill

Complete browser automation with Playwright. Auto-detects dev servers, writes reusable test scripts, and supports screenshots, responsive checks, UX validation, login flows, link checks, and arbitrary browser automation. Use when the user wants to test a website, automate browser interactions, validate web functionality, or perform browser-based testing.

测试与质量Skill与智能体开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

前端开发
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

设计师前端开发视觉设计
★ 1
strmt7
strmt7/ai_skills_collection_benchmarked

zarr-python

Chunked N-D arrays for cloud storage. Compressed arrays, parallel I/O, S3/GCS integration, NumPy/Dask/Xarray compatible, for large-scale scientific computing pipelines.

★ 1