cellxgene-census

cellxgene-census is a skill for Claude Code from CHENyiru3/AI-Skills-Collections. It costs 46 tokens per session (658 once invoked), scanned A, a copy of cellxgene-census, MIT.

A programmatic interface to CELLxGENE Census, a curated collection of standardized single-cell genomics data from many studies.

In plain words
What is it for?
Use it to query gene-expression data and metadata, compare single-cell datasets, train models, and calculate large-scale statistics.
Why use it?
It avoids downloading and preparing separate datasets when comparing cells across tissues, diseases, or cell types.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the compbio plugin — 38 skills shipped together

Good fit Use it to query gene-expression data and metadata, compare single-cell datasets, train models, and calculate large-scale statistics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chenyiru3/ai-skills-collections/cellxgene-census
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 CHENyiru3/AI-Skills-Collections --skill cellxgene-census
Clone the repo
git clone --depth 1 https://github.com/CHENyiru3/AI-Skills-Collections

Made for: Claude Code.

Or install compbio, the plugin that ships this one along with the rest of its 38 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/cellxgene-census/github.svg)](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/cellxgene-census)
Your own site
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/cellxgene-census"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/cellxgene-census/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 cellxgene-census

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/cellxgene-census"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/cellxgene-census.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 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 91% 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.00046 $0.00658
Opus 5.5 $0.00018 $0.00263
Sonnet 5.5 $0.00009 $0.00132
Haiku 4.5 $0.00005 $0.00066

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

Security

Grade A, and why

cellxgene-census 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 25d ago.

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

91% identical to cellxgene-census — 518 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-market/compbio/single-cell/visualization/cellxgene-census/SKILL.md · 37 lines

How it starts

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

CZ CELLxGENE Census

Inspect installed client/TileDB-SOMA versions and choose an explicit Census release. Discover that release's schema, available organisms, dataset inventory, fields, and query interfaces; do not hardcode a current cell count or call it an exhaustive atlas of all biology.

Query contract

  1. Define cell/feature selection, row unit, metadata required downstream, intended count/normalized layer, and output/memory budget.
  2. Explore metadata before expression. Select every field later used for grouping, including tissue/donor/dataset identifiers, rather than requesting only cell_type and then grouping by an absent tissue column.
  3. Use supported get_obs/get_var/get_anndata or SOMA axis-query signatures for the installed version. Check actual values/ontology IDs and filter syntax before a broad query.
  4. For ordinary unique-cell analyses apply the release's is_primary_data selection where appropriate. Document that policy and inspect study/donor relationships; it is not a substitute for all possible duplicate/provenance checks.
  5. Inspect feature-presence metadata. A missing measured feature and an observed zero are different; restrict statistics to the eligible measurement population.
  6. Use context managers or close both Census and axis-query resources. Estimate returned cells/features/nonzeros before materialization; use chunked SOMA access for the actual memory budget, not a fixed 100k-cell threshold.

Sparse summaries

Sparse expression tables normally enumerate stored entries rather than every cell-feature pair. Dividing a sum by the number of stored/nonzero entries yields a nonzero-only mean, not mean expression across eligible cells. Use the intended number of eligible observations (and features, for a scalar matrix-wide summary) including implicit zeros. For per-gene summaries, accumulate by feature ID and use the correct measured-cell denominator per feature.

Track join IDs and map results back to selected observation/feature identifiers. Handle empty queries, absent features, zero denominators, and chunk boundaries explicitly. Do not interpret missing values as measured zero automatically.

Read the full file on GitHub · 37 lines

Files

What ships with it

2 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. 25d ago Changed · -475 lines · -21 tokens per session 74131fee8912
  2. 2mo ago First seen · 512 lines · 67 tokens per session scan A 84ee1d812f81

Subscribe to this mod's changes

cellxgene-census is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (4 stars, last pushed 13d ago), licensed MIT. It adds 46 tokens to every session and 658 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to cellxgene-census, differing in 518 lines, and is treated as a copy.

Related

cellxgene-census compared with skills from other repositories

cellxgene-census next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cellxgene-censusCHENyiru3/AI-Skills-CollectionsSkill413d agoMITA46Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill38kyesterdayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill60k5d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill60k5d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill60k5d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k5d agoApache-2.0A205Claude Code