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 agentmods add skills/tiangzlab/omicsclaw/spatial-communicationnpx skills add TianGzlab/OmicsClaw --skill spatial-communicationgit 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/spatial-communication)<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/spatial-communication"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/spatial-communication.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 | $0.00082 | $0.01813 |
| Opus 5 | $0.00041 | $0.00907 |
| Sonnet 5 | $0.00016 | $0.00363 |
| Haiku 4.5 | $0.00008 | $0.00181 |
Grade A, and why
spatial-communication 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 yesterday.
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 — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.
spatial-communication
When to use
The user has a preprocessed spatial AnnData with cell-type labels
(obs[cell_type_key], default leiden) and wants ligand-receptor
cell-cell communication scored. Four backends:
liana(default) — LIANA consensus across multiple L-R methods. Tunables--liana-expr-prop,--liana-min-cells,--liana-n-perms.cellphonedb— Permutation test with mean expression statistic. Tunables--cellphonedb-iterations,--cellphonedb-threshold.fastccc— Fast permutation-free percentile-based score. Tunables--fastccc-min-percentile.cellchat_r— CellChat (R) viarpy2interop. Tunables--cellchat-min-cells,--cellchat-prob-type.
Species: --species human (default) or mouse. For non-spatial
L-R use sc-cell-communication; for pathway scoring use
spatial-enrichment.
Inputs & Outputs
Inputs
- File types:
.h5ad - Requires a preprocessed AnnData (
Xnormalised, PCA/neighbours present) - Expects
obsm:spatial
Outputs
tables/cellchat_centrality.csvtables/cellchat_count_matrix.csvtables/cellchat_pathways.csvtables/cellchat_results.csvtables/cellchat_weight_matrix.csvtables/communication_run_summary.csvtables/communication_spatial_points.csvtables/communication_summary.csvtables/communication_umap_points.csvtables/complex_composition_table.csvtables/complex_table.csvtables/gene_table.csvtables/interaction_table.csvtables/lr_interactions.csvtables/meta.tsvtables/protein_table.csvtables/signaling_roles.csvtables/source_target_summary.csvtables/top_interactions.csvfigures/communication_pvalue_distribution.pngfigures/communication_roles_spatial.pngfigures/communication_score_vs_significance.pngfigures/lr_dotplot.pngfigures/lr_heatmap.pngfigures/lr_spatial.pngfigures/signaling_roles.pngfigures/source_target_summary.pngfastccc_input.h5adinput.h5adprocessed.h5adreport.mdresult.json- Processed AnnData (
saves_h5ad) — addsuns:ccc_results,liana_results,cellphonedb_results,fastccc_results,cellchat_results,communication_summary,communication_signaling_roles,spatial_communication
What ships with it
8 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.
- r_visualization/communication_publication_template.R 1.7 KB
- r_visualization/README.md 1.5 KB
- references/methodology.md 7.1 KB
- references/output_contract.md 5.0 KB
- references/parameters.md 3.3 KB
- skill.yaml 6.2 KB
- spatial_communication.py 43 KB runs code
- tests/test_spatial_communication.py 13 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.
- yesterday First seen · 149 lines · 82 tokens per session scan A dfe6345bc8c6
spatial-communication is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 82 tokens to every session and 1,813 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-09-03.
Other skills, from other repositories
spatial-cell-communication
Cell-cell communication analysis via ligand-receptor scoring using built-in scoring, LIANA, CellPhoneDB, or FastCCC.
spatial-omics-integrate
Integrate two aligned spatial omics modalities on the same cells using SpatialGlue or SpaDDM. Standard input contract: --input --omics2 . Supports demo mode and validated modality pairs such as RNA+Protein and RNA+ATAC.
clinical-decision-support
Prepare and validate research-only clinical decision-support evaluation, evidence-profile, cohort, survival, biomarker/model, privacy, and governance artifacts. Use for aggregate or synthetic research documentation and traceability—not patient care or live clinical operation.
exploratory-data-analysis
Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…
geomaster
Comprehensive geospatial science skill covering remote sensing, GIS, spatial analysis, machine learning for earth observation, and 30+ scientific domains. Supports satellite imagery processing (Sentinel, Landsat, MODIS, SAR, hyperspectral), vector and raster data operations, spatial statistics, point cloud processing…
datamol
Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…