Agent skill · Data & Analytics

bio-spatial-transcriptomics-spatial-data-io

Load spatial transcriptomics data from Visium, Xenium, MERFISH, Slide-seq, and other platforms using Squidpy and SpatialData. Read Space Ranger outputs, convert formats, and access spatial coordinates. Use when loading Visium, Xenium, MERFISH, or other spatial data.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-spatial-transcriptomics-spatial-data-io --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 8 KB
Bundled scripts: yes
Path: skills/bio-spatial-transcriptomics-spatial-data-io/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: anndata 0.10+, numpy 1.26+, pandas 2.2+, scanpy 1.10+, spatialdata 0.1+, squidpy 1.3+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Spatial Data I/O **"Load my Visium spatial data"** → Read spatial transcriptomics outputs (Visium, Xenium, MERFISH, Slide-seq) into AnnData objects with spatial coordinates and tissue images. - Python: `squidpy.read.visium('spaceranger_out/')`, `spatialdata.read_zarr()` Load and work with spatial transcriptomics data from various platforms. ## Required Imports ```python import squidpy as sq import scanpy as sc import anndata as ad import spatialdata as sd import spatialdata_io as sdio ``` ## Load 10X Visium Data **Goal:** Load Visium spatial transcriptomics data from Space Ranger output into an AnnData object. **Approach:** Use Squidpy's `read.visium` to parse the output directory, which loads expression, spatial coordinates,

What's inside
Steps it walks through
  1. Version Compatibility
  2. Required Imports
  3. Load 10X Visium Data
  4. Load Visium with Scanpy
  5. Load 10X Xenium Data
  6. Load with SpatialData (Recommended for New Projects)
  7. Load MERFISH Data
  8. Load Slide-seq Data
  9. Load Nanostring CosMx
  10. Load Stereo-seq Data
  11. Load from H5AD with Spatial Coordinates
  12. Create Spatial AnnData from Scratch
  13. Access Spatial Coordinates
  14. Access Tissue Images
Ships with 2 files
  • examples/load_visium.py
  • usage-guide.md
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-spatial-transcriptomics-spatial-data-io skill do?

Load spatial transcriptomics data from Visium, Xenium, MERFISH, Slide-seq, and other platforms using Squidpy and SpatialData. Read Space Ranger outputs, convert formats, and access spatial coordinates. Use when loading Visium, Xenium, MERFISH, or other spatial data.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-spatial-transcriptomics-spatial-data-io --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going