brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
model-managementManage CellTypist built-in model discovery, local cache behavior, model pickle inspection, conversion, subsetting, markers, and offline test fixtures.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about locating, downloading, loading, writing, inspecting, converting, subsetting, or smoke-testing CellTypist models.
Model.load, Model.write, prediction labels/probabilities, and marker extraction.CELLTYPIST_FOLDER model cache or verify a local model pickle without downloading anything.celltypist.models, built-in model inventory/download/cache behavior, Model object persistence and metadata, marker extraction, Model.convert, and Model.subset.For offline work, avoid implicit default-model resolution and pass an explicit local model path containing a forward slash, such as ./local_model.pkl or Path("local_model.pkl").resolve().as_posix().
from pathlib import Path
from celltypist import models
model_path = Path("local_model.pkl").resolve().as_posix()
model = models.Model.load(model_path)
print(model.cell_types)
print(model.features[:5])
If a task may run without network access, inspect cache state first:
python scripts/model_cache_check.py --verify-model ./local_model.pkl