exploratory-data-analysis
This Claude Code skill performs automated exploratory data analysis on over 200 scientific file formats spanning chemistry, bioinformatics, microscopy, spectroscopy, and related domains. It automatically detects file type, extracts format-specific metadata, assesses data quality, and generates detailed markdown reports with statistical summaries and downstream analysis recommendations. Use this skill when users request analysis or summaries of scientific data files to understand their structure, content, and suitability for further analysis.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/exploratory-data-analysis && cp -r /tmp/exploratory-data-analysis/skills/exploratory-data-analysis ~/.claude/skills/exploratory-data-analysisSKILL.md
# Exploratory Data Analysis ## Overview Perform comprehensive exploratory data analysis (EDA) on scientific data files across multiple domains. This skill provides automated file type detection, format-specific analysis, data quality assessment, and generates detailed markdown reports suitable for documentation and downstream analysis planning. **Key Capabilities:** - Automatic detection and analysis of 200+ scientific file formats - Comprehensive format-specific metadata extraction - Data quality and integrity assessment - Statistical summaries and distributions - Visualization recommendations - Downstream analysis suggestions - Markdown report generation ## When to Use This Skill Use this skill when: - User provides a path to a scientific data file for analysis - User asks to "explore", "analyze", or "summarize" a data file - User wants to understand the structure and content of scientific data - User needs a comprehensive report of a dataset before analysis - User wants to assess data quality or completeness - User asks what type of analysis is appropriate for a file ## Supported File Categories The skill has comprehensive coverage of scientific file formats organized into six major categories: ### 1. Chemistry and Molecular Formats (60+ extensions) Structure files, computational chemistry outputs, molecular dynamics trajectories, and chemical databases. **File types include:** `.pdb`, `.cif`, `.mol`, `.mol2`, `.sdf`, `.xyz`, `.smi`, `.gro`, `.log`, `.fchk`, `.cube`, `.dcd`, `.xtc`, `.trr`, `.prmtop`, `.psf`, and more. **Reference file:** `references/chemistry_molecular_formats.md` ### 2. Bioinformatics and Genomics Formats (50+ extensions) Sequence data, alignments, annotations, variants, and expression data. **File types include:** `.fasta`, `.fastq`, `.sam`, `.bam`, `.vcf`, `.bed`, `.gff`, `.gtf`, `.bigwig`, `.h5ad`, `.loom`, `.counts`, `.mtx`, and more. **Reference file:** `references/bioinformatics_genomics_formats.md` ### 3. Microscopy and Imaging Formats (45+ extensions) Microscopy images, medical imaging, whole slide imaging, and electron microscopy. **File types include:** `.tif`, `.nd2`, `.lif`, `.czi`, `.ims`, `.dcm`, `.nii`, `.mrc`, `.dm3`, `.vsi`, `.svs`, `.ome.tiff`, and more. **Reference file:** `references/microscopy_imaging_formats.md` ### 4. Spectroscopy and Analytical Chemistry Formats (35+ extensions) NMR, mass spectrometry, IR/Raman, UV-Vis, X-ray, chromatography, and other analytical techniques. **File types include:** `.fid`, `.mzML`, `.mzXML`, `.raw`, `.mgf`, `.spc`, `.jdx`, `.xy`, `.cif` (crystallography), `.wdf`, and more. **Reference file:** `references/spectroscopy_analytical_formats.md` ### 5. Proteomics and Metabolomics Formats (30+ extensions) Mass spec proteomics, metabolomics, lipidomics, and multi-omics data. **File types include:** `.mzML`, `.pepXML`, `.protXML`, `.mzid`, `.mzTab`, `.sky`, `.mgf`, `.msp`, `.h5ad`, and more. **Reference file:** `references/proteomics_metabolomics_formats.md` ### 6. General Scientific Data Formats (30+ extensions) Arrays, tables, hierarchical data, compressed archives, and common scientific formats. **File types include:** `.npy`, `.npz`, `.csv`, `.xlsx`, `.json`, `.hdf5`, `.zarr`, `.parquet`, `.mat`, `.fits`, `.nc`, `.xml`, and more. **Reference file:** `references/general_scientific_formats.md` ## Workflow ### Step 1: File Type Detection When a user provides a file path, first identify the file type: 1. Extract the file extension 2. Look up the extension in the appropriate reference file 3. Identify the file category and format description 4. Load format-specific information **Example:** ``` User: "Analyze data.fastq" → Extension: .fastq → Category: bioinformatics_genomics → Format: FASTQ Format (sequence data with quality scores) → Reference: references/bioinformatics_genomics_formats.md ``` ### Step 2: Load Format-Specific Information Based on the file type, read the corresponding reference file to understand: - **Typical Data:** What kind of data this format contains - **Use Cases:** Common applications for this format - **Python Libraries:** How to read the file in Python - **EDA Approach:** What analyses are appropriate for this data type Search the reference file for the specific extension (e.g., search for "### .fastq" in `bioinformatics_genomics_formats.md`). ### Step 3: Perform Data Analysis Use the `scripts/eda_analyzer.py` script OR implement custom analysis: **Option A: Use the analyzer script** ```python # The script automatically: # 1. Detects file type # 2. Loads reference information # 3. Performs format-specific analysis # 4. Generates markdown report python scripts/eda_analyzer.py <filepath> [output.md] ``` **Option B: Custom analysis in the conversation** Based on the format information from the reference file, perform appropriate analysis: For tabular data (CSV, TSV, Excel): - Load with pandas - Check dimensions, data types - Analyze missing values - Calculate summary statistics - Identify outliers - Check for duplicates For sequence data (FASTA, FASTQ): - Count sequences - Analyze length distributions - Calculate GC content - Assess quality scores (FASTQ) For images (TIFF, ND2, CZI): - Check dimensions (X, Y, Z, C, T) - Analyze bit depth and value range - Extract metadata (channels, timestamps, spatial calibration) - Calculate intensity statistics For arrays (NPY, HDF5): - Check shape and dimensions - Analyze data type - Calculate statistical summaries - Check for missing/invalid values ### Step 4: Generate Comprehensive Report Create a markdown report with the following sections: #### Required Sections: 1. **Title and Metadata** - Filename and timestamp - File size and location 2. **Basic Information** - File properties - Format identification 3. **File Type Details** - Format description from reference - Typical data content - Common use cases - Python libraries for reading 4. **Data Analysis** - Structure and dimension
How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user mentions Adaptyv, Foundry API, protein binding assays, protein screening experiments, BLI/SPR assays, thermostability assays, or wants to submit protein sequences for experimental characterization. Also trigger when code imports `adaptyv`, `adaptyv_sdk`, or `FoundryClient`, or references `foundry-api-public.adaptyvbio.com`.
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for large-scale datasets.
Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.
Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or composition recipes that chain existing ones) for the patterns not yet covered. Use when the user asks to analyze their recent work and propose skills based on what they actually do. Requires the screenpipe daemon (https://github.com/screenpipe/screenpipe) running locally on port 3030 — the skill has no other data source and will refuse to run if screenpipe is unreachable. All detection runs locally; only redacted cluster summaries reach the LLM.
Benchling Python SDK and REST API integration for registry entities, inventory, ELN entries, workflows, Benchling Apps, and Data Warehouse queries. Use when automating lab data with benchling-sdk or the v2 API.
Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server. Returns 25+ fields per paper including methods, results, sample sizes, quality scores, and conclusions. Use for literature reviews, evidence synthesis, and finding experimental details not available in abstracts alone.