sc-multi-count

sc-multi-count is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 66 tokens per session (1,749 once invoked), scanned A, original, Apache-2.0.

A tool that merges count matrices from several single-cell samples into one AnnData dataset and records which sample each cell came from.

In plain words
What is it for?
Combining separately counted samples into a single dataset with standard sample labels.
Why use it?
It gives downstream analyses one consistent input while preserving sample identity for comparisons and batch-aware analysis.

Skill for Claude CodeCodex

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

Good fit Combining separately counted samples into a single dataset with standard sample labels.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-multi-count"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-multi-count.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,749 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.00066 $0.01749
Opus 5.5 $0.00026 $0.00700
Sonnet 5.5 $0.00013 $0.00350
Haiku 4.5 $0.00007 $0.00175

Measured 1mo ago against content hash d27f1ef25b28, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sc-multi-count 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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (_api.py, examples/example_step.py, sc_multi_count.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-multi-count/SKILL.md · 149 lines

How it starts

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

sc-multi-count

Use from a step

from skills._sdk.notebook import load_skill, read_input, write_output

merge = load_skill("sc-multi-count")
samples = [read_input("data/sample_a.h5ad"), read_input("data/sample_b.h5ad")]
adata = merge.merge_samples(samples, sample_ids=["sample_a", "sample_b"])
write_output(adata, "intermediate/merged.h5ad")
write_output(merge.per_sample_summary(adata), "tables/samples.csv")

The API returns objects and does not write files. Existing sample labels are kept even when sample_ids supplies different barcode prefixes. See examples/example_step.py for a count-conservation check using two halves of PBMC3k; those halves are demonstration samples, not biological replicates.

When to use

The user has run sc-count (or another counting backend) on multiple samples separately and now needs them merged into one AnnData with a canonical sample-label column for downstream batch-aware analysis. This only joins matrices; it does not perform Cell Ranger's depth normalization or recount reads.

Inputs & Outputs

Inputs

  • Two or more AnnData objects with raw count-like values in .X; the CLI takes repeated --input H5AD paths. Features are aligned by name.

Outputs

  • tables/barcode_metrics.csv
  • tables/per_sample_summary.csv
  • figures/barcode_rank.png
  • figures/count_complexity_scatter.png
  • figures/count_distributions.png
  • figures/sample_composition.png
  • processed.h5ad
  • standardized_input.h5ad
  • report.md
  • result.json
  • figures/manifest.json, figure_data/manifest.json and copies of the two tables
  • reproducibility/commands.sh, reproducibility/requirements.txt
  • The returned AnnData has sample labels, layers["counts"] and a count snapshot in .raw.

Flow

  1. Collect per-sample AnnData paths from each --input <path> flag (action="append"); paired --sample-id <id> flags assign sample labels.
  2. Load and tag samples, preserving an existing obs["sample_id"].
  3. Join features and cells, zero-fill absent features, then record the count contract.
  4. Write merged AnnData; emit per-sample / per-barcode summary tables.
  5. Render barcode-rank + composition figures.
  6. Emit report.md + result.json.

Read the full file on GitHub · 149 lines

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. 1mo ago Changed · +34 lines d27f1ef25b28
  2. 2mo ago First seen · 115 lines · 66 tokens per session scan A e8c59384c74c

Subscribe to this mod's changes

sc-multi-count is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 1,749 once invoked, about $0.0003 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

sc-multi-count compared with skills from other repositories

sc-multi-count next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sc-multi-countTianGzlab/OmicsClawSkill1611mo agoApache-2.0A66Claude Code, Codex
scanpysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
Virtual Embryo — atlas data + knowledge grapharistoteleo/PantheonOSSkill499todayBSD-2-ClauseA170Claude Code, Codex
Single-Cell Analysis Skills Indexaristoteleo/PantheonOSSkill499todayBSD-2-ClauseA48Claude Code, Codex
cellxgene-census-queryPharMolix/OpenBioMedSkill1.1k4mo agoMITA105Claude Code, Codex
single-cell-scrna-seq-analysis-scanpyPharMolix/OpenBioMedSkill1.1k4mo agoMITA85Claude Code, Codex
single-cell-multi-omics-analysis-scviPharMolix/OpenBioMedSkill1.1k4mo agoMITA94Claude Code, Codex