sc-integrate-cluster

sc-integrate-cluster is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 80 tokens per session (1,057 once invoked), scanned A, original, Apache-2.0.

A self-contained workflow that corrects differences between batches of single-cell samples and then groups the cells into clusters. A batch is a sample or run whose technical differences can obscure biological patterns.

In plain words
What is it for?
Running one batch-correction method and clustering approach on preprocessed single-cell data.
Why use it?
It provides a clustering result after accounting for batch effects, which can otherwise make cells group by experiment rather than by biology.

Skill for Claude CodeCodex

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

Good fit Running one batch-correction method and clustering approach on preprocessed single-cell data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/sc-integrate-cluster
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 TianGzlab/OmicsClaw --skill sc-integrate-cluster
Clone the repo
git clone --depth 1 https://github.com/TianGzlab/OmicsClaw

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 sc-integrate-cluster

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-integrate-cluster/github.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-integrate-cluster)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-integrate-cluster"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-integrate-cluster/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 sc-integrate-cluster

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-integrate-cluster"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-integrate-cluster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,057 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 3
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00080 $0.01057
Opus 5 $0.00040 $0.00528
Sonnet 5 $0.00016 $0.00211
Haiku 4.5 $0.00008 $0.00106

Measured 5d ago against content hash b9bd5e812015, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

sc-integrate-cluster 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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (sc_integrate_cluster.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/singlecell/scrna/sc-integrate-cluster/SKILL.md · 109 lines

How it starts

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

sc-integrate-cluster

Domain: Single-Cell Omics (scRNA) · Role: consensus member skill

When to use

One self-contained integrate + cluster unit, used as a fan-out member of sc-consensus-integration (ADR 0016 / 0029). It produces a batch-correction representation and clusters on it at a fixed resolution, emitting the standard sc-clustering artifact schema so the consensus ScClusteringArtifactReader reads it unchanged. You normally do not call this directly — the consensus planner fans it out across methods. Input is a preprocessed AnnData with an obs batch key (≥2 batches for any real integration method); an X_pca baseline is computed if absent.

This is the single-cell analog of spatial-domains --method <m>: the integration consensus fans out genuinely different batch-correction representations.

Inputs & Outputs

Inputs

  • Modalities: scrna
  • File types: .h5ad
  • Requires a preprocessed AnnData (X normalised, PCA/neighbours present)

Outputs

  • figure_data/embedding_points.csv
  • figure_data/clustering_summary.csv
  • processed.h5ad
  • result.json
  • Processed AnnData (saves_h5ad) — adds obsm: X_pca

Flow

  1. Load the preprocessed AnnData; compute an X_pca baseline if absent.
  2. Run the --method backend to produce obsm[representation_used] (X_pca for none).
  3. Build the neighbour graph on that representation and cluster with --cluster-method at the fixed --resolution.
  4. Write figure_data/embedding_points.csv + figure_data/clustering_summary.csv
    • processed.h5ad + result.json.

Gotchas

  • processed.h5ad carries the member's integrated embedding — the consensus driver reads obsm[representation_used] from it to compute the integration intrinsic panel (ADR 0029). Do not strip obsm keys before the driver runs.
  • result.json["representation_used"] records which embedding was usedX_pca for --method none, X_<method> otherwise; the consensus reader keys off this rather than re-deriving it.
  • Fixed --resolution is by design — members must produce comparable cluster counts for the consensus operator; sweeping resolution belongs in sc-consensus-clustering, not here.
  • scVI is GPU/stochastic — reproducible within tolerance, not bit-identical; serialise GPU members (--max-parallel 1 at the consensus level).

Read the full file on GitHub · 109 lines

Files

What ships with it

5 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. 5d ago First seen · 109 lines · 80 tokens per session scan A b9bd5e812015

Subscribe to this mod's changes

sc-integrate-cluster is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 80 tokens to every session and 1,057 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

scanpy

Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, and visualization. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use…

synthetic-sciences/openscience · 68 tokens

single-cell-scrna-seq-analysis-scanpy

Complete single-cell RNA-seq analysis workflow built on Scanpy and AnnData. Use this skill when: (1) Loading diverse single-cell data formats (10X, h5ad, CSV), (2) Performing quality control and filtering, (3) Normalization, dimensionality reduction, and clustering, (4) Marker gene identification and cell type…

PharMolix/OpenBioMed · 85 tokens

Virtual Embryo — atlas data + knowledge graph

Query the Virtual Embryo knowledge graph (mouse/human developmental biology: genes, anatomy, Theiler/Carnegie stages, gene expression, diseases, papers) and its 3D atlas catalog (anatomical OPT/light-sheet volumes + 3D spatial- transcriptomics datasets), and visualise those datasets in 3D with the volume3d / spatial3d…

aristoteleo/PantheonOS · 170 tokens

cellxgene-census-query

Query CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, and integrate with scanpy/PyTorch for population-scale single-cell analysis. Use this skill when: (1) Querying single-cell expression data by cell type, tissue, or disease, (2) Exploring available single-cell datasets…

PharMolix/OpenBioMed · 105 tokens

single-cell-multi-omics-analysis-scvi

Probabilistic deep learning framework for single-cell multi-omics data analysis. Use this skill when: (1) Analyzing single-cell RNA-seq data with batch correction, (2) Integrating multi-modal data (CITE-seq, ATAC-seq, multi-omics), (3) Performing cell type annotation with scANVI, (4) Spatial transcriptomics…

PharMolix/OpenBioMed · 94 tokens

Single-Cell Analysis Skills Index

Core skills for single-cell RNA-seq analysis: quality control, cell type annotation, and trajectory inference. These are high-priority actionable workflows — load them first for common single-cell tasks.

aristoteleo/PantheonOS · 48 tokens