Agent skill

Sc Count

by TianGzlab in TianGzlab/OmicsClaw

Load when turning scRNA FASTQ (or existing CellRanger/STARsolo/SimpleAF/kb-python output) into a downstream-ready AnnData.

MITAuto-check passedResearch & Science

Install Sc Count

skills CLI
$ npx skills add TianGzlab/OmicsClaw --skill sc-count -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TianGzlab/OmicsClaw sc-count --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/singlecell/scrna/sc-count .claude/skills/sc-count && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sc-count
GitHub stars
161
Token cost
~1.3k tokens
SKILL.md length
390 words
Files
8 (incl. references)
Skills in repo
95
Repo updated
First seen
Licence
MIT

At a glance

Load when turning scRNA FASTQ (or existing CellRanger/STARsolo/SimpleAF/kb-python output) into a downstream-ready AnnData.

  • Works in 6 steps: Resolve --input; if it's an existing… → Otherwise validate backend prerequisites… → Run the chosen backend against the FASTQ… → …
  • Tasks that involve Bioinformatics
  • SKILL.md covers When to use, Inputs & Outputs, Flow and Gotchas, plus 2 more sections
  • Runs Python scripts from its folder; calls python

What it does

Sc Count is an agent skill from TianGzlab/OmicsClaw. Load when turning scRNA FASTQ (or existing CellRanger/STARsolo/SimpleAF/kb-python output) into a downstream-ready AnnData. Skip when reads are already counted into AnnData (use sc-standardize-input); raw quality assessment only (use sc-fastq-qc).

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including reference files (for example `references/methodology.md`, `references/output_contract.md` and `references/parameters.md`).

It sits in Research & Science, covering Bioinformatics. It works with AnnData and Python. The repository describes itself as: Conversational & memory-enabled AI research partner for multi-omics analysis. CLI + Desktop App (installers in Releases). From biological idea to full research paper. The licence is MIT.

When your agent uses it

  • Tasks that involve Bioinformatics

Example prompts

  • “/sc-count”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Resolve --input; if it's an existing CellRanger / STARsolo / SimpleAF / kb-python output dir, re-canonicalise instead of running the…
  2. Otherwise validate backend prerequisites (chemistry, reference, t2g for kb-python, whitelist for STARsolo).
  3. Run the chosen backend against the FASTQ (and --read2 if explicit).
  4. Load the resulting matrix into AnnData; canonicalise (layers["counts"], adata.raw, gene-name harmonisation).
  5. Render barcode-rank + count-distribution figures.
  6. Emit processed.h5ad + report.md + result.json.

What it can do on your machine

Read from SKILL.md and the folder at commit 6fbd79f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sc Count loads about 1.3k tokens when it runs, and up to ~5.2k if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 390 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TianGzlab/OmicsClaw at commit 6fbd79f, republished under its MIT licence (© TianGzlab). 390 words, ~1,329 tokens.

Download SKILL.mdSave it as .claude/skills/sc-count/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
sc-count
description
Load when turning scRNA FASTQ (or existing CellRanger/STARsolo/SimpleAF/kb-python output) into a downstream-ready AnnData. Skip when reads are already counted into AnnData (use sc-standardize-input); raw quality assessment only (use sc-fastq-qc).
version
0.3.0
author
OmicsClaw
license
MIT
emoji
🧬
tags
singlecell, scrna, counting, cellranger, starsolo, simpleaf, kb-python
requires
anndata, matplotlib, numpy, pandas, scanpy, scipy, seaborn

sc-count

When to use

The user has FASTQ files (or pre-existing tool output directories) and wants per-cell counts in OmicsClaw's canonical AnnData contract. Four backends share one CLI: cellranger, starsolo, simpleaf, kb-python. When passed an already-counted directory the skill re-canonicalises rather than re-counts. Pairs with sc-fastq-qc upstream (read QC) and sc-multi-count downstream (merging multiple samples).

Inputs & Outputs

<!-- AUTO-GENERATED from skill.yaml (interface) — do not edit by hand. Regenerate: python scripts/generate_skill_md.py <skill_dir> -->

Inputs

  • Input kinds: file, directory
  • Modalities: scrna
  • File types: .fastq, .fq, .h5ad
  • FASTQ structure: valid first record; paired layout
  • Directory layouts (any): paired-fastq, tenx-matrix, cellranger-output, starsolo-output, pseudoalign-output

Outputs

  • tables/Summary.csv
  • tables/backend_summary.csv
  • tables/barcode_metrics.csv
  • tables/barcodes.tsv
  • tables/cell_metadata.csv
  • tables/count_summary.csv
  • tables/features.tsv
  • tables/genes.tsv
  • tables/metrics_summary.csv
  • tables/simpleaf_t2g.tsv
  • figures/barcode_rank.png
  • figures/count_complexity_scatter.png
  • figures/count_distributions.png
  • 3M-february-2018.txt
  • 737K-august-2016.txt
  • Aligned.sortedByCoord.out.bam
  • analysis_summary.txt
  • cells_x_genes.barcodes.txt
  • cells_x_genes.genes.txt
  • multiqc_report.html
  • possorted_genome_bam.bam
  • processed.h5ad
  • quants_mat_cols.txt
  • quants_mat_rows.txt
  • simpleaf_index.json
  • standardized_input.h5ad
  • web_summary.html
  • report.md
  • result.json
  • Processed AnnData (saves_h5ad)

