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 inflexa-ai/inflexa --skill spatial-omicsgit clone --depth 1 https://github.com/inflexa-ai/inflexaWrote 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/inflexa-ai/inflexa/spatial-omics)<a href="https://agentmods.dev/skills/inflexa-ai/inflexa/spatial-omics"><img src="https://agentmods.dev/badge/skills/inflexa-ai/inflexa/spatial-omics/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/inflexa-ai/inflexa/spatial-omics"><img src="https://agentmods.dev/badge/skills/inflexa-ai/inflexa/spatial-omics.svg" alt="Reviewed on agentmods" width="80" 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.00028 | $0.01725 |
| Opus 5 | $0.00014 | $0.00863 |
| Sonnet 5 | $0.00006 | $0.00345 |
| Haiku 4.5 | $0.00003 | $0.00172 |
Grade A, and why
spatial-omics 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 today.
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 — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spatial Omics Analysis
Method selection and execution guidance for spatial transcriptomics and spatial proteomics technologies.
Technology Detection
Identify the spatial platform first — resolution and data structure dictate the analysis approach:
Technology?
├── Visium (10x Genomics)
│ ├── Resolution: ~55 um spots, each covering ~1-10 cells
│ ├── Data: spot x gene count matrix + tissue image + spot coordinates
│ ├── Coordinate type: grid (hexagonal array)
│ └── Load: sq.read.visium() or sd.read_10x_visium()
│
├── MERFISH / seqFISH / Xenium (single-molecule FISH)
│ ├── Resolution: subcellular, single-molecule
│ ├── Data: molecule coordinates → cell x gene matrix after segmentation
│ ├── Coordinate type: generic (continuous coordinates)
│ └── Load: sd.read_xenium() or custom from segmentation output
│
├── Slide-seq / HDST (bead-based capture)
│ ├── Resolution: ~10 um beads (near single-cell)
│ ├── Data: bead x gene count matrix + bead coordinates
│ ├── Coordinate type: generic
│ └── Load: custom AnnData with .obsm["spatial"]
│
└── CODEX / MIBI / IMC (spatial proteomics)
├── Resolution: single-cell (after segmentation)
├── Data: cell x protein intensity matrix + coordinates
├── Coordinate type: generic
└── Load: custom AnnData with .obsm["spatial"]
Analysis Decision Tree
Spatial Neighbors Graph
Building spatial graph (foundation for all spatial stats):
├── Visium → sq.gr.spatial_neighbors(adata, coord_type="grid")
│ Uses hexagonal grid adjacency, not distance
├── All other technologies → sq.gr.spatial_neighbors(adata, coord_type="generic")
│ ├── n_neighs=6 (default, good starting point)
│ └── Or radius-based: radius=float for distance threshold
└── Result stored in adata.obsp["spatial_connectivities"], adata.obsp["spatial_distances"]
Spatial Domain Identification
Approach?
├── Graph-based clustering
│ ├── Standard → Leiden on spatial graph (sq.gr.spatial_neighbors → sc.tl.leiden)
│ └── Combined expression + spatial → compute joint graph (expression kNN + spatial kNN)
└── Visium-specific
└── BayesSpace (R via rpy2, Bayesian spatial clustering, respects tissue morphology)
What ships with it
3 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.
- today First seen · 150 lines · 28 tokens per session scan A 2acf7f89be26
spatial-omics is a skill published in the GitHub repository inflexa-ai/inflexa (33 stars, last pushed yesterday), licensed Apache-2.0. It adds 28 tokens to every session and 1,725 once invoked, about $0.0001 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-09.
Other skills, from other repositories
spatial-transcriptomics-spatial-data-io
Load spatial transcriptomics data from Visium, Xenium, MERFISH, Slide-seq, and other platforms using Squidpy and SpatialData. Use this skill when: (1) Loading Visium spatial transcriptomics data from Space Ranger output, (2) Loading Xenium single-cell resolution spatial data, (3) Loading MERFISH, CosMx, or other…
spatial-statistics
Load when running spatial autocorrelation / hotspot / co-occurrence / neighbourhood-enrichment / Ripley K stats on a clustered spatial AnnData via squidpy. Skip when ranking spatially variable genes (use spatial-genes); tissue domain detection (use spatial-domains).
spatial-microenvironment-subset
Load when extracting a niche / microenvironment subset around a center cell-type by spatial radius from a labelled spatial AnnData, producing a smaller AnnData of centers + their within-radius neighbours. Skip when running global tissue-domain detection (use spatial-domains); cross-condition comparison (use…
spatial-preprocess
Load when running the foundational spatial transcriptomics QC + filtering + normalisation + HVG + PCA + neighbour-graph + Leiden pipeline on a Visium / Xenium / generic spatial AnnData. Skip when raw FASTQs need converting first (use spatial-raw-processing); tissue-domain detection on already-preprocessed data (use…
spatial-raw-processing
Load when converting spatial transcriptomics raw FASTQ pairs through ST-Pipeline into a rawcounts.h5ad ready for spatial-preprocess. Skip when input is already a count-matrix AnnData (use spatial-preprocess); non-spatial bulk / scRNA FASTQ (use bulkrna-read-qc).
biosymphony-structure-factory
Use when planning structural biology campaigns, binder-design triage, model comparison, structure mapping, RunPod or cloud GPU stage contracts, or Symphony or Linear task packs for long-running biological agent work.