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-trajectorynpx skills add TianGzlab/OmicsClaw --skill spatial-trajectorygit 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-trajectory)<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/spatial-trajectory"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/spatial-trajectory.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.00093 | $0.02004 |
| Opus 5 | $0.00046 | $0.01002 |
| Sonnet 5 | $0.00019 | $0.00401 |
| Haiku 4.5 | $0.00009 | $0.00200 |
Grade A, and why
spatial-trajectory 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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
spatial-trajectory
When to use
The user has a preprocessed spatial AnnData (obsm["X_pca"] or
neighbour graph populated) and wants pseudotime / branching
trajectories. Three backends:
dpt(default) — diffusion pseudotime viasc.tl.dpt. Cheap. Tunable--dpt-n-dcs.cellrank— GPCCA macrostates, terminal-state probabilities, fate maps, driver-gene ranking. Tunables--cellrank-n-states,--cellrank-frac-to-keep,--cellrank-schur-components.palantir— waypoint sampling + multi-scale Markov for branch probabilities. Tunables--palantir-num-waypoints,--palantir-knn,--palantir-n-components,--palantir-max-iterations.
Cluster column (--cluster-key) auto-detected from leiden /
cell_type / celltype / annotation / cluster / clusters.
For RNA-velocity-driven trajectories use spatial-velocity.
Inputs & Outputs
Inputs
- File types:
.h5ad - Requires a preprocessed AnnData (
Xnormalised, PCA/neighbours present) - Expects
obsm:X_pca
Outputs
tables/cellrank_driver_genes.csvtables/palantir_branch_probs.csvtables/trajectory_cluster_summary.csvtables/trajectory_diffmap_points.csvtables/trajectory_driver_genes.csvtables/trajectory_fate_probabilities.csvtables/trajectory_fate_probabilities_wide.csvtables/trajectory_genes.csvtables/trajectory_run_summary.csvtables/trajectory_spatial_points.csvtables/trajectory_summary.csvtables/trajectory_terminal_states.csvtables/trajectory_umap_points.csvfigures/cellrank_fate_circular.pngfigures/cellrank_fate_heatmap.pngfigures/cellrank_fate_map.pngfigures/cellrank_gene_trends.pngfigures/trajectory_cluster_summary.pngfigures/trajectory_diffmap.pngfigures/trajectory_entropy_distribution.pngfigures/trajectory_fate_probability_distribution.pngfigures/trajectory_genes_barplot.pngfigures/trajectory_pseudotime_distribution.pngfigures/trajectory_pseudotime_embedding.pngfigures/trajectory_pseudotime_spatial.pngprocessed.h5adreport.mdresult.json- Processed AnnData (
saves_h5ad) — addsobs:dpt_pseudotime,traj_terminal_state,traj_fate_max_prob,traj_fate_entropy,palantir_pseudotime,palantir_entropy;obsm:palantir_branch_probs;uns:iroot,palantir_waypoints,palantir_branch_prob_columns
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.
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 · 148 lines · 93 tokens per session scan A 1b5a38add927
spatial-trajectory is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 93 tokens to every session and 2,004 once invoked, about $0.0005 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-trajectory
Trajectory inference and pseudotime analysis for spatial transcriptomics data.
Developmental Gene Panel Design Workflow
Panel design for DEVELOPING / dynamic systems (embryonic organs, differentiation, regeneration). The target experiment is usually a LATE / terminal stage, but the biology is a trajectory: terminal cell types are end-products of earlier lineage programs. A panel built from the target stage alone resolves terminal…
braindb
Memory recall and save. Use at every conversation start and whenever the user shares personal information, expertise, project context, preferences, or decisions worth remembering long-term.
braindb-agent
Persistent memory across sessions via the BrainDB agent. Use at conversation start and whenever you need to recall what you know about the user or save new information to long-term memory.
braindb-custom-profile
How to author a BrainDB custom profile — prompt add/replace fragments and an optional keyless ingestor — that shapes wiki naming/structure and feeds a custom ingestion source, with zero effect on defaults when inactive.
doc-translator
将 PDF 格式或 Web Page 格式的源文档转换成保持原排版格式的 Markdown 格式精译中文文档。.