Flow

  1. Resolve --input; if it's an existing CellRanger / STARsolo / SimpleAF / kb-python output dir, re-canonicalise instead of running the backend.
  2. Otherwise validate backend prerequisites (chemistry, reference, t2g for kb-python, whitelist for STARsolo).
  3. Run the chosen backend against the FASTQ (and --read2 if explicit).
  4. Load the resulting matrix into AnnData; canonicalise (layers["counts"], adata.raw, gene-name harmonisation).
  5. Render barcode-rank + count-distribution figures.
  6. Emit processed.h5ad + report.md + result.json.
Show full SKILL.md (206 more words)Show less

Gotchas

  • Missing input path → hard fail. sc_count.py:356 raises FileNotFoundError(f"Input path not found: {input_path}"). Common when the FASTQ dir is on a network mount that has not been resolved at run time.
  • STARsolo requires explicit chemistry. sc_count.py:420 raises ValueError("STARsolo runs require an explicit --chemistryvalue such as10xv3.") when chemistry is left at the auto default. STARsolo currently supports 10xv2, 10xv3, and 10xv4; pass one of those.
  • Backend prerequisites are validated up front. sc_count.py:401, :423, :451 raise ValueError for missing --reference (CellRanger/STARsolo/simpleaf), missing --t2g (kb-python), or unsupported --chemistry for STARsolo. No silent fallback to a different backend — pick a feasible one before invoking.
  • Re-canonicalising-existing-output is detected by directory shape, not a flag. If --input points at a CellRanger output dir (e.g. one with outs/raw_feature_bc_matrix/), the skill skips counting and just imports the matrix. No flag separates the two paths; verify by inspecting result.json["data"]["execution"] (empty list = re-canonicalise; populated = backend invoked) or by reading tables/backend_summary.csv (lists the backend metrics only when the backend ran).

Key CLI

bash
# Demo (synthetic FASTQ + CellRanger-shaped output)
python omicsclaw.py run sc-count --demo --output /tmp/sc_count_demo

# CellRanger over FASTQ
python omicsclaw.py run sc-count \
  --input fastq_dir/ --output results/ \
  --reference cellranger_transcriptome --threads 16

# STARsolo (requires explicit chemistry)
python omicsclaw.py run sc-count \
  --input fastq_dir/ --output results/ \
  --reference star_genome_dir --chemistry 10xv3 --whitelist barcodes.tsv

# Re-canonicalise an existing CellRanger output directory
python omicsclaw.py run sc-count \
  --input cellranger_output_dir/ --output results/

See also

  • references/parameters.md — every CLI flag and per-backend prerequisite
  • references/methodology.md — backend selection guide, re-canonicalise vs re-run logic
  • references/output_contract.md — processed.h5ad schema + table layouts
  • Adjacent skills: sc-fastq-qc (upstream — read-quality check before counting), sc-multi-count (downstream — merge multiple sample outputs), sc-standardize-input (parallel — for AnnData from outside OmicsClaw)

© TianGzlab, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (references) in skills/singlecell/scrna/sc-count of TianGzlab/OmicsClaw.

  • SKILL.md
  • references/methodology.md
  • references/output_contract.md
  • references/parameters.md
  • references/r_visualization.md
  • sc_count.py
  • skill.yaml
  • tests/test_sc_count.py

Open the folder on GitHubat commit 6fbd79f

Compare with similar skills

Sc Count next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sc Count compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sc Count this skillTianGzlab/OmicsClaw161—~1.3kAutomated safety check: PassMIT
PyDESeq2 Differential Expressiondavila7/claude-code-templates32k12 repos~4kAutomated safety check: PassMIT
Anndatadavila7/claude-code-templates32k12 repos~2.5kAutomated safety check: PassMIT
GenimlK-Dense-AI/scientific-agent-skills48k2 repos~4kAutomated safety check: NotesMIT
ScanpyK-Dense-AI/scientific-agent-skills48k1 repos~5.1kAutomated safety check: PassBSD-3-Clause
AnndataK-Dense-AI/scientific-agent-skills48k1 repos~3.9kAutomated safety check: NotesBSD-3-Clause

Similar skills

  • PyDESeq2 Differential Expression

    davila7/claude-code-templates

    Runs differential gene expression analysis on bulk RNA-seq counts with PyDESeq2: design formulas, Wald tests, FDR correction and volcano or MA plots.

    32k GitHub starsUsed in 12 repos~4k tokens
    Research & ScienceAuto-check passed
  • Anndata

    davila7/claude-code-templates

    This skill should be used when working with annotated data matrices in Python, particularly for single-cell genomics analysis, managing experimental measurements with metadata, or handling…

    32k GitHub starsUsed in 12 repos~2.5k tokens
    Research & ScienceAuto-check passed
  • Geniml

    K-Dense-AI/scientific-agent-skills

    Supports audited local Geniml genomic-interval workflows: validate BED and universe contracts, plan Region2Vec or scEmbed runs, inspect model/tokenizer compatibility, and assess consensus universes.

    48k GitHub starsUsed in 2 repos~4k tokens
    Research & ScienceAuto-check: notes
  • Scanpy

    K-Dense-AI/scientific-agent-skills

    Performs Scanpy single-cell RNA-seq QC, normalization, HVG selection, PCA/UMAP/t-SNE, clustering, exploratory marker ranking, pseudobulk preparation, visualization, and Seurat or…

    48k GitHub starsUsed in 1 repo~5.1k tokens
    Research & ScienceAuto-check passed
  • Anndata

    K-Dense-AI/scientific-agent-skills

    Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem.

    48k GitHub starsUsed in 1 repo~3.9k tokens
    Research & ScienceAuto-check: notes
  • Bio Single Cell Data Io

    FreedomIntelligence/OpenClaw-Medical-Skills

    Read, write, and create single-cell data objects using Seurat (R) and Scanpy (Python).

    3.1k GitHub starsUsed in 1 repo~2k tokens
    Research & ScienceAuto-check passed

More from TianGzlab/OmicsClaw

All 95 skills in this repo
  • Bulkrna Batch Correction

    TianGzlab/OmicsClaw

    Load when removing batch effects from a multi-cohort bulk RNA-seq dataset using ComBat (R or Python implementation).

    161 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Bulkrna Coexpression

    TianGzlab/OmicsClaw

    Load when discovering gene co-expression modules and hub genes in a bulk RNA-seq cohort via WGCNA-style soft-thresholded networks.

    161 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Bulkrna De

    TianGzlab/OmicsClaw

    Load when comparing gene expression between two conditions in bulk RNA-seq count data.

    161 GitHub stars~976 tokensUpdated 2 mo ago
    Auto-check passed
  • Bulkrna Deconvolution

    TianGzlab/OmicsClaw

    Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference.

    161 GitHub stars~984 tokensUpdated 2 mo ago
    Auto-check passed
  • Bulkrna Enrichment

    TianGzlab/OmicsClaw

    Load when running pathway / GO term enrichment on a bulk RNA-seq DE result list.

    161 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Bulkrna Geneid Mapping

    TianGzlab/OmicsClaw

    Load when converting gene identifiers between Ensembl, Entrez, and HGNC symbol in a bulk RNA-seq count matrix.

    161 GitHub stars~1k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Sc Count

What does Sc Count do?

Load when turning scRNA FASTQ (or existing CellRanger/STARsolo/SimpleAF/kb-python output) into a downstream-ready AnnData. Sc Count is an agent skill from TianGzlab/OmicsClaw. Load when turning scRNA FASTQ (or existing CellRanger/STARsolo/SimpleAF/kb-python output) into a downstream-ready AnnData.

When should I use Sc Count?

Sc Count fits situations like: tasks that involve Bioinformatics.

How do I install Sc Count in Claude Code?

Run `npx skills add TianGzlab/OmicsClaw --skill sc-count -a claude-code`. Or copy the skill folder (skills/singlecell/scrna/sc-count in TianGzlab/OmicsClaw) into .claude/skills/sc-count in your project. Claude Code loads it when a task matches its description.

How do I install Sc Count in Codex?

Run `npx skills add TianGzlab/OmicsClaw --skill sc-count -a codex`. Or copy the skill folder (skills/singlecell/scrna/sc-count in TianGzlab/OmicsClaw) into .agents/skills/sc-count in your project. Codex loads it when a task matches its description.

Can I use Sc Count in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TianGzlab/OmicsClaw --skill sc-count -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sc-count, .gemini/skills/sc-count, .github/skills/sc-count and .opencode/skills/sc-count in your project.

What does Sc Count need to run?

Going by SKILL.md and its folder, Sc Count needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Sc Count access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sc Count safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sc Count use?

Sc Count is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sc Count use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.9k tokens, read only when the agent opens those files.

What are the alternatives to Sc Count?

Skills that share tags, products or a category with Sc Count: PyDESeq2 Differential Expression (davila7/claude-code-templates, 32k stars), Anndata (davila7/claude-code-templates, 32k stars), Geniml (K-Dense-AI/scientific-agent-skills, 48k stars) and Scanpy (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sc Count?

TianGzlab (a GitHub organization) maintains it in TianGzlab/OmicsClaw, which has 161 GitHub stars. The repository holds 95 skills in this directory. The repository was last updated on July 28, 2026.

Source: TianGzlab/OmicsClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.