Skill file skills/spatial-transcriptomics-analysis/STAgent/SKILL.md in FreedomIntelligence/OpenClaw-Medical-Skills. Read the publisher’s upstream source.
Start a fresh conversation. Replace the highlighted placeholders.
Use spatial-transcriptomics-agent to Draft a readiness checklist for using dynamic code generation to perform QC and clustering on [synthetic_st_dataset], including a requirement to verify coordinate systems and current documentation before any action.
Required inputs
[synthetic_st_dataset]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
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; run python 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.