一键导入
cell-segmentation
Run cell segmentation on fluorescence microscopy images using Cellpose. Generates masks and extracts per-cell measurements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run cell segmentation on fluorescence microscopy images using Cellpose. Generates masks and extracts per-cell measurements.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run a bulk RNA-seq differential expression analysis using pydeseq2. Use when you have a raw count matrix and want to identify DE genes between two conditions.
Parse messy lab Excel files (merged cells, multi-row headers, metadata in margins) into clean, standardized CSV format.
| name | cell-segmentation |
| description | Run cell segmentation on fluorescence microscopy images using Cellpose. Generates masks and extracts per-cell measurements. |
This skill runs cell segmentation on fluorescence microscopy images using Cellpose. Use this when you have images of cells (phase contrast, DAPI, or membrane stain) and need to generate segmentation masks and extract per-cell measurements.
cyto3 for whole-cell, nuclei for nuclear-only)None for auto-detection)Stop and ask if: no .tif files found, images have unexpected dimensions, channel assignment is unclear.
{original_name}_mask.tif in output directory{output_dir}/segmentation_qc.csvFor each cell in each image, measure:
Save to {output_dir}/cell_measurements.csv with columns: image_id, cell_id, area_px, centroid_x, centroid_y, mean_intensity_ch1, ...
Report:
| Issue | What to do |
|---|---|
| Image can't be read | Skip, log the error, continue with remaining images |
| Cellpose GPU not available | Fall back to CPU, warn about slower processing |
| Zero cells in an image | Log as QC flag, include in report |
| Out of memory | Reduce batch size, process images one at a time |
These are in the same directory as this skill — read them if needed:
default_params.json — default Cellpose parameters for common imaging setups (confocal, widefield, etc.)channel_conventions.md — lab-standard channel ordering and naming by stain panelfrom cellpose import models
import numpy as np
from skimage import io, measure
import pandas as pd