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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scgpt

Your own site · 80×15
<a href="https://agentmods.dev/skills/naity/fm4life/scgpt"><img src="https://agentmods.dev/badge/skills/naity/fm4life/scgpt.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00041 $0.00787
Sonnet 5.5 $0.00021 $0.00393
Haiku 4.5 $0.00010 $0.00197

Measured 3mo ago against content hash 5729c7cd425b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 3mo 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. 3mo 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 7mo ago), licensed MIT. It adds 103 tokens to every session and 1,967 once invoked, about $0.0004 per session on Opus 5.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

scgpt compared with skills from other repositories

scgpt next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scgptnaity/FM4LifeSkill27mo agoMITA103Claude Code, Codex
single-cellinflexa-ai/inflexaSkill39yesterdayApache-2.0A65Claude Code, Codex
translational-safetyinflexa-ai/inflexaSkill39yesterdayApache-2.0A59Claude Code, Codex
dna-methylationinflexa-ai/inflexaSkill39yesterdayApache-2.0A69Claude Code, Codex
genomic-variantsinflexa-ai/inflexaSkill39yesterdayApache-2.0A65Claude Code, Codex
pkpd-clinical-responseinflexa-ai/inflexaSkill39yesterdayApache-2.0A60Claude Code, Codex
statistical-modelinginflexa-ai/inflexaSkill39yesterdayApache-2.0A60Claude Code, Codex