LQF_Machine_Learning_E…
LQF Machine Learning Expert Guide - Routed skill for ML/Statistical Modeling with Critical Discussion Mode. Triggers on: machine…
Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed
Claude Code
$ npx -y skills add foryourhealth111-pixel/Vibe-Skills --skill histolab --agent claude-code
Codex
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill histolab -a codex -y
Cursor
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill histolab -a cursor -y
Gemini CLI
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill histolab -a gemini-cli -y
GitHub Copilot
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill histolab -a github-copilot -y
OpenCode
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill histolab -a opencode -y
Windsurf
$ npx skills add foryourhealth111-pixel/Vibe-Skills --skill histolab -a windsurf -y
name: histolab
description: Lightweight WSI tile extraction and preprocessing. Use for basic slide processing tissue detection, tile extraction, stain normalization for H&E images. Best for simple pipelines, dataset preparation, quick tile-based analysis. For advanced spatial proteomics, multiplexed imaging, or deep learning pipelines use pathml.
license: Apache-2.0 license
metadata:
skill-author: K-Dense Inc.Histolab is a Python library for processing whole slide images (WSI) in digital pathology. It automates tissue detection, extracts informative tiles from gigapixel images, and prepares datasets for deep learning pipelines. The library handles multiple WSI formats, implements sophisticated tissue segmentation, and provides flexible tile extraction strategies.
Use this skill for basic WSI tile extraction, tissue detection, H&E tile preprocessing, and quick histolab dataset preparation. Full computational pathology workflows, PathML pipelines, nucleus segmentation, spatial pathology, multiplex pathology, DICOM/IDC retrieval, OMERO server work, and generic image-processing tasks are outside this skill.
uv pip install histolab
Basic workflow for extracting tiles from a whole slide image:
from histolab.slide import Slide
from histolab.tiler import RandomTiler
# Load slide
slide = Slide("slide.svs", processed_path="output/")
# Configure tiler
tiler = RandomTiler(
tile_size=(512, 512),
n_tiles=100,
level=0,
seed=42
)
# Preview tile locations
tiler.locate_tiles(slide, n_tiles=20)
# Extract tiles
tiler.extract(slide)Load, inspect, and work with whole slide images in various formats.
**Common operations:**
**Key classes:** `Slide`
**Reference:** `references/slide_management.md` contains comprehensive documentation on:
**Example workflow:**
from histolab.slide import Slide
from histolab.data import prostate_tissue
# Load sample data
prostate_svs, prostate_path = prostate_tissue()
# Initialize slide
slide = Slide(prostate_path, processed_path="output/")
# Inspect properties
print(f"Dimensions: {slide.dimensions}")
print(f"Levels: {slide.levels}")
print(f"Magnification: {slide.properties.get('openslide.objective-power')}")
# Save thumbnail
slide.save_thumbnail()Automatically identify tissue regions and filter background/artifacts.
**Common operations:**
**Key classes:** `TissueMask`, `BiggestTissueBoxMask`, `BinaryMask`
**Reference:** `references/tissue_masks.md` contains comprehensive documentation on:
**Example workflow:**
from histolab.masks import TissueMask, BiggestTissueBoxMask # Create tissue mask for all tissue regions tissue_mask = TissueMask() # Visualize mask on slide slide.locate_mask(tissue_mask) # Get mask array mask_array = tissue_mask(slide) # Use largest tissue region (default for most extractors) biggest_mask = BiggestTissueBoxMask()
**When to use each mask:**
Extract smaller regions from large WSI using different strategies.
**Three extraction strategies:**
**RandomTiler:** Extract fixed number of randomly positioned tiles
**GridTiler:** Systematically extract tiles across tissue in grid pattern
**ScoreTiler:** Extract top-ranked tiles based on scoring functions
**Common parameters:**
**Reference:** `references/tile_extraction.md` contains comprehensive documentation on:
**Example workflows:**
from histolab.tiler import RandomTiler, GridTiler, ScoreTiler
from histolab.scorer import NucleiScorer
# Random sampling (fast, diverse)
random_tiler = RandomTiler(
tile_size=(512, 512),
n_tiles=1Intelligent Skill routing and workflow orchestration for AI agents — +21.12 pp reward, −29.6% tokens on SkillsBench with DeepSeekV4Flash-VE.
LQF Machine Learning Expert Guide - Routed skill for ML/Statistical Modeling with Critical Discussion Mode. Triggers on: machine…
Cloud laboratory platform for automated protein testing and validation. Use when designing proteins and needing experimental…
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting,…
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request…
Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+…
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…