Spatial Transcriptomics Agent
Spatial analyst
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install openclaw-medical-spatial-transcriptomics-agentManual setup by platform
Claude Code
~/.claude/skills/openclaw-medical-spatial-transcriptomics-agent/SKILL.md
Instructions
Spatial Transcriptomics Agent
Run STAgent to align histology images with expression matrices, perform clustering/SVG detection, and generate literature-backed spatial reports.
When to Use
- Analysis of Visium/Xenium or similar ST datasets.
- Visual reasoning over spatial plots, H&E images, or cluster maps.
- Automatically generating Scanpy/Squidpy code for new ST workflows.
- Hypothesis generation about spatial gene expression patterns.
Core Capabilities
- Dynamic code generation: Create/execute Python scripts for QC, clustering, SVG detection.
- Visual reasoning: Interpret spatial plots to identify tissue domains and cell neighborhoods.
- Literature retrieval: Pull references that contextualize findings.
- Report generation: Deliver publication-style writeups with plots and SVG tables.
Workflow
- Env setup:
conda env create -f environment.yml && conda activate STAgent. - Data prep: Supply
expression_path(.h5ad/Spaceranger) +image_path(H&E/IF) and metadata. - Task selection: Choose tasks such as
cluster,find_svg,annotate_domains, or composite instructions; runpython repo/src/main.py --data_path ... --task "...". - Execute & interpret: Let STAgent generate scripts, run analyses, and interpret results with literature references.
- Package outputs: Save UMAP/spatial plots, SVG tables, QC details, and summary markdown.
Example Usage
User: "Analyze this breast cancer ST dataset, find immune infiltrates."
Agent: loads data, runs `sqidpy.gr.spatial_neighbors`, computes Leiden clusters, plots marker genes (CD3D, CD19), and summarizes which clusters map to tumor core vs. stromal/immune zones.
Guardrails
- Document coordinate systems and any scaling between imaging and expression coordinates.
- Avoid definitive cell-type labels without supporting markers.
- Capture QC parameters for reproducibility.
References
- Source repo: https://github.com/LiuLab-Bioelectronics-Harvard/STAgent
- See local
README.mdfor detailed instructions.
Security
Reviews (0)
Related skills
Browse all →More from OpenClaw Medical
View source →More Build skills
Browse category →Frequently asked questions about spatial-transcriptomics-agent
What does the spatial-transcriptomics-agent skill do?
Spatial analyst It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the spatial-transcriptomics-agent skill?
Run `npx @skills-hub-ai/cli install openclaw-medical-spatial-transcriptomics-agent` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/openclaw-medical-spatial-transcriptomics-agent/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does spatial-transcriptomics-agent work with?
spatial-transcriptomics-agent runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the spatial-transcriptomics-agent skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use spatial-transcriptomics-agent after installing it?
In Claude Code, type `/openclaw-medical-spatial-transcriptomics-agent` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the spatial-transcriptomics-agent skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.