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 spatial-registergit 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-register)<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/spatial-register"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/spatial-register/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/spatial-register"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/spatial-register.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.00038 | $0.01176 |
| Opus 5.5 | $0.00015 | $0.00470 |
| Sonnet 5.5 | $0.00008 | $0.00235 |
| Haiku 4.5 | $0.00004 | $0.00118 |
Grade A, and why
spatial-register 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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
spatial-register
Use from a step
from skills._sdk.notebook import load_skill, read_input, write_output
library = load_skill("spatial-register")
adata = library.register(read_input("data/slices.h5ad"), slice_key="slice")
write_output(adata, "intermediate/registered.h5ad")
When to use
Align slice coordinates while preserving the original spatial coordinates. PASTE uses expression and spatial distances; STalign supports two slices. For expression-space correction use spatial-integrate instead.
Inputs & Outputs
Input: AnnData with expression, spatial coordinates and a slice-label column. The default reference is the first sorted label, not the largest slice. Functions return the same AnnData, shift tables and figures without writing files.
CLI writes processed.h5ad, report.md, result.json, registration tables
and the before/after gallery. See references/output_contract.md
for the complete file inventory. Registered coordinates are obsm["spatial_aligned"];
spatial and X_spatial, if present, remain unchanged.
Key CLI
python skills/spatial/spatial-register/spatial_register.py --input slices.h5ad --output results/registration --slice-key slice --method paste
python skills/spatial/spatial-register/spatial_register.py --demo --output /tmp/spatial_register
examples/example_step.py aligns unequal-size simulated slices through the
step runner. references/parameters.md lists backend flags.
Gotchas
spatial_alignedis a separate coordinate basis; downstream skills do not automatically switch fromspatial.- PASTE transports source spots with the transpose of its reference-by-source
coupling. The old
_lib/register.py:run_pastedirection was incorrect; unequal slice sizes now work, and solver failures raise instead of reporting success. - The historical
disparitiessummary is sum of squared transport weights, not the optimal-transport objective or a calibrated fit statistic. - The tested PASTE 1.4.0 combination needs POT 0.9.4. POT 0.9.5 and 0.9.6 changed the line-search call and fail inside PASTE. Use an isolated compatible environment.
- STalign is optional and was not executed in this migration environment. It has no exposed seed control here; do not claim deterministic GPU results.
tables/registration_metrics.csvhas NaN disparity where the backend does not report it. Inspect shifts without treating smaller displacement as better alignment.
What ships with it
10 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.7 KB runs code
- examples/example_step.py 1.1 KB runs code
- r_visualization/README.md 1.6 KB
- r_visualization/register_publication_template.R 4.6 KB
- references/methodology.md 6.8 KB
- references/output_contract.md 1.7 KB
- references/parameters.md 2.0 KB
- spatial_register.py 39 KB runs code
- tests/test_api.py 4.0 KB runs code
- tests/test_spatial_register.py 14 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.
- 1mo ago Changed · -13 lines · -24 tokens per session 979659679726
- 2mo ago First seen · 132 lines · 62 tokens per session scan A 84ca31d559ed
spatial-register is a skill published in the GitHub repository TianGzlab/OmicsClaw (161 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,176 once invoked, about $0.0002 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.
spatial-register compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spatial-registerTianGzlab/OmicsClaw | Skill | 161 | 1mo ago | Apache-2.0 | A | 38 | Claude Code, Codex |
| spatial-registrationShangBioLab/SpatialClaw | Skill | 11 | 6mo ago | Apache-2.0 | A | 17 | Claude Code, Codex |
| scanpysynthetic-sciences/openscience | Skill | 4.5k | 2d ago | Apache-2.0 | A | 68 | 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 |
| molview-specPDBeurope/PDBe-MCP-Servers | Skill | 48 | 16d ago | Apache-2.0 | A | 57 | Claude Code, Codex |