Skip to content
Back to skills

Wsi Preprocessing

ASecurity

"Prepare CLAM whole-slide-image masks, coordinate patch bags,

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
data

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill wsi-preprocessing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Wsi Preprocessing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Wsi Preprocessing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-wsi-preprocessing/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-wsi-preprocessing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wsi-preprocessing
description: "Prepare CLAM whole-slide-image masks, coordinate patch bags,
  process lists, segmentation presets, and legacy patching decisions."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# WSI Preprocessing

Use this sub-skill when a user needs CLAM whole-slide-image preprocessing before feature extraction: segment tissue masks, tune a `process_list` CSV, create fast coordinate `.h5` patch files, optionally stitch QC images, or author segmentation preset CSVs.

## Start Here

- Read `references/workflows.md` to choose the one-pass, two-pass mask review, process-list rerun, preset, or legacy workflow and assemble concrete `create_patches_fp.py` commands.
- Read `references/parameters.md` when tuning segmentation, contour filtering, visualization, patching, `process_list`, `--patch_level`, `--preset`, or `--no_auto_skip` behavior.
- Run `scripts/clam_command_builder.py --help` when you want a safe command/output-layout builder that validates preprocessing options without importing CLAM or touching WSI files.
- Run `scripts/build_preset_template.py --help` when you need to print or write a CLAM preset CSV with the expected columns outside the source repository.
- Read `references/troubleshooting.md` when OpenSlide fails, slides are skipped, masks look poor, preset columns are wrong, output files are missing, or legacy patching risks storage blowups.
- Read `references/legacy-pipeline.md` only when the user explicitly needs saved image patches from the old `create_patches.py` pipeline.

## Boundaries

This sub-skill owns WSI segmentation, fast coordinate patch generation, preset authoring, process-list editing, output layout checks, and legacy-pipeline triage. For coordinate `.h5` feature extraction, route to `../feature-extraction/SKILL.md`; for dataset CSVs, splits, training, and evaluation, route to `../training-evaluation/SKILL.md`.

Files in this skill

  • SKILL.md1.9 KB
  • references/legacy-pipeline.md2.1 KB
  • references/parameters.md6 KB
  • references/troubleshooting.md3.7 KB
  • references/workflows.md5.5 KB
  • scripts/build_preset_template.py4.5 KB
  • scripts/clam_command_builder.py4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.