sc-qc

sc-qc is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 60 tokens per session (2,115 once invoked), scanned A, original, Apache-2.0.

A single-cell data quality report for an AnnData file, measuring genes detected, total counts, and mitochondrial and ribosomal read percentages for each cell.

In plain words
What is it for?
Reviewing cell-level quality metrics and exporting tables, charts, and a processed AnnData file for later analysis.
Why use it?
It shows which cells may be low quality before you decide whether to remove them. It reports these measurements but does not filter cells.

Skill for Claude CodeCodex

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

Good fit Reviewing cell-level quality metrics and exporting tables, charts, and a processed AnnData file for later analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/sc-qc
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-qc
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-qc

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-qc"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-qc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,115 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.00060 $0.02115
Opus 5.5 $0.00024 $0.00846
Sonnet 5.5 $0.00012 $0.00423
Haiku 4.5 $0.00006 $0.00212

Measured 17d ago against content hash 330a61fd3b51, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sc-qc 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 17d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (_api.py, examples/example_step.py, sc_qc.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-qc/SKILL.md · 164 lines

How it starts

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

sc-qc

When to use

The user has a single-cell AnnData (post-counting / post-standardisation) and wants to review cell quality — counts, detected genes, mitochondrial percentage, ribosomal percentage — before any filtering. This skill reports, it does not remove cells. Use sc-filter to actually drop cells based on these metrics.

Use from a step

qc = load_skill("sc-qc")
adata = qc.calculate_qc(read_input("data/pbmc.h5ad"), species="human")
write_output(qc.qc_summary(adata), "tables/qc_metrics_summary.csv")
write_output(qc.qc_figure(adata), "figures/qc_histograms.png")
write_output(adata, "intermediate/adata_qc.h5ad")

A complete step that runs on demo data: examples/example_step.py.

API

calculate_qc(adata, *, species: str='human', calculate_ribo: bool=True)

Bring the input into the OmicsClaw scRNA contract and add per-cell QC metrics to obs.

The count-like matrix becomes X and layers['counts'], raw keeps a counts snapshot, and gene names are made unique. Then scanpy's calculate_qc_metrics adds n_genes_by_counts, total_counts, pct_counts_mt and pct_counts_ribo (when the gene prefixes match), plus log10_total_counts and log10_n_genes_by_counts; var gets mt and ribo flags. How the input was read is recorded for :func:run_info.

:param species: "human" (MT-, RPS/RPL prefixes) or "mouse" (mt-, Rps/Rpl). Default "human", the CLI default. Set it to the organism of the data: with the wrong one no mitochondrial gene matches and pct_counts_mt is not computed at all. :param calculate_ribo: Also compute pct_counts_ribo. Default True, as the CLI does. :returns: A new AnnData (the standardized copy), with the metrics in obs. :raises ValueError: no count-like matrix can be found in X, layers or raw.

run_info(adata, *, keep: bool=True) -> dict

Read the full file on GitHub · 164 lines

Files

What ships with it

8 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. 17d ago Changed · +60 lines 330a61fd3b51
  2. 1mo ago First seen · 104 lines · 60 tokens per session scan A 6863f1f208f0

Subscribe to this mod's changes

sc-qc is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 17d ago), licensed Apache-2.0. It adds 60 tokens to every session and 2,115 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

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

scRNA_qc_checklist

Turn single-cell RNA-seq summary metrics into a practical QC checklist with explicit assumptions and threshold recommendations.

Azealoo/miniAgent · 27 tokens

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

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-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