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.
npx skills add TianGzlab/OmicsClaw --skill sc-metacellgit clone --depth 1 https://github.com/TianGzlab/OmicsClawWrote 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.
[](https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-metacell)<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-metacell"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-metacell/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.
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-metacell"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-metacell.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.01380 |
| Opus 5.5 | $0.00029 | $0.00552 |
| Sonnet 5.5 | $0.00014 | $0.00276 |
| Haiku 4.5 | $0.00007 | $0.00138 |
Grade A, and why
sc-metacell 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.
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.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sc-metacell
Use from a step
aggregation = load_skill("sc-metacell")
cells = read_input("clustered.h5ad")
metacells = aggregation.metacells(cells, method="kmeans", n_metacells=30)
write_output(aggregation.cell_to_metacell(cells), "tables/cell_to_metacell.csv")
write_output(aggregation.metacell_summary(metacells), "tables/metacell_summary.csv")
write_output(metacells, "intermediate/metacells.h5ad")
The input receives obs['metacell']; the returned AnnData contains the
aggregates. See examples/example_step.py for a PBMC example.
API
metacells(adata, *, method: str='seacells', use_rep: str='X_pca', n_metacells: int=30, min_iter: int=10, max_iter: int=30, n_neighbors: int=15, n_pcs: int=20, random_state: int=0, celltype_key: str='leiden')
Annotate input cells and return a new mean-expression metacell AnnData.
KMeans uses the selected embedding. SEACells falls back to KMeans only when its package cannot be imported; a warning and run_info identify the fallback. Runtime errors propagate. Counts are averaged, not summed, using layers['counts'] when present, else X. Input X is preserved; obs['metacell'] receives the assignments.
:param method: seacells (default) or kmeans. :param use_rep: Existing embedding, default X_pca. :param n_metacells: Requested aggregates, default 30; at least 2 and fewer than cells. :param min_iter: SEACells minimum fitting iterations, default 10. :param max_iter: SEACells maximum fitting iterations, default 30. :param n_neighbors: Neighbor count for SEACells when its graph is absent, default 15. :param n_pcs: PCs for that graph, default 20. :param random_state: Seed for KMeans and SEACells initialization, default 0. :param celltype_key: SEACells dominant-celltype annotation, default leiden. KMeans retains the legacy dominant_label from the first obs column. :returns: A new AnnData with mean_expression layer, n_cells and dominant_label. :raises ValueError: The method, embedding or numerical parameters are invalid.
What ships with it
9 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.
- _api.py 5.5 KB runs code
- examples/example_step.py 962 B runs code
- references/methodology.md 2.2 KB
- references/output_contract.md 860 B
- references/parameters.md 358 B
- references/r_visualization.md 580 B
- sc_metacell.py 20 KB runs code
- tests/test_metacell_api.py 1.4 KB runs code
- tests/test_sc_metacell_methods.py 496 B runs code
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.
- 1mo ago Changed · -1 lines 4919b5e10d5a
- 2mo ago First seen · 128 lines · 72 tokens per session scan A 852c1d6b7d03
sc-metacell is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 1,380 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.
sc-metacell compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sc-metacellTianGzlab/OmicsClaw | Skill | 161 | 1mo ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| scanpysynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 68 | Claude Code, Codex |
| Virtual Embryo — atlas data + knowledge grapharistoteleo/PantheonOS | Skill | 499 | today | BSD-2-Clause | A | 170 | Claude Code, Codex |
| Single-Cell Analysis Skills Indexaristoteleo/PantheonOS | Skill | 499 | today | BSD-2-Clause | A | 48 | Claude Code, Codex |
| cellxgene-census-queryPharMolix/OpenBioMed | Skill | 1.1k | 4mo ago | MIT | A | 105 | Claude Code, Codex |
| single-cell-scrna-seq-analysis-scanpyPharMolix/OpenBioMed | Skill | 1.1k | 4mo ago | MIT | A | 85 | Claude Code, Codex |
| single-cell-multi-omics-analysis-scviPharMolix/OpenBioMed | Skill | 1.1k | 4mo ago | MIT | A | 94 | Claude Code, Codex |