Skip to content
Back to skills

Heatmap Visualization

ASecurity

"Configure, validate, run, and troubleshoot CLAM attention heatmap

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
tools

Security analysis

A100/100

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

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill heatmap-visualization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Heatmap Visualization?

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

Security grade badge for Heatmap Visualization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-heatmap-visualization/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-heatmap-visualization)

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: heatmap-visualization
description: "Configure, validate, run, and troubleshoot CLAM attention heatmap
  inference from trained checkpoints."
disable-model-invocation: true
metadata:
  disco-role: operating
license: GPL 3.0
---

# CLAM Heatmap Visualization

Use this sub-skill when the task is to create CLAM attention heatmaps, validate a heatmap YAML/process list, configure ROI or top-k patch sampling, explain `create_heatmaps.py` outputs, or diagnose heatmap failures caused by checkpoint, encoder, model, or slide-input mismatches.

## Route Tasks

- For heatmap YAML structure, process-list columns, model/encoder consistency, and safe preflight checks, read `references/configuration.md` and run `scripts/validate_heatmap_config.py`.
- For end-to-end heatmap commands, the interactive `Continue?` prompt, raw versus production outputs, ROI rendering, and sampled-patch outputs, read `references/workflows.md`.
- For checkpoint shape errors, missing UNI/CONCH settings, absent slides, ROI column problems, GPU memory issues, and heatmap rendering options, read `references/troubleshooting.md`.
- For patch-coordinate generation before heatmaps, use `../wsi-preprocessing/SKILL.md`.
- For pretrained encoder setup and feature-dimension choices, use `../feature-extraction/SKILL.md`.
- For training checkpoints and evaluation-time model arguments, use `../training-evaluation/SKILL.md`.

## Key CLAM Facts

- CLAM heatmaps are produced by `create_heatmaps.py --config_file <yaml-name>`, where the script resolves the config under `heatmaps/configs/`.
- Heatmap inference initializes a CLAM checkpoint, loads a pretrained encoder, scans slides or ROI regions with OpenSlide, computes attention scores, and writes both raw HDF5 assets and rendered production images.
- ResNet50-truncated and UNI features are 1024-dimensional; CONCH v1 features are 512-dimensional, so `model_arguments.embed_dim` must match the checkpoint and encoder family.
- The bundled validator is static and safe: it checks YAML/CSV shape and consistency without loading checkpoints, WSI files, OpenSlide, PyTorch, or encoders.

Files in this skill

  • SKILL.md2.1 KB
  • references/configuration.md7.7 KB
  • references/troubleshooting.md7.7 KB
  • references/workflows.md6.6 KB
  • scripts/validate_heatmap_config.py24.9 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.