single-cell-rna-qc

single-cell-rna-qc is a skill for Claude Code, Codex from Shoko-official/Claude-Science-System-Prompts. It costs 72 tokens per session (1,842 once invoked), scanned A, a copy of single-cell-rna-qc, Apache-2.0.

A quality check for single-cell RNA sequencing data, which measures gene activity in individual cells. It accepts .h5ad files used by Python analysis tools and .h5 files produced by 10X Genomics instruments, then identifies low-quality or unusual cells and creates visual summaries.

In plain words
What is it for?
Use it to assess data quality, filter low-quality cells, find outliers, and generate quality-control metrics and plots from supported single-cell datasets.
Why use it?
It helps detect unreliable cells before later analysis, reducing the chance that poor data distorts biological conclusions. The workflow follows common scverse and Scanpy practices and uses a statistical outlier method based on median absolute deviation.

Skill for Claude CodeCodex

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

Good fit Use it to assess data quality, filter low-quality cells, find outliers, and generate quality-control metrics and plots from supported single-cell datasets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shoko-official/claude-science-system-prompts/single-cell-rna-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 Shoko-official/Claude-Science-System-Prompts --skill single-cell-rna-qc
Clone the repo
git clone --depth 1 https://github.com/Shoko-official/Claude-Science-System-Prompts

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 single-cell-rna-qc

README.md
[![agentmods](https://agentmods.dev/badge/skills/shoko-official/claude-science-system-prompts/single-cell-rna-qc/github.svg)](https://agentmods.dev/skills/shoko-official/claude-science-system-prompts/single-cell-rna-qc)
Your own site
<a href="https://agentmods.dev/skills/shoko-official/claude-science-system-prompts/single-cell-rna-qc"><img src="https://agentmods.dev/badge/skills/shoko-official/claude-science-system-prompts/single-cell-rna-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 single-cell-rna-qc

Your own site · 80×15
<a href="https://agentmods.dev/skills/shoko-official/claude-science-system-prompts/single-cell-rna-qc"><img src="https://agentmods.dev/badge/skills/shoko-official/claude-science-system-prompts/single-cell-rna-qc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,842 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 97% copy Near-identical to another mod 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.00072 $0.01842
Opus 5 $0.00036 $0.00921
Sonnet 5 $0.00014 $0.00368
Haiku 4.5 $0.00007 $0.00184

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

Security

Grade A, and why

single-cell-rna-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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/qc_analysis.py, scripts/qc_core.py, scripts/qc_plotting.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.

Origin

This is a copy

97% identical to single-cell-rna-qc — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/single-cell-rna-qc/SKILL.md · 176 lines

How it starts

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

Single-Cell RNA-seq Quality Control

Automated QC workflow for single-cell RNA-seq data following scverse best practices.

When to Use This Skill

Use when users:

  • Request quality control or QC on single-cell RNA-seq data
  • Want to filter low-quality cells or assess data quality
  • Need QC visualizations or metrics
  • Ask to follow scverse/scanpy best practices
  • Request MAD-based filtering or outlier detection

Supported input formats:

  • .h5ad files (AnnData format from scanpy/Python workflows)
  • .h5 files (10X Genomics Cell Ranger output)

Default recommendation: Use Approach 1 (complete pipeline) unless the user has specific custom requirements or explicitly requests non-standard filtering logic.

For standard QC following scverse best practices, use the convenience script scripts/qc_analysis.py:

python3 scripts/qc_analysis.py input.h5ad
# or for 10X Genomics .h5 files:
python3 scripts/qc_analysis.py raw_feature_bc_matrix.h5

The script automatically detects the file format and loads it appropriately.

When to use this approach:

  • Standard QC workflow with adjustable thresholds (all cells filtered the same way)
  • Batch processing multiple datasets
  • Quick exploratory analysis
  • User wants the "just works" solution

Requirements: anndata, scanpy, scipy, matplotlib, seaborn, numpy

Parameters:

Customize filtering thresholds and gene patterns using command-line parameters:

  • --output-dir - Output directory
  • --mad-counts, --mad-genes, --mad-mt - MAD thresholds for counts/genes/MT%
  • --mt-threshold - Hard mitochondrial % cutoff
  • --min-cells - Gene filtering threshold
  • --mt-pattern, --ribo-pattern, --hb-pattern - Gene name patterns for different species

Use --help to see current default values.

Outputs:

All files are saved to <input_basename>_qc_results/ directory by default (or to the directory specified by --output-dir):

  • qc_metrics_before_filtering.png - Pre-filtering visualizations
  • qc_filtering_thresholds.png - MAD-based threshold overlays
  • qc_metrics_after_filtering.png - Post-filtering quality metrics
  • <input_basename>_filtered.h5ad - Clean, filtered dataset ready for downstream analysis
  • <input_basename>_with_qc.h5ad - Original data with QC annotations preserved

Read the full file on GitHub · 176 lines

Files

What ships with it

4 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. 12d ago First seen · 176 lines · 72 tokens per session scan A 605728aece93

Subscribe to this mod's changes

single-cell-rna-qc is a skill published in the GitHub repository Shoko-official/Claude-Science-System-Prompts (10 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 1,842 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to single-cell-rna-qc, differing in 2 lines, and is treated as a copy.