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 bulkrna-coexpressiongit 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/bulkrna-coexpression)<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/bulkrna-coexpression"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/bulkrna-coexpression.svg" alt="Measured on agentmods" height="20"></a>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.01250 |
| Opus 5 | $0.00036 | $0.00625 |
| Sonnet 5 | $0.00015 | $0.00250 |
| Haiku 4.5 | $0.00007 | $0.00125 |
Grade A, and why
bulkrna-coexpression 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 7d 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
bulkrna-coexpression
When to use
Run on a bulk RNA-seq cohort (≥15 samples recommended; works on smaller sets but module structure is unstable below that) when you want to find groups of co-regulated genes ("modules") and the hub genes within each. Soft-thresholded correlation network in the WGCNA style; outputs module assignments, hub genes, and module-trait correlations.
Inputs & Outputs
Inputs
- File types:
.csv
Outputs
tables/counts.csvtables/gene_modules.csvtables/hub_genes.csvtables/module_assignments.csvtables/soft_power_table.csvtables/threshold_fit.csvfigures/module_dendrogram.pngfigures/module_sizes.pngfigures/scale_free_fit.pngwgcna_info.jsonreport.mdresult.json
Flow
- Load count matrix; validate
--input(bulkrna_coexpression.py:721,724parser-error /FileNotFoundError). Demo path uses:54's built-in fixture. - Validate sample count:
:377raisesValueError("WGCNA requires >= 8 samples ...")below 8;:382warns "Low sample count" between 8 and 15 but proceeds. - Try the R WGCNA bridge (
_run_wgcna_rvia subprocess);:390raisesRuntimeError("R WGCNA failed: ...")if R or the WGCNA package is unavailable. - The Python helper
_select_soft_threshold(:70) is a sanity-check / diagnostic that scores candidate powers by scale-free R² — used as a fallback / exploratory aid, not the production estimator. R WGCNA's ownpickSoftThresholddrives the real run. - Build modules in R; collect assignments + hub genes; emit
module_assignments.csv,hub_genes.csv,threshold_fit.csv.
Gotchas
- WGCNA hard-fails below 8 samples.
bulkrna_coexpression.py:377raisesValueError. Between 8 and 15 the run proceeds but:382warns "Low sample count (N). WGCNA recommends >= 15 samples for reliable module detection." — treat any modules from <15-sample cohorts as exploratory. - R WGCNA is required for the production path.
:390raisesRuntimeErrorwith installation instructions if R or theWGCNApackage isn't importable. There is no Python-only fallback that produces module assignments — installing R+WGCNA is mandatory for non-demo runs. - Per-power scale-free R² is in
tables/threshold_fit.csv, notresult.json. The summary dict (:455-464) carriessoft_power(the chosen power) but no R² value; inspect the threshold-fit table to assess scale-free quality. Below R² ≈ 0.8 the network is not scale-free and modules become noise. - No biological-replicate filter. Unlike PyDESeq2, this skill makes no distinction between technical and biological replicates. Modules built on a cohort with hidden batch structure will reflect the batch, not biology — run
bulkrna-batch-correctionupstream if PCA shows batch separation. - Gene IDs must match between counts and traits. No automatic mapping — feed counts and traits with consistent identifier system, or run
bulkrna-geneid-mappingfirst. - Hub genes are connectivity-based, not necessarily biology-load-bearing. A hub in WGCNA means "highest intramodular correlation" — useful as a starting hypothesis but not proof of regulatory primacy. Validate with knockdown / knockout data or eQTL evidence.
What ships with it
7 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.
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.
- 7d ago First seen · 92 lines · 73 tokens per session scan A 96394e8417ec
bulkrna-coexpression is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 73 tokens to every session and 1,250 once invoked, about $0.0004 per session on Opus 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-08-30.
Other skills, from other repositories
cellxgene-census-query
Query CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, and integrate with scanpy/PyTorch for population-scale single-cell analysis. Use this skill when: (1) Querying single-cell expression data by cell type, tissue, or disease, (2) Exploring available single-cell datasets…
single-cell-multi-omics-analysis-scvi
Probabilistic deep learning framework for single-cell multi-omics data analysis. Use this skill when: (1) Analyzing single-cell RNA-seq data with batch correction, (2) Integrating multi-modal data (CITE-seq, ATAC-seq, multi-omics), (3) Performing cell type annotation with scANVI, (4) Spatial transcriptomics…
bids
Use this skill when working with Brain Imaging Data Structure (BIDS) datasets: organizing neuroscience and biomedical data (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral), querying BIDS layouts, validating compliance, converting DICOM to BIDS, writing metadata sidecars…
bulk-rnaseq
End-to-end bulk RNA-seq orchestrator — takes raw FASTQ reads through QC and trimming (FastQC, fastp/Trim Galore), alignment and quantification (STAR, Salmon, featureCounts), assembles a gene-level counts matrix, then hands off to differential expression (pydeseq2), pathway/GSEA enrichment (pathway-enrichment), and…
torch-geometric
PyTorch Geometric (PyG) for graph neural networks — node/link/graph classification, message passing (GCN, GAT, GraphSAGE, GIN), heterogeneous graphs, neighbor sampling, and custom datasets. Use when working with torchgeometric, not for general NetworkX analytics or non-graph PyTorch models.
esm
Use when working directly with the esm Python SDK, ESM3 or ESMC model IDs, Forge/Biohub inference clients, or ESMFold2 folding workflows.