Scprint2FoundationModelAgent Agent

From mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills- · View interactive version

Scprint2FoundationModelAgent Agent is an AI agent skill from the GitHub repository mdbabumiamssm/LLMs-Universal-Life-Science-and-Clinical-Skills-. Agentic skill for using scPRINT-2, the next-generation single-cell foundation model from the Cantini Lab, for cell-type annotation, embedding, and downstream single-cell analysis.

How to use this skill

Skill file

<!--

COPYRIGHT NOTICE

This file is part of the "Universal AI Agentic Skills" project.

Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>

All Rights Reserved.

#

This code is proprietary and confidential.

Unauthorized copying of this file, via any medium is strictly prohibited.

#

Provenance: Authenticated by MD BABU MIA

-->

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->


name: 'scprint2-foundation-model-agent'

description: 'Agentic skill for using scPRINT-2, the next-generation single-cell foundation model from the Cantini Lab, for cell-type annotation, embedding, and downstream single-cell analysis.'

measurable_outcome: 'Execute skill workflow successfully with valid output within 15 minutes.'

allowed-tools:


scPRINT-2 Single-Cell Foundation Model Agent

Overview

This skill operationalizes scPRINT-2, a next-generation single-cell foundation model developed by the Cantini Lab, as an agentic workflow for single-cell RNA-seq analysis. It guides loading pretrained scPRINT-2 weights, preparing AnnData inputs, and producing cell embeddings, annotations, and gene network outputs for downstream interpretation. The skill is intended for researchers who want to apply a modern transformer-based single-cell foundation model to their own datasets without writing the orchestration boilerplate from scratch.

When to Use This Skill

Core Capabilities

  1. Environment setup — Install the scprint package and PyTorch dependencies, verify CUDA availability, and download the appropriate pretrained checkpoint from the official release.
  2. Data preparation — Load an .h5ad AnnData object, validate gene symbols against the model's gene vocabulary, and harmonize raw counts to the format scPRINT-2 expects.
  3. Cell embedding — Run inference to produce per-cell latent embeddings suitable for clustering, integration, and visualization (UMAP/t-SNE).
  4. Cell-type annotation — Use the model's classification head to assign cell-type labels and confidence scores, with optional reference-based label transfer.
  5. Gene network inference — Extract attention-derived gene-gene interaction scores for biological interpretation and pathway analysis.
  6. Fine-tuning — Optionally fine-tune the model on a user-provided labeled dataset for task-specific adaptation.
  7. Benchmarking and comparison — Produce side-by-side metrics versus other foundation models when a comparison is requested.
  8. scPRINT-2 repository workflow — Use the official cantinilab/scPRINT-2 GitHub source for current installation and model-loading steps, then run embedding and annotation workflows only after checking AnnData compatibility, gene vocabulary overlap, and raw-count availability; compare outputs against requested scFoundation/Geneformer-style baselines without inventing benchmark results, and validate downstream clustering, integration, annotation, or transfer tasks with held-out labels and task-appropriate QC.

Inputs / Outputs

Inputs

Outputs

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.