Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

analyze_lab_video_cell_behavior

БесплатноБез исполняемых скриптовНе проверен

Automated cell behavior analysis from microscopy or XR lab recordings. Classifies cell motion phenotypes (migration, proliferation, apoptosis, division…

lilinjiот lilinji★ 18 звёзд на GitHub

Об этом скилле

Analyze Lab Video — Cell Behavior

Overview

analyze_lab_video_cell_behavior converts raw time-lapse microscopy video or first-person XR lab recordings into quantitative cell biology data. The skill ingests brightfield, phase-contrast, or fluorescence video, runs single-cell tracking and phenotype classification through a VLM / computer-vision pipeline, and returns a structured JSON payload containing per-cell trajectories, population growth curves, migration statistics, and apoptosis/division event counts — turning unstructured lab footage into publication-ready metrics in a single step, fully aligned with the LabOS "from video to paper" vision.

When to Use This Skill

Use this skill when any of the following conditions are present:

  • Time-lapse microscopy analysis: A researcher has recorded brightfield, phase-contrast, DIC, or fluorescence (GFP, mCherry) time-lapse videos of cell cultures and needs automated quantification without manual cell counting or commercial software (Fiji, Imaris, Cellpose GUI).
  • XR lab recording playback: A first-person or overhead XR camera captured an ongoing cell culture experiment and the agent must retroactively extract cell behavior metrics from the footage.
  • Cell motility assays: Wound-healing (scratch assay), Boyden chamber, or transwell migration experiments require automated measurement of migration front velocity, closure rate, or directionality index.
  • Growth and proliferation quantification: Confluence over time, doubling time, or colony-forming unit (CFU) counts must be computed from phase-contrast or brightfield videos without manual inspection.
  • Apoptosis / cytotoxicity screening: A drug treatment experiment requires automatic detection of apoptotic morphology (membrane blebbing, cell shrinkage, nuclear condensation) at the population level for IC50 or Z-factor calculation.
  • Live-cell imaging pipelines: The lab runs high-content screening (HCS) or high-content imaging (HCI) and needs to programmatically extract phenotypic readouts from multi-well plate videos for batch processing.
  • Report or figure generation: Downstream tools (matplotlib, plotly, scientific-visualization, pptx-generation) need structured numeric inputs (trajectories, growth curves, event rates) from video that cannot be manually annotated at scale.
  • Multi-experiment comparison: Several video datasets from different drug doses, cell lines, or time points must be processed with a uniform pipeline to enable statistically comparable outputs.

Core Capabilities

1. Video Ingestion & Preprocessing

Accepts diverse input formats and normalizes them for analysis:

  • Supported formats: MP4, AVI, TIFF stack, OME-TIFF, CZI (Zeiss), LIF (Leica), ND2 (Nikon), MKV, MOV, and multi-channel fluorescence stacks
  • Metadata extraction: Parses embedded microscope metadata (pixel size µm/px, time interval, channel names, objective magnification) from OME-TIFF, CZI, and ND2 via aicsimageio or python-bioformats
  • Preprocessing pipeline: Flat-field correction, background subtraction (rolling-ball, Z-projection), temporal median filtering, and contrast normalization (CLAHE)
  • Multi-well plate support: Detects grid layout from filename patterns or metadata; processes each well independently and aggregates results into a per-well summary table
  • XR video downsampling: Automatically resamples high-fps XR footage (60–120 fps) to a biologically meaningful frame rate (1–5 fps) before analysis

2. Cell Segmentation & Single-Cell Tracking

Delineates individual cells per frame and links identities across time:

  • Segmentation models: Cellpose 2.0 (generalist), StarDist (fluorescence nuclei), SAM-Med2D (zero-shot), or DeepCell (TissueNet); model selection is automatic based on imaging modality
  • Tracking algorithm: Nearest-neighbor linking with Kalman filter prediction (TrackPy); optionally upgraded to graph-based optimal assignment (btrack, ultrack) for dense cultures
  • Track quality filtering: Discards tracks shorter than a configurable minimum duration; flags tracks with sudden large jumps as potential segmentation errors
  • Lineage reconstruction: Detects mitotic events (cell division) and constructs a lineage tree linking mother and daughter cells across division events
  • Output per cell: Unique track ID, frame-by-frame (x, y) centroid coordinates, cell area, perimeter, eccentricity, mean intensity per channel, and track lifetime

3. Cell Behavior Phenotype Classification

Labels each tracked cell or population event with a biological phenotype using combined morphometric rules and VLM/CNN inference:

  • Supported phenotypes:
    • MIGRATING — directed displacement > threshold over a rolling window
    • PROLIFERATING — sustained area increase preceding division
    • DIVIDING — mitotic event detected (cell split into two daughters)
    • APOPTOTIC — membrane blebbing, area shrinkage, increased circularity,
Полный SKILL.md на GitHub

Установить analyze_lab_video_cell_behavior в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл analyze_lab_video_cell_behavior?

Automated cell behavior analysis from microscopy or XR lab recordings. Classifies cell motion phenotypes (migration, proliferation, apoptosis, division, quiescence), computes population-level quantitative metrics (growth rate, migration velocity, directionality index), and emits structured JSON for downstream reporting, plotting, or ELN integration.

Как установить скилл analyze_lab_video_cell_behavior?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл analyze_lab_video_cell_behavior запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить analyze_lab_video_cell_behavior с