scgpt

scgpt is a skill for Claude Code, Codex from naity/FM4Life. It costs 103 tokens per session (1,967 once invoked), scanned A, original, MIT.

A machine-learning model for working with single-cell biology data, which records gene activity in individual cells.

In plain words
What is it for?
Use it to label cell types, create cell representations for analysis, combine datasets, map cells to a reference atlas, predict responses to genetic changes, or infer gene relationships.
Why use it?
It helps organize and compare cells across experiments, tissues, diseases, and batches of data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to label cell types, create cell representations for analysis, combine datasets, map cells to a reference atlas, predict responses to genetic changes, or infer gene relationships.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/naity/fm4life/scgpt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add naity/FM4Life --skill scgpt
Clone the repo
git clone --depth 1 https://github.com/naity/FM4Life

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scgpt

README.md
[![agentmods](https://agentmods.dev/badge/skills/naity/fm4life/scgpt.svg)](https://agentmods.dev/skills/naity/fm4life/scgpt)
Your own site
<a href="https://agentmods.dev/skills/naity/fm4life/scgpt"><img src="https://agentmods.dev/badge/skills/naity/fm4life/scgpt.svg" alt="Measured on agentmods" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,967 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.01967
Opus 5 $0.00051 $0.00983
Sonnet 5 $0.00021 $0.00393
Haiku 4.5 $0.00010 $0.00197

Measured 7d ago against content hash 5729c7cd425b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

scgpt scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/embed.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/scgpt/SKILL.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

scGPT: Foundation Model for Single-Cell Biology

Overview

scGPT is a generative pretrained transformer trained on 33 million human single cells. It learns a universal representation of gene expression that transfers across tissues, diseases, and experimental batches.

Core tasks:

  • Cell type annotation — classify cell types by fine-tuning on labeled data
  • Cell embedding — zero-shot or fine-tuned cell representations for clustering/UMAP
  • Perturbation prediction — predict gene expression changes after knockouts/overexpression
  • Multi-batch integration — harmonize data across studies and technologies
  • Reference mapping — map query cells onto a large reference atlas
  • Gene regulatory network (GRN) — infer gene-gene relationships from learned embeddings
  • Multi-omics — integrate RNA + protein (CITE-seq) or RNA + ATAC

Input: AnnData objects with raw or normalized count matrices (adata.X, genes × cells).
Output: Cell embeddings (stored in adata.obsm['X_scGPT']), cell type predictions, perturbation forecasts.

Installation

pip install scgpt "flash-attn<1.0.5"

Requirements: Python ≥ 3.7.12, PyTorch ≥ 1.13, CUDA 11.7 recommended.

Key dependencies installed automatically: scanpy, scvi-tools, numba, umap-learn, leidenalg.

Pretrained Checkpoints

Download from the scGPT Google Drive. Each checkpoint contains vocab.json, best_model.pt, and args.json.

Model Training data Best for
scGPT_human (whole-human) 33M normal human cells General-purpose default
scGPT_CP (continual-pretrained) Refined on Tabula Sapiens Zero-shot embedding, cell typing
scGPT_brain 13.2M human brain cells Brain tissue analysis
scGPT_blood 10.3M hematopoietic cells Blood / immune studies
scGPT_heart 1.8M cardiac cells Heart tissue
scGPT_lung 2.1M lung cells Lung tissue
scGPT_kidney 814K kidney cells Kidney tissue
scGPT_panCancer 5.7M cancer cells Cancer type classification

Read the full file on GitHub · 222 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 222 lines · 103 tokens per session scan A 5729c7cd425b

Subscribe to this mod's changes

scgpt is a skill published in the GitHub repository naity/FM4Life (2 stars, last pushed 5mo ago), licensed MIT. It adds 103 tokens to every session and 1,967 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

estimate-immune-score-analysis

Use this skill to compute ESTIMATE immune-related microenvironment scores from a bulk expression matrix, generate an ESTIMATE score heatmap, and optionally generate group-wise ESTIMATE score boxplots plus significance tables when a sample group file is supplied. Trigger keywords: ESTIMATE, immune score, stromal score…

aipoch/medical-research-skills · 90 tokens

external-model-validation

Use when validating an existing prognostic risk signature on an external bulk expression cohort with survival outcomes, producing risk scores, Kaplan-Meier curves, risk distribution plots, heatmap, and time-dependent ROC curves. NOT for: model training, feature selection, nomogram construction, calibration analysis…

aipoch/medical-research-skills · 66 tokens

gsva-analysis-and-visualization

Use this skill to run GSVA or ssGSEA pathway-level differential analysis from a bulk expression matrix and a sample group file, then generate a heatmap from the saved GSVA result object. Trigger keywords: GSVA, ssGSEA, pathway enrichment, KEGG pathway analysis, MSigDB. NOT for: gene-level differential expression…

aipoch/medical-research-skills · 88 tokens

medical-research-literature-reader-pro

A medical-research-native literature reading skill for users with clinical, bioinformatics, translational, and basic experimental backgrounds. Use this skill whenever a user wants to read, analyze, critique, or interpret a medical or scientific paper — whether they provide a PDF, abstract, DOI, PMID, or just a title.…

aipoch/medical-research-skills · 199 tokens

adverse-event-narrative

Generates CIOMS I-compliant ICSR narratives from adverse event case data for FDA and EMA regulatory submission. Includes temporal analysis, MedDRA coding, causality assessment using WHO-UMC or Naranjo criteria, and multi-format output.

aipoch/medical-research-skills · 57 tokens

anatomy-quiz-master

Generate interactive anatomy quizzes for medical education with multiple.

aipoch/medical-research-skills · 17 tokens