dr-claw
Dr. Claw skill for OpenClaw project discovery, idea intake, waiting-session triage, structured session control, event-driven notifications, and mobile…
This skill should be used when the user asks to "run initial analysis", "analyze single-cell data", "QC my data", "run bioinformatics pipeline", "generate analysis report", "explore my dataset", "do exploratory data analysis", "initial data analysis", or needs to perform quality
$ npx -y skills add OpenLAIR/dr-claw --skill init-analysis --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/init-analysisContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user asks to "run initial analysis", "analyze single-cell data", "QC my data", "run bioinformatics pipeline", "generate analysis report", "explore my dataset", "do exploratory data analysis", "initial data analysis", or needs to perform quality
name: init-analysis description: This skill should be used when the user asks to "run initial analysis", "analyze single-cell data", "QC my data", "run bioinformatics pipeline", "generate analysis report", "explore my dataset", "do exploratory data analysis", "initial data analysis", or needs to perform quality control, dimensionality reduction, clustering, or marker analysis on single-cell biology data (CyTOF, scRNA-seq, flow cytometry, proteomics). version: 0.1.0
Automated 7-step analysis pipeline for high-dimensional single-cell biology data with plain-language report generation.
The pipeline auto-detects input data type:
| Data Type | File Formats | Detection Pattern | |-----------|-------------|-------------------| | **scRNA-seq** | `.h5ad`, `.h5` (10X), `.mtx` + barcodes | Gene names, count matrix | | **CyTOF** | `.csv`, `.h5ad` | Phospho-markers (p.ERK, p.AKT, etc.) | | **Flow cytometry** | `.fcs`, `.csv` | Surface markers, scatter channels |
Run the complete 7-step analysis:
python3 scripts/run_pipeline.py <input_path> \
[--data-type auto|cytof|scrnaseq|flow] \
[--subsample 500] \
[--output-dir ./analysis_output] \
[--report-style clinical|technical]**Arguments:**
**Output Files:**
analysis_output/ ├── figures/ # All generated plots (PNG) ├── processed/ │ └── adata_processed.h5ad # Processed AnnData object ├── report.html # Complete analysis report └── analysis_summary.json # Machine-readable summary statistics
For custom workflows, import individual step modules:
from step1_load_data import load_data from step2_qc import run_qc from step3_normalize import normalize_data from step4_dim_reduction import run_dim_reduction from step5_clustering import run_clustering from step6_marker_analysis import run_marker_analysis from step7_report import generate_report
Each step function accepts an AnnData object and returns the modified AnnData plus a dictionary of results/figures.
Load data from various formats into AnnData. For directories of CSVs (e.g., CyTOF per-cell-line files), automatically concatenate with metadata. Apply subsampling if dataset is large.
**Data-type-aware QC:**
PCA with scree plot and loadings analysis, followed by UMAP visualization colored by all available metadata and key markers.
Leiden graph-based clustering at multiple resolutions. Evaluate with ARI, NMI, Silhouette scores if reference labels exist. Visualize cluster composition across metadata categories.
Wilcoxon rank-sum differential expression per cluster. Marker correlation heatmap. If treatment/condition metadata exists: treatment response analysis with boxplots and effect heatmaps. If time metadata exists: time-course dynamics.
Generate HTML report with embedded figures and interpretations. Two styles:
For detailed guidance, consult:
A Super AI Lab with massive AI Doctors as Assistants. Best IDE for Research via AI Power.
Repo: OpenLAIR/dr-claw
Dr. Claw skill for OpenClaw project discovery, idea intake, waiting-session triage, structured session control, event-driven notifications, and mobile…
Academic research assistant for literature reviews, paper analysis, and scholarly writing. Use when: reviewing academic papers, conducting literature reviews,…
Autonomous AI agent platform for building and deploying continuous agents. Use when creating visual workflow agents, deploying persistent autonomous agents, or…
Multi-agent orchestration framework for autonomous AI collaboration. Use when building teams of specialized agents working together on complex tasks, when you…
Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct…
Data framework for building LLM applications with RAG. Specializes in document ingestion (300+ connectors), indexing, and querying. Features vector indices,…