Command Palette

Search for a command to run...

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

export_experiment_data_to_excel

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

Exports any structured experimental data (JSON, tables, time series) to well-formatted Excel (.xlsx) files. Auto-names sheets (Raw Data, Growth Curves, Cell…

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

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

Export Experiment Data to Excel

Overview

export_experiment_data_to_excel transforms heterogeneous experimental data — JSON from video analysis pipelines, pandas DataFrames, time-series arrays, nested protocol outputs — into clean, human-readable Excel workbooks. The skill auto-assigns logical sheet names (e.g., Raw Data, Growth Curves, Cell Counts, Population Metrics), prepends unit and metadata annotation rows, applies consistent column widths and header styling, and emits a single .xlsx file ready for lab notebooks, ELN attachment, regulatory submission, or downstream statistical analysis. It bridges the gap between machine-generated structured data and the Excel-centric workflows that many wet-lab researchers and collaborators expect.

When to Use This Skill

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

  • LabOS pipeline export: Output from extract_experiment_data_from_video, analyze_lab_video_cell_behavior, or generate_cell_analysis_charts is in JSON or tabular form and must be shared as an Excel file for collaborators or PI review.
  • Multi-sheet report assembly: Several related datasets (raw counts, summary metrics, time-series curves, per-well results) must be organized into one workbook with clearly named sheets rather than scattered CSV files.
  • Unit and provenance documentation: Data columns require explicit unit headers (µL, h⁻¹, µm/h, %) and annotation rows (experiment ID, date, protocol version) so recipients understand the data without reading separate metadata files.
  • ELN or Benchling attachment: A Benchling ELN entry or protocols.io experiment record requires an Excel file as an attached data object; the skill produces a formatted file suitable for direct upload.
  • Regulatory or audit trail: GLP/GMP or audit documentation requires data in a fixed, non-editable (or track-changes) format; Excel with frozen headers and annotation rows meets many lab compliance requirements.
  • Collaborator handoff: A non-computational collaborator or external lab needs data in Excel for manual inspection, plotting in Excel/GraphPad, or import into proprietary analysis software.
  • Statistical analysis prep: Data will be imported into R, SPSS, GraphPad Prism, or pandas; the skill ensures column names are valid, units are explicit, and missing values are consistently encoded (e.g., NA, empty, or —).
  • Batch experiment export: Multiple experiments or conditions are consolidated into one workbook with one sheet per condition, or one sheet per time point, for side-by-side comparison.

Core Capabilities

1. Multi-Source Input Parsing

Ingests diverse input formats and normalizes them for Excel export:

  • JSON (nested or flat): Parses JSON from analyze_lab_video_cell_behavior, extract_experiment_data_from_video, or custom pipelines; flattens nested objects into columns; extracts timeseries, population_metrics, tracks[], events into separate logical tables
  • pandas DataFrame: Direct pass-through; column dtypes preserved; datetime columns formatted for Excel compatibility
  • List of dicts / list of lists: Converted to a table with optional header row; first row can be treated as headers or as data
  • CSV / TSV file path: Loaded via pandas; re-exported to Excel with enhanced formatting
  • Time-series arrays: (timestamp, value) pairs or (timestamp, value1, value2, …) arrays become columns with automatic naming (Time_h, Cell_count, Confluence_pct)
  • Multi-experiment bundles: A dict mapping experiment_id → data; each experiment becomes a sheet or a grouped set of rows with an experiment_id column

2. Automatic Sheet Naming & Organization

Assigns meaningful sheet names and organizes data into logical groups:

  • Schema-driven naming: When input is JSON from known LabOS skills, maps top-level keys to standard sheet names:
    • timeseries → "Time Series" or "Growth Curves" (if cell_count/confluence present)
    • population_metrics → "Population Metrics"
    • phenotype_counts → "Phenotype Counts"
    • tracks → "Cell Tracks" or "Track Data"
    • events → "Events"
    • raw / raw_data → "Raw Data"
  • User override: Accepts explicit sheet-name mapping: {"sheet_1": data1, "My Custom Sheet": data2}
  • Sheet name sanitization: Truncates to 31 characters (Excel limit); replaces invalid characters (\, *, ?, :, [, ]); ensures uniqueness by appending _2, _3 if duplicates
  • Ordering: Sheets ordered by logical flow — metadata/summary first, raw data last, or user-specified order
  • Multi-table per sheet: Optionally places multiple small tables (e.g., phenotype counts + key metrics) on one sheet with blank rows between them

3. Unit Headers & Annotation Rows

Prepends metadata and unit information for clarity:

  • Annotation block (rows 1–N): Optional header rows before the data table:
    • Row 1: Experiment ID, Date, Protocol, Operator (or user-defined keys
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Exports any structured experimental data (JSON, tables, time series) to well-formatted Excel (.xlsx) files. Auto-names sheets (Raw Data, Growth Curves, Cell Counts, etc.), adds unit headers and annotation rows, applies consistent styling, and produces lab-ready spreadsheets for sharing, archival, or downstream analysis in R, pandas, or Excel.

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

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

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

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

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

Сравнить export_experiment_data_to_excel с