We welcome contributions from anyone working in spatial transcriptomics, spatial bioinformatics, computational pathology, computational biology, or related fields.
mkdir -p skills/spatial/<skill-name>
cp templates/SKILL-TEMPLATE.md skills/spatial/<skill-name>/SKILL.mdEdit SKILL.md with:
- YAML frontmatter: name, description, domain, dependencies
- Markdown body: Methodology, capabilities, workflow, input/output formats, and safety rules
Create the Python implementation alongside SKILL.md:
skills/spatial/<skill-name>/
├── SKILL.md # Required
├── <skill_name>.py # Required
└── tests/ # Required
└── test_<skill>.py
# Run demo mode
python spatialclaw.py run <skill-name> --demo
# Run tests
python -m pytest skills/spatial/<skill-name>/tests/ -vgit checkout -b add-<skill-name>
git add skills/spatial/<skill-name>/
git commit -m "Add <skill-name> spatial skill"
git push -u origin add-<skill-name>
# Open PR on GitHub- Local-first: All data processing happens locally. No mandatory cloud uploads.
- Reproducible: Generate reports with version info and run commands.
- Single responsibility: Each skill does one analysis task well.
- Documented: Include SKILL.md with methodology and examples.
- Safe: Warn before destructive actions. Include research-use disclaimer.
- Standardized output: Follow the output structure (report.md, result.json, figures/).
- Skill folder: lowercase, hyphens (
spatial-domain-identification,spatial-registration) - Python files: lowercase, underscores (
spatial_domain_identification.py) - Skill name in YAML: matches folder name exactly
- Python 3.11+
- Type hints encouraged
- Use
pathlibfor file paths - No hardcoded absolute paths
- Tests with pytest
- Follow existing skill patterns
SpatialClaw is now spatial-only:
skills/spatial/- Spatial transcriptomics skills and shared spatial utilitiesskills/spatial/spatial-orchestrator/- Spatial query routing and spatial pipeline orchestrationspatialclaw/- Domain-agnostic CLI, agents, routing, reports, and memory framework
AI coding agents should follow the same workflow, plus:
- Read
AGENTS.mdfor project structure and conventions - Read the target skill's
SKILL.mdbefore modifying code - Use
python spatialclaw.py listto verify skills load correctly - Run
conda run -n sppy310 python -m pytest -vto confirm tests pass - Regenerate catalog:
python scripts/generate_catalog.py
Every SKILL.md should include:
- YAML frontmatter with name, description, version, domain, tags
- Why This Exists (problem it solves)
- Core Capabilities (what it does)
- Workflow (step-by-step methodology)
- Input/Output (data formats and structure)
- Dependencies (required and optional packages)
- CLI Reference (usage examples with --demo)
- Safety (local-first, disclaimer, no hallucination)
If you're looking for something to build:
Spatial Transcriptomics:
-
Spatial niche identification with advanced methods
-
3D tissue reconstruction
-
Multi-slice alignment and integration
-
Spatial trajectory refinement
-
Spatial communication prioritization with proximity-aware scoring
-
Spatial morphology and histology feature extraction
-
Spatial modality integration for paired spatial assays
-
Spatial oncology, TLS, and target discovery workflows
Open an issue on GitHub or check the documentation.