Writes and validates OMERO/BlitzGateway integration code, analyzes local microscopy pixels/ROIs/channels with tifffile, and browses public OMERO servers (IDR JSON API, webgateway, OME-Zarr) without credentials.
OMERO is an open-source platform for managing, visualizing, and analyzing microscopy images and metadata. This skill's core job needs no credentials: it writes and checks the BlitzGateway integration code, analyses microscopy pixels/ROIs/channels from local files, and reads public OMERO data over HTTP. Only reaching the user's own private server uses their login.
Project -> Dataset -> Image, screening Screen -> Plate -> Well -> WellSample -> Image; conn.getObject, image.getPrimaryPixels().getPlane(z, c, t) -> NumPy, ROI shapes, omero.gateway.BlitzGateway as a context manager). omero-py pins zeroc-ice>=3.6.5,<3.7, whose wheels are scarce, so verify method names from the docs rather than assuming an import works.tifffile (or Bio-Formats via bioio/python-bioformats) into a NumPy array with no server — compute per-channel intensity statistics, extract an ROI by coordinates and measure it, inspect dimensions and channel names. This is the same pixel analysis the BlitzGateway code will do on the server, proven on a local file first:import numpy as np, tifffile
arr = tifffile.imread("field.ome.tif") # e.g. (c, y, x)
roi = arr[:, 20:40, 30:50] # a rectangular ROI by coordinates
for c in range(arr.shape[0]):
print(f"channel {c}: whole mean {arr[c].mean():.1f}, ROI mean {roi[c].mean():.1f}")
idr.openmicroscopy.org) serves its OMERO over HTTP with no login (verified 2026-10-22):
https://idr.openmicroscopy.org/api/v0/m/{projects,datasets,images,plates,rois}/ and .../images/<id>/ return the hierarchy, pixel sizes and channel names.webgateway/imgData/<id>/ and webgateway/render_thumbnail/<id>/ give image metadata and a thumbnail.zarr/fsspec — no server session.BlitzGateway(user, password, host=..., port=4064) code and the install note (prebuilt ZeroC Ice 3.6 wheel first, then omero-py); it runs only against the user's own server with their login. If OMERO_USER/OMERO_PASSWORD are not set, stop at the validated code and the local/public analysis — never invent server contents.Microscopy data can be unpublished or regulated; follow your institution's data-handling rules before exporting pixels or metadata off a private server.
This skill should be used when:
| Scenario | Use Instead |
|---|---|
| Downloading public cancer radiology/pathology DICOM from NCI Imaging Data Commons | alterlab-imaging-data-commons |
| Tiling or preprocessing whole-slide images from local files | alterlab-histolab |
| End-to-end computational pathology models (segmentation, graphs, training) | alterlab-pathml |
| Reading or anonymizing clinical DICOM files | alterlab-pydicom |
| Writing an Opentrons OT-2 or Flex protocol, including one that uses the Flex Absorbance Plate Reader Module | alterlab-opentrons |
| Driving Hamilton or Tecan liquid handlers, plate readers or mixed vendors from one Python script | alterlab-pylabrobot |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-imaging-data-commons) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
A robot or plate-reader protocol has no OMERO step at all, so the hand-off applies even when you could write the protocol yourself: the first line names alterlab-opentrons or alterlab-pylabrobot.
This skill covers eight major capability areas. Each is documented in detail in the references/ directory:
File: references/connection.md
Establish secure connections to OMERO servers, manage sessions, handle authentication, and work with group contexts. Use this for initial setup and connection patterns.
Common scenarios:
File: references/data_access.md
Navigate OMERO's hierarchical data structure (Projects → Datasets → Images) and screening data (Screens → Plates → Wells). Retrieve objects, query by attributes, and access metadata.
Common scenarios:
File: references/metadata.md
Create and manage annotations including tags, key-value pairs, file attachments, and comments. Link annotations to images, datasets, or other objects.
Common scenarios:
File: references/image_processing.md
Access raw pixel data as NumPy arrays, manipulate rendering settings, create derived images, and manage physical dimensions.
Common scenarios:
File: references/rois.md
Create, retrieve, and analyze ROIs with various shapes (rectangles, ellipses, polygons, masks, points, lines). Extract intensity statistics from ROI regions.
Common scenarios:
File: references/tables.md
Store and query structured tabular data associated with OMERO objects. Useful for analysis results, measurements, and metadata.
Common scenarios:
File: references/scripts.md
Create OMERO.scripts that run server-side for batch processing, automated workflows, and integration with OMERO clients.
Common scenarios:
File: references/advanced.md
Covers permissions, filesets, cross-group queries, delete operations, and other advanced functionality.
Common scenarios:
# 1. Install a prebuilt ZeroC Ice 3.6 wheel for your Python version and OS first
# (Glencoe Software builds; links on the OMERO.py page below)
uv pip install /path/to/zeroc_ice-3.6.5-<python>-<platform>.whl
# 2. Then OMERO.py
uv pip install omero-py
Requirements (omero-py 5.23.x, current as of 2026-09):
zeroc-ice>=3.6.5,<3.7. PyPI only has 3.6.5 wheels for Python 2.7/3.7, so without a prebuilt wheel pip tries to compile Ice from source; Ice 3.7/3.8 are not supported. See https://omero.readthedocs.io/en/stable/developers/Python.html for the wheel list.OMERODIR if you use the omero CLIBasic connection pattern:
from omero.gateway import BlitzGateway
# Connect to OMERO server
conn = BlitzGateway(username, password, host=host, port=port)
connected = conn.connect()
if connected:
# Perform operations
for project in conn.listProjects():
print(project.getName())
# Always close connection
conn.close()
else:
print("Connection failed")
Recommended pattern with context manager:
from omero.gateway import BlitzGateway
with BlitzGateway(username, password, host=host, port=port) as conn:
# Connection automatically managed
for project in conn.listProjects():
print(project.getName())
# Automatically closed on exit
For data exploration:
references/connection.md to establish connectionreferences/data_access.md to navigate hierarchyreferences/metadata.md for annotation detailsFor image analysis:
references/image_processing.md for pixel data accessreferences/rois.md for region-based analysisreferences/tables.md to store resultsFor automation:
references/scripts.md for server-side processingreferences/data_access.md for batch data retrievalFor advanced operations:
references/advanced.md for permissions and deletionreferences/connection.md for cross-group queriesreferences/connection.md)references/data_access.md)references/data_access.md)references/image_processing.md)references/tables.md or references/metadata.md)references/rois.md)references/rois.md)references/tables.md)references/scripts.md)Always wrap OMERO operations in try-except blocks and ensure connections are properly closed:
from omero.gateway import BlitzGateway
import traceback
conn = None # bind first so the finally block is safe if the constructor raises
try:
conn = BlitzGateway(username, password, host=host, port=port)
if not conn.connect():
raise Exception("Connection failed")
# Perform operations
except Exception as e:
print(f"Error: {e}")
traceback.print_exc()
finally:
if conn:
conn.close()
Part of the AlterLab Academic Skills suite.
evals/evals.json (opens in a new tab)evals/fixtures/nucleus_field.ome.tif (opens in a new tab)references/advanced.md (opens in a new tab)references/connection.md (opens in a new tab)references/data_access.md (opens in a new tab)references/image_processing.md (opens in a new tab)references/metadata.md (opens in a new tab)references/rois.md (opens in a new tab)references/scripts.md (opens in a new tab)references/tables.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from alterlab-writing-tools
Claude Code won't load this skill
It ships in alterlab-writing-tools at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Generated from the plugin's indexed repository (alterlab-ieu/alterlab-academic-skills) — no native marketplace selected
npx claudepluginhub p/alterlab-ieu-alterlab-writing-tools2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
241 skills in this plugin
/alterlab-abm-mesaBuilds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(rng=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions an agent-based model, Mesa, simulating interacting agents, or emergent macro behavior from micro rules. For discrete-event (queueing/process) simulation prefer alterlab-simpy; for reinforcement learning prefer alterlab-stable-baselines3. Part of the AlterLab Academic Skills suite./alterlab-academic-careerPrepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite.Other plugins' skills for the same job