Skills for Real Engineers. Straight from my .agents directory.
scgpt
Agent skill fromaipoch/open-science
Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology. Use this skill when: (1) Producing cell embeddings from an AnnData for clustering/integration, (2) Zero-shot or fine-tuned cell-type annotation, (3) Gene-level representation for perturbation/GRN tasks. For probabilistic single-cell models (scVI etc.), use the scvi-tools library.
How to install scgpt
npx skills add aipoch/open-science# or add only this skill to Claude Code: copy the folder
resources/skills/scgpt/
# into
~/.claude/skills/scgpt/ (all projects)
.claude/skills/scgpt/ (one project)
1# scGPT — Single-Cell Foundation Model23## Prerequisites45| Requirement | Minimum | Recommended |6| ----------- | ------- | ----------- |7| Python | 3.10+ | 3.11 |8| CUDA | 12.1+ | 12.4+ |9| GPU VRAM | 16 GB | 24 GB+ |1011## How to run1213### Loading the vocabulary and checkpoint1415scGPT checkpoints are **raw directories** (`args.json`, `best_model.pt`,16`vocab.json`) — not Hugging Face hub repos. Point at the directory, not an HF17repo id.1819```python20from scgpt.tokenizer.gene_tokenizer import GeneVocab21gv = GeneVocab.from_file("/path/to/scgpt-human/vocab.json")22print(len(gv)) # 60697 for the released human checkpoint23```2425### Embedding an AnnData2627```python28import anndata as ad29from scgpt.tasks import embed_data3031adata = ad.read_h5ad("dataset.h5ad") # var must contain a gene-name column32emb = embed_data(33 adata,34 model_dir="/path/to/scgpt-human",35 gene_col="feature_name",36 use_fast_transformer=False, # see Gotchas37)38# emb is an AnnData with .obsm["X_scGPT"]39```4041## Output format4243`embed_data` returns an `AnnData` whose `.obsm["X_scGPT"]` is the per-cell44embedding (`n_cells × emb_dim`, 512 by default). Downstream: feed to45`scanpy.pp.neighbors` / `scanpy.tl.umap`.4647## Remote compute4849Needs ≥24 GB VRAM and the released human checkpoint (~200 MB:50`args.json`, `best_model.pt`, `vocab.json`). Read51`compute_details({provider, mode:'read'})` for an environment with `scgpt`52and a pre-cached checkpoint directory, then:53…
Excerpt shown under the repository's Apache-2.0 license.
More skills in open-science
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
