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-clusteringgit 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-clustering)<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/sc-clustering"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-clustering/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-clustering"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/sc-clustering.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.00073 | $0.02726 |
| Opus 5.5 | $0.00029 | $0.01090 |
| Sonnet 5.5 | $0.00015 | $0.00545 |
| Haiku 4.5 | $0.00007 | $0.00273 |
Grade A, and why
sc-clustering 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 14d 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 — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sc-clustering
When to use
The user has a normalised AnnData with PCA / integrated embedding
already populated and wants the standard scRNA neighbour-graph →
embedding → cluster workflow. Combinable in one call: pick an
embedding method (umap default, also tsne / diffmap / phate)
and a clustering method (leiden default, also louvain), with an
explicit resolution or auto-resolution search. Reads from
obsm["X_pca"] / obsm["X_harmony"] / etc. via use_rep.
Use from a step
clustering = load_skill("sc-clustering")
adata = read_input("results/02_preprocess/intermediate/adata_preprocessed.h5ad")
# resolution 0.8: the user wants broad cell types; sc-clustering's default is 1.0.
adata = clustering.cluster(adata, resolution=0.8)
write_output(clustering.cluster_summary(adata, key="leiden"), "tables/cluster_summary.csv")
write_output(clustering.embedding_figure(adata, color="leiden"), "figures/umap_leiden.png")
write_output(adata, "intermediate/adata_clustered.h5ad")
A complete step that runs on demo data: examples/example_step.py.
API
cluster(adata, *, use_rep: str | None=None, use_existing_graph: bool=False, n_neighbors: int=15, n_pcs: int=50, embedding: str='umap', method: str='leiden', resolution: float=1.0, random_state: int=0, umap_min_dist: float=0.5, umap_spread: float=1.0, tsne_perplexity: float=30.0, tsne_metric: str='euclidean', diffmap_n_comps: int=15, phate_knn: int=15, phate_decay: int=40)
Build the neighbour graph, cluster the cells and compute a 2-D embedding, in place.
Writes obs[method] (the cluster labels, a categorical of strings),
obsm['X_<embedding>'], the graph in obsp and uns['neighbors'], and
records the cluster key as the primary one in the matrix contract.
:param use_rep: The obsm key the graph is built on. Default None: the
first of X_pca, X_harmony, X_scvi, X_scanvi, X_scanorama
present. Pass X_harmony or X_scvi after batch integration.
:param n_neighbors: Neighbours per cell in the graph. Default 15, scanpy's default.
Larger values give smoother, coarser structure.
:param use_existing_graph: Keep the graph in uns['neighbors'] and obsp
instead of rebuilding it. Default False; set True after BBKNN. Graph
construction parameters are then ignored; UMAP and diffusion maps use
the retained graph, while t-SNE and PHATE still use use_rep.
:param n_pcs: Components of use_rep to use. Default 50; pick it from
sc-preprocessing's pca_variance_table (the elbow) when the data are small.
:param embedding: "umap" (default), "tsne", "diffmap" or "phate".
:param method: "leiden" (default) or "louvain"; also the obs column written.
:param resolution: Clustering resolution. Default 1.0, scanpy's default. Lower it
(0.3 to 0.6) for broad cell types, raise it for finer subtypes; or use
:func:auto_resolution.
:param random_state: Seed for the graph, the clustering and the embedding. Default 0,
scanpy's default, which makes reruns reproduce the labels.
:param umap_min_dist: UMAP min_dist. Default 0.5, scanpy's default.
:param umap_spread: UMAP spread. Default 1.0, scanpy's default.
:param tsne_perplexity: t-SNE perplexity. Default 30.
:param tsne_metric: t-SNE distance metric. Default "euclidean".
:param diffmap_n_comps: Diffusion-map components. Default 15.
:param phate_knn: PHATE neighbours. Default 15.
:param phate_decay: PHATE alpha decay. Default 40.
:returns: The same AnnData.
:raises ValueError: no embedding is available, or an unknown method or embedding.
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 18 KB runs code
- examples/example_step.py 724 B runs code
- references/methodology.md 1.8 KB
- references/output_contract.md 2.9 KB
- references/parameters.md 2.5 KB
- references/r_visualization.md 897 B
- sc_cluster.py 34 KB runs code
- tests/test_sc_cluster_methods.py 577 B runs code
- tests/test_sc_cluster.py 1.6 KB 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.
- 14d ago Changed · +46 lines 73c3a68a4d83
- 1mo ago First seen · 123 lines · 73 tokens per session scan A 3ab5ebe80132
sc-clustering is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 14d ago), licensed Apache-2.0. It adds 73 tokens to every session and 2,726 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.
Other skills, from other repositories
scanpy
Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, and visualization. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use…
spatial-domain-identification
Identify tissue regions and spatial niches from preprocessed spatial transcriptomics data using Leiden, Louvain, SpaGCN, STAGATE, GraphST, or BANKSY.
Virtual Embryo — atlas data + knowledge graph
Query the Virtual Embryo knowledge graph (mouse/human developmental biology: genes, anatomy, Theiler/Carnegie stages, gene expression, diseases, papers) and its 3D atlas catalog (anatomical OPT/light-sheet volumes + 3D spatial- transcriptomics datasets), and visualise those datasets in 3D with the volume3d / spatial3d…
single-cell-scrna-seq-analysis-scanpy
Complete single-cell RNA-seq analysis workflow built on Scanpy and AnnData. Use this skill when: (1) Loading diverse single-cell data formats (10X, h5ad, CSV), (2) Performing quality control and filtering, (3) Normalization, dimensionality reduction, and clustering, (4) Marker gene identification and cell type…
neuropixels-analysis
Analyzes Neuropixels extracellular recordings end-to-end with SpikeInterface. Covers loading SpikeGLX/Open Ephys/NWB data, preprocessing, drift/motion correction, Kilosort4 (and CPU) spike sorting, quality metrics, and unit curation (threshold-based, model-based UnitRefine, and AI-assisted visual review). Use when…
onekgpd
Queries the 1000 Genomes Project dataset (3,202 whole-genome-sequenced individuals, GRCh38) at the level of individual participants. Use when a question is about individuals or variants in the 1000 Genomes Project cohort: which individuals carry variants matching specific criteria in a gene or region, which…