generate_cell_analysis_charts
БесплатноБез исполняемых скриптовНе проверенDomain-specialized chart generator for cell biology video analysis outputs. Consumes structured JSON from analyze_lab_video_cell_behavior or compatible…
от lilinji★ 18 звёзд на GitHubОб этом скилле
Generate Cell Analysis Charts
Overview
generate_cell_analysis_charts is the visualization layer of the LabOS cell-video analysis pipeline. It ingests the structured JSON payload produced by analyze_lab_video_cell_behavior (or any schema-compatible source) and renders a curated set of cell-biology-specific figures using matplotlib and seaborn — from population growth curves with 95% CI bands to color-coded single-cell trajectory overlays and 96-well compliance heatmaps — then saves each figure as a print-ready PNG or vector PDF suitable for journal submission, ELN attachment, or real-time XR spatial display.
When to Use This Skill
Use this skill when any of the following conditions are present:
- Downstream of cell video analysis:
analyze_lab_video_cell_behavior(or an equivalent tracking pipeline) has produced a structured JSON result and the next step is to visualize it — without writing ad-hoc plotting code from scratch. - Publication figure preparation: A manuscript or poster requires one or more standard cell biology figures (growth curve, trajectory map, phenotype distribution, MSD plot) at 300 DPI with colorblind-safe palettes and clean axes styling.
- ELN / Benchling figure attachment: A post-experiment summary must include standardized charts appended to a Benchling ELN entry or protocols.io run record.
- Multi-well plate visualization: A high-content screening experiment (96- or 384-well) yielded per-well metrics that need to be rendered as a plate heatmap for quick hit identification.
- Drug dose-response reporting: Per-well doubling times or apoptosis rates from a cytotoxicity experiment need to be plotted on a log-dose axis with a sigmoidal fit and IC50 annotation.
- XR spatial dashboard: Live or post-hoc cell metrics need to be rendered as lightweight PNG panels to embed in an XR overlay above the microscope stage via LabOS.
- Batch multi-experiment comparison: Several JSON files from different conditions, cell lines, or time points need to be overlaid on a single comparison figure with automatic legend and color assignment.
- Report or slide deck generation: Downstream skills (
pptx-generation,scientific-writing,latex-posters) need pre-rendered figure files with predictable filenames and standardized aspect ratios.
Core Capabilities
1. JSON Input Parsing & Schema Validation
Ingests the structured payload from analyze_lab_video_cell_behavior or any compatible upstream source:
- Expected top-level keys:
video_id,pixel_size_um,time_interval_min,total_frames,population_metrics,phenotype_counts,tracks[],timeseries,warnings - Schema tolerance: Missing optional fields (e.g.,
timeseries.wound_front_um) are gracefully skipped; charts that require them are omitted with a logged warning rather than a hard error - Multi-file ingestion: Accepts a list of JSON paths for multi-condition overlay plots; auto-assigns condition labels from
video_idor a user-supplied label map - CSV / pandas fallback: If
timeseriesis supplied as a CSV path instead of an inline array, it is loaded viapandas.read_csvtransparently - Unit normalization: Converts pixel-based coordinates to µm using
pixel_size_um; converts frame indices to real time usingtime_interval_min
2. Chart Catalog
Generates the following figure types, each independently requestable or bundled into a multi-panel summary:
2a. Population Growth Curve
- X axis: Time (h); Y axis: Cell count or confluence (%)
- Line plot of
timeseries.cell_countortimeseries.confluence_pct - Shaded 95% CI band (bootstrap over replicate JSONs when multiple files supplied)
- Exponential fit overlay with annotated doubling time (T½) and R²
- Vertical dashed lines marking treatment addition times (if supplied in metadata)
- Seaborn
lineplotwitherrorbar=('ci', 95); clean despined axes
2b. Cell Trajectory Map
- X/Y axes: Stage coordinates (µm)
- Per-cell tracks plotted as polylines; color-encoded by
phenotype,mean_velocity_um_h, ortrack_lifetime_frames(user-selectable colormap) - Track start marked with a filled circle, end with an arrowhead
- Optional background: first-frame microscopy image as 30% opacity underlay (TIFF/PNG)
- Scalebar drawn in bottom-right corner (configurable µm length)
- Colorbar with phenotype legend or velocity scale
2c. Phenotype Distribution Chart
- Pie chart (default for ≤ 6 phenotypes): wedge labels + percentage + count; Okabe-Ito palette
- Stacked bar chart (multi-condition mode): one bar per
video_id, normalized to 100%; grouped phenotype legend - Seaborn
barplotvariant (for p-value annotations between conditions): individual phenotype fractions as grouped bars with SEM error bars and significance brackets (statannotationsor manualax.text)
2d. Migration Velocity & Directionality
- Violin + strip plot:
mean_velocity_um_hper phenotype group
Установить generate_cell_analysis_charts в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл generate_cell_analysis_charts?
Domain-specialized chart generator for cell biology video analysis outputs. Consumes structured JSON from analyze_lab_video_cell_behavior or compatible sources and produces publication-ready figures — growth curves, cell trajectory maps, phenotype distribution charts, MSD plots, wound-closure timeseries, dose-response curves, and 96-well heatmaps — using matplotlib and seaborn. Exports PNG/PDF at configurable DPI for papers, ELN entries, or XR dashboards.
Как установить скилл generate_cell_analysis_charts?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generate_cell_analysis_charts запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic