Skip to content

Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.

Remove skill that LLMs already know well and some old skills. Also updated Rowan skill.

Timothy Kassis575404d3c23c
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index 5ee946b0..4c11f6b1 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -6,7 +6,7 @@
},
"metadata": {
"description": "Claude scientific skills from K-Dense Inc",
- "version": "2.34.0"
+ "version": "2.34.1"
},
"plugins": [
{
@@ -36,7 +36,6 @@
"./scientific-skills/datamol",
"./scientific-skills/deepchem",
"./scientific-skills/deeptools",
- "./scientific-skills/denario",
"./scientific-skills/depmap",
"./scientific-skills/dhdna-profiler",
"./scientific-skills/diffdock",
@@ -84,7 +83,6 @@
"./scientific-skills/open-notebook",
"./scientific-skills/optimize-for-gpu",
"./scientific-skills/opentrons-integration",
- "./scientific-skills/paper-2-web",
"./scientific-skills/paper-lookup",
"./scientific-skills/parallel-web",
"./scientific-skills/pathml",
@@ -93,7 +91,6 @@
"./scientific-skills/pennylane",
"./scientific-skills/perplexity-search",
"./scientific-skills/phylogenetics",
- "./scientific-skills/plotly",
"./scientific-skills/polars",
"./scientific-skills/polars-bio",
"./scientific-skills/pptx",
diff --git a/README.md b/README.md
index df1cb2f3..e71c22cb 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
# Claude Scientific Skills
-> **New: [K-Dense BYOK](https://github.com/K-Dense-AI/k-dense-byok)** — A free, open-source AI co-scientist that runs on your desktop, powered by Claude Scientific Skills. Bring your own API keys, pick from 40+ models, and get a full research workspace with web search, file handling, 100+ scientific databases, and access to all 137 skills in this repo. Your data stays on your computer, and you can optionally scale to cloud compute via [Modal](https://modal.com/) for heavy workloads. [Get started here.](https://github.com/K-Dense-AI/k-dense-byok)
+> **New: [K-Dense BYOK](https://github.com/K-Dense-AI/k-dense-byok)** — A free, open-source AI co-scientist that runs on your desktop, powered by Claude Scientific Skills. Bring your own API keys, pick from 40+ models, and get a full research workspace with web search, file handling, 100+ scientific databases, and access to all 134 skills in this repo. Your data stays on your computer, and you can optionally scale to cloud compute via [Modal](https://modal.com/) for heavy workloads. [Get started here.](https://github.com/K-Dense-AI/k-dense-byok)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE.md)
-[![Skills](https://img.shields.io/badge/Skills-137-brightgreen.svg)](#whats-included)
+[![Skills](https://img.shields.io/badge/Skills-134-brightgreen.svg)](#whats-included)
[![Databases](https://img.shields.io/badge/Databases-100%2B-orange.svg)](#whats-included)
[![Agent Skills](https://img.shields.io/badge/Standard-Agent_Skills-blueviolet.svg)](https://agentskills.io/)
[![Works with](https://img.shields.io/badge/Works_with-Cursor_|_Claude_Code_|_Codex-blue.svg)](#getting-started)
@@ -11,7 +11,7 @@
[![LinkedIn](https://img.shields.io/badge/LinkedIn-K--Dense_Inc.-0A66C2?logo=linkedin)](https://www.linkedin.com/company/k-dense-inc)
[![YouTube](https://img.shields.io/badge/YouTube-K--Dense_Inc.-FF0000?logo=youtube)](https://www.youtube.com/@K-Dense-Inc)
-A comprehensive collection of **137 ready-to-use scientific and research skills** (covering cancer genomics, drug-target binding, molecular dynamics, RNA velocity, geospatial science, time series forecasting, 78+ scientific databases, and more) for any AI agent that supports the open [Agent Skills](https://agentskills.io/) standard, created by [K-Dense](https://k-dense.ai). Works with **Cursor, Claude Code, Codex, and more**. Transform your AI agent into a research assistant capable of executing complex multi-step scientific workflows across biology, chemistry, medicine, and beyond.
+A comprehensive collection of **134 ready-to-use scientific and research skills** (covering cancer genomics, drug-target binding, molecular dynamics, RNA velocity, geospatial science, time series forecasting, 78+ scientific databases, and more) for any AI agent that supports the open [Agent Skills](https://agentskills.io/) standard, created by [K-Dense](https://k-dense.ai). Works with **Cursor, Claude Code, Codex, and more**. Transform your AI agent into a research assistant capable of executing complex multi-step scientific workflows across biology, chemistry, medicine, and beyond.
<p align="center">
<a href="https://k-dense.ai">
@@ -52,7 +52,7 @@ These skills enable your AI agent to seamlessly work with specialized scientific
## 📦 What's Included
-This repository provides **137 scientific and research skills** organized into the following categories:
+This repository provides **134 scientific and research skills** organized into the following categories:
- **100+ Scientific & Financial Databases** - A unified database-lookup skill provides direct access to 78 public databases (PubChem, ChEMBL, UniProt, COSMIC, ClinicalTrials.gov, FRED, USPTO, and more), plus dedicated skills for DepMap, Imaging Data Commons, PrimeKG, and U.S. Treasury Fiscal Data. Multi-database packages like BioServices (~40 bioinformatics services), BioPython (38 NCBI sub-databases via Entrez), and gget (20+ genomics databases) add further coverage
- **70+ Optimized Python Package Skills** - Explicitly defined skills for RDKit, Scanpy, PyTorch Lightning, scikit-learn, BioPython, pyzotero, BioServices, PennyLane, Qiskit, OpenMM, MDAnalysis, scVelo, TimesFM, and others — with curated documentation, examples, and best practices. Note: the agent can write code using *any* Python package, not just these; these skills simply provide stronger, more reliable performance for the packages listed
@@ -98,7 +98,7 @@ Each skill includes:
- **Multi-Step Workflows** - Execute complex pipelines with a single prompt
### 🎯 **Comprehensive Coverage**
-- **137 Skills** - Extensive coverage across all major scientific domains
+- **134 Skills** - Extensive coverage across all major scientific domains
- **100+ Databases** - Unified access to 78+ databases via database-lookup, plus dedicated data access skills and multi-database packages like BioServices, BioPython, and gget
- **70+ Optimized Python Package Skills** - RDKit, Scanpy, PyTorch Lightning, scikit-learn, BioServices, PennyLane, Qiskit, OpenMM, scVelo, TimesFM, and others (the agent can use any Python package; these are the pre-documented, higher-performing paths)
@@ -369,7 +369,7 @@ If so, **[K-Dense Web](https://k-dense.ai)** was built for you. It is the full A
| Feature | This Repo | K-Dense Web |
|---------|-----------|-------------|
-| Scientific Skills | 137 skills | **200+ skills** (exclusive access) |
+| Scientific Skills | 134 skills | **200+ skills** (exclusive access) |
| Setup | Manual installation | **Zero setup, works instantly** |
| Compute | Your machine | **Cloud GPUs and HPC included** |
| Workflows | Prompt and code | **End-to-end research pipelines** |
@@ -432,7 +432,7 @@ If so, **[K-Dense Web](https://k-dense.ai)** was built for you. It is the full A
## 📚 Available Skills
-This repository contains **137 scientific and research skills** organized across multiple domains. Each skill provides comprehensive documentation, code examples, and best practices for working with scientific libraries, databases, and tools.
+This repository contains **134 scientific and research skills** organized across multiple domains. Each skill provides comprehensive documentation, code examples, and best practices for working with scientific libraries, databases, and tools.
### Skill Categories
@@ -494,7 +494,7 @@ This repository contains **137 scientific and research skills** organized across
- Symbolic math: SymPy
#### 📊 **Data Analysis & Visualization** (16+ skills)
-- Visualization: Matplotlib, Seaborn, Plotly, Scientific Visualization
+- Visualization: Matplotlib, Seaborn, Scientific Visualization
- Geospatial analysis: GeoPandas, GeoMaster (remote sensing, GIS, satellite imagery, spatial ML, 500+ examples)
- Data processing: Dask, Polars, Vaex
- Network analysis: NetworkX
@@ -512,7 +512,7 @@ This repository contains **137 scientific and research skills** organized across
#### 🔬 **Multi-omics & Systems Biology** (4+ skills)
- Pathway analysis: via Database Lookup (KEGG, Reactome, STRING) and PrimeKG
-- Multi-omics: Denario, HypoGeniC
+- Multi-omics: HypoGeniC
- Data management: LaminDB
#### 🧬 **Protein Engineering & Design** (3 skills)
@@ -527,7 +527,7 @@ This repository contains **137 scientific and research skills** organized across
- Research notebooks: Open Notebook (self-hosted NotebookLM alternative — PDFs, videos, audio, web pages; 16+ AI providers; multi-speaker podcast generation)
- Writing: Scientific Writing, Peer Review
- Document processing: XLSX, MarkItDown, Document Skills
-- Publishing: Paper-2-Web, Venue Templates
+- Publishing: Venue Templates
- Presentations: Scientific Slides, LaTeX Posters, PPTX Posters
- Diagrams: Scientific Schematics, Markdown & Mermaid Writing
- Infographics: Infographics (10 types, 8 styles, colorblind-safe palettes)
@@ -746,7 +746,7 @@ If you use Claude Scientific Skills in your research or project, please cite it
title = {Claude Scientific Skills: A Comprehensive Collection of Scientific Tools for Claude AI},
year = {2026},
url = {https://github.com/K-Dense-AI/claude-scientific-skills},
- note = {137 skills covering databases, packages, integrations, and analysis tools}
+ note = {134 skills covering databases, packages, integrations, and analysis tools}
}
```
diff --git a/scientific-skills/denario/SKILL.md b/scientific-skills/denario/SKILL.md
deleted file mode 100644
index e9d70f2a..00000000
--- a/scientific-skills/denario/SKILL.md
+++ /dev/null
@@ -1,213 +0,0 @@
----
-name: denario
-description: Multiagent AI system for scientific research assistance that automates research workflows from data analysis to publication. This skill should be used when generating research ideas from datasets, developing research methodologies, executing computational experiments, performing literature searches, or generating publication-ready papers in LaTeX format. Supports end-to-end research pipelines with customizable agent orchestration.
-license: GPL-3.0 license
-metadata:
- skill-author: K-Dense Inc.
----
-
-# Denario
-
-## Overview
-
-Denario is a multiagent AI system designed to automate scientific research workflows from initial data analysis through publication-ready manuscripts. Built on AG2 and LangGraph frameworks, it orchestrates multiple specialized agents to handle hypothesis generation, methodology development, computational analysis, and paper writing.
-
-## When to Use This Skill
-
-Use this skill when:
-- Analyzing datasets to generate novel research hypotheses
-- Developing structured research methodologies
-- Executing computational experiments and generating visualizations
-- Conducting literature searches for research context
-- Writing journal-formatted LaTeX papers from research results
-- Automating the complete research pipeline from data to publication
-
-## Installation
-
-Install denario using uv (recommended):
-
-```bash
-uv init
-uv add "denario[app]"
-```
-
-Or using pip:
-
-```bash
-uv pip install "denario[app]"
-```
-
-For Docker deployment or building from source, see `references/installation.md`.
-
-## LLM API Configuration
-
-Denario requires API keys from supported LLM providers. Supported providers include:
-- Google Vertex AI
-- OpenAI
-- Other LLM services compatible with AG2/LangGraph
-
-Store API keys securely using environment variables or `.env` files. For detailed configuration instructions including Vertex AI setup, see `references/llm_configuration.md`.
-
-## Core Research Workflow
-
-Denario follows a structured four-stage research pipeline:
-
-### 1. Data Description
-
-Define the research context by specifying available data and tools:
-
-```python
-from denario import Denario
-
-den = Denario(project_dir="./my_research")
-den.set_data_description("""
-Available datasets: time-series data on X and Y
-Tools: pandas, sklearn, matplotlib
-Research domain: [specify domain]
-""")
-```
-
-### 2. Idea Generation
-
-Generate research hypotheses from the data description:
-
-```python
-den.get_idea()
-```
-
-This produces a research question or hypothesis based on the described data. Alternatively, provide a custom idea:
-
-```python
-den.set_idea("Custom research hypothesis")
-```
-
-### 3. Methodology Development
-
-Develop the research methodology:
-
-```python
-den.get_method()
-```
-
-This creates a structured approach for investigating the hypothesis. Can also accept markdown files with custom methodologies:
-
-```python
-den.set_method("path/to/methodology.md")
-```
-
-### 4. Results Generation
-
-Execute computational experiments and generate analysis:
-
-```python
-den.get_results()
-```
-
-This runs the methodology, performs computations, creates visualizations, and produces findings. Can also provide pre-computed results:
-
-```python
-den.set_results("path/to/results.md")
-```
-
-### 5. Paper Generation
-
-Create a publication-ready LaTeX paper:
-
-```python
-from denario import Journal
-
-den.get_paper(journal=Journal.APS)
-```
-
-The generated paper includes proper formatting for the specified journal, integrated figures, and complete LaTeX source.
-
-## Available Journals
-
-Denario supports multiple journal formatting styles:
-- `Journal.APS` - American Physical Society format
-- Additional journals may be available; check `references/research_pipeline.md` for the complete list
-
-## Launching the GUI
-
-Run the graphical user interface:
-
-```bash
-denario run
-```
-
-This launches a web-based interface for interactive research workflow management.
-
-## Common Workflows
-
-### End-to-End Research Pipeline
-
-```python
-from denario import Denario, Journal
-
-# Initialize project
-den = Denario(project_dir="./research_project")
-
-# Define research context
-den.set_data_description("""
-Dataset: Time-series measurements of [phenomenon]
-Available tools: pandas, sklearn, scipy
-Research goal: Investigate [research question]
-""")
-
-# Generate research idea
-den.get_idea()
-
-# Develop methodology
-den.get_method()
-
-# Execute analysis
-den.get_results()
-
-# Create publication
-den.get_paper(journal=Journal.APS)
-```
-
-### Hybrid Workflow (Custom + Automated)
-
-```python
-# Provide custom research idea
-den.set_idea("Investigate the correlation between X and Y using time-series analysis")
-
-# Auto-generate methodology
-den.get_method()
-
-# Auto-generate results
-den.get_results()
-
-# Generate paper
-den.get_paper(journal=Journal.APS)
-```
-
-### Literature Search Integration
-
-For literature search functionality and additional workflow examples, see `references/examples.md`.
-
-## Advanced Features
-
-- **Multiagent orchestration**: AG2 and LangGraph coordinate specialized agents for different research tasks
-- **Reproducible research**: All stages produce structured outputs that can be version-controlled
-- **Journal integration**: Automatic formatting for target publication venues
-- **Flexible input**: Manual or automated at each pipeline stage
-- **Docker deployment**: Containerized environment with LaTeX and all dependencies
-
-## Detailed References
-
-For comprehensive documentation:
-- **Installation options**: `references/installation.md`
-- **LLM configuration**: `references/llm_configuration.md`
-- **Complete API reference**: `references/research_pipeline.md`
-- **Example workflows**: `references/examples.md`
-
-## Troubleshooting
-
-Common issues and solutions:
-- **API key errors**: Ensure environment variables are set correctly (see `references/llm_configuration.md`)
-- **LaTeX compilation**: Install TeX distribution or use Docker image with pre-installed LaTeX
-- **Package conflicts**: Use virtual environments or Docker for isolation
-- **Python version**: Requires Python 3.12 or higher
-
diff --git a/scientific-skills/denario/references/examples.md b/scientific-skills/denario/references/examples.md
deleted file mode 100644
index e990f469..00000000
--- a/scientific-skills/denario/references/examples.md
+++ /dev/null
@@ -1,494 +0,0 @@
-# Denario Examples
-
-## Complete End-to-End Research Example
-
-This example demonstrates a full research pipeline from data to publication.
-
-### Setup
-
-```python
-from denario import Denario, Journal
-import os
-
-# Create project directory
-os.makedirs("climate_research", exist_ok=True)
-den = Denario(project_dir="./climate_research")
-```
-
-### Define Research Context
-
-```python
-den.set_data_description("""
-Available data: Global temperature anomaly dataset (1880-2023)
-- Monthly mean temperature deviations from 1951-1980 baseline
-- Global coverage with land and ocean measurements
-- Format: CSV with columns [year, month, temperature_anomaly]
-
-Available tools:
-- pandas for data manipulation
-- scipy for statistical analysis
-- sklearn for regression modeling
-- matplotlib and seaborn for visualization
-
-Research domain: Climate science
-Research goal: Quantify and characterize long-term global warming trends
-
-Data source: NASA GISTEMP
-Known characteristics: Strong autocorrelation, seasonal patterns, missing data pre-1900
-""")
-```
-
-### Execute Full Pipeline
-
-```python
-# Generate research idea
-den.get_idea()
-# Output: "Quantify the rate of global temperature increase using
-# linear regression and assess acceleration in warming trends"
-
-# Develop methodology
-den.get_method()
-# Output: Creates methodology including:
-# - Time-series preprocessing
-# - Linear trend analysis
-# - Moving average smoothing
-# - Statistical significance testing
-# - Visualization of trends
-
-# Execute analysis
-den.get_results()
-# Output: Runs the analysis, generates:
-# - Computed trend: +0.18°C per decade
-# - Statistical tests: p < 0.001
-# - Figure 1: Temperature anomaly over time with trend line
-# - Figure 2: Decadal averages
-# - Figure 3: Acceleration analysis
-
-# Generate publication
-den.get_paper(journal=Journal.APS)
-# Output: Creates formatted LaTeX paper with:
-# - Title, abstract, introduction
-# - Methods section
-# - Results with embedded figures
-# - Discussion and conclusions
-# - References
-```
-
-### Review Outputs
-
-```bash
-tree climate_research/
-# climate_research/
-# ├── data_description.txt
-# ├── idea.md
-# ├── methodology.md
-# ├── results.md
-# ├── figures/
-# │ ├── temperature_trend.png
-# │ ├── decadal_averages.png
-# │ └── acceleration_analysis.png
-# ├── paper.tex
-# └── paper.pdf
-```
-
-## Enhancing Input Descriptions
-
-Improve data descriptions for better idea generation.
-
-### Basic Description
-
-```python
-den = Denario(project_dir="./enhanced_input")
-
-# Start with minimal description
-den.set_data_description("Gene expression data from cancer patients")
-```
-
-### Enhanced Description
-
-```python
-# Enhance with specifics
-den.set_data_description("""
-Dataset: Gene expression microarray data from breast cancer patients
-- Sample size: 500 patients (250 responders, 250 non-responders to therapy)
-- Features: Expression levels of 20,000 genes
-- Format: CSV matrix (samples × genes)
-- Clinical metadata: Age, tumor stage, treatment response, survival time
-
-Available analytical tools:
-- pandas for data processing
-- sklearn for machine learning (PCA, random forests, SVM)
-- lifelines for survival analysis
-- matplotlib/seaborn for visualization
-
-Research objectives:
-- Identify gene signatures predictive of treatment response
-- Discover potential therapeutic targets
-- Validate findings using cross-validation
-
-Data characteristics:
-- Normalized log2 expression values
-- Some missing data (<5% of values)
-- Batch effects corrected
-""")
-
-den.get_idea()
-# Now generates more specific and relevant research ideas
-```
-
-## Literature Search Integration
-
-Incorporate existing research into your workflow.
-
-### Example: Finding Related Work
-
-```python
-den = Denario(project_dir="./literature_review")
-
-# Define research area
-den.set_data_description("""
-Research area: Machine learning for protein structure prediction
-Available data: Protein sequence database with known structures
-Tools: Biopython, TensorFlow, scikit-learn
-""")
-
-# Generate idea
-den.set_idea("Develop a deep learning model for predicting protein secondary structure from amino acid sequences")
-
-# NOTE: Literature search functionality would be integrated here
-# The specific API for literature search should be checked in denario's documentation
-# Example conceptual usage:
-# den.search_literature(keywords=["protein structure prediction", "deep learning", "LSTM"])
-# This would inform methodology and provide citations for the paper
-```
-
-## Generate Research Ideas from Data
-
-Focus on idea generation without full pipeline execution.
-
-### Example: Brainstorming Research Questions
-
-```python
-den = Denario(project_dir="./idea_generation")
-
-# Provide comprehensive data description
-den.set_data_description("""
-Available datasets:
-1. Social media sentiment data (1M tweets, 2020-2023)
-2. Stock market prices (S&P 500, daily, 2020-2023)
-3. Economic indicators (GDP, unemployment, inflation)
-
-Tools: pandas, sklearn, statsmodels, Prophet, VADER sentiment analysis
-
-Domain: Computational social science and finance
-Research interests: Market prediction, sentiment analysis, causal inference
-""")
-
-# Generate multiple ideas (conceptual - depends on denario API)
-den.get_idea()
-
-# Review the generated idea in idea.md
-# Decide whether to proceed or regenerate
-```
-
-## Writing a Paper from Existing Results
-
-Use denario for paper generation when analysis is already complete.
-
-### Example: Formatting Existing Research
-
-```python
-den = Denario(project_dir="./paper_generation")
-
-# Provide all components manually
-den.set_data_description("""
-Completed analysis of traffic pattern data from urban sensors
-Dataset: 6 months of traffic flow measurements from 100 intersections
-Analysis completed using R and Python
-""")
-
-den.set_idea("""
-Research question: Optimize traffic light timing using reinforcement learning
-to reduce congestion and improve traffic flow efficiency
-""")
-
-den.set_method("""
-# Methodology
-
-## Data Collection
-Traffic flow data collected from 100 intersections in downtown area from
-January-June 2023. Measurements include vehicle counts, wait times, and
-queue lengths at 1-minute intervals.
-
-## Model Development
-Developed a Deep Q-Network (DQN) reinforcement learning agent to optimize
-traffic light timing. State space includes current queue lengths and
-historical flow patterns. Actions correspond to light timing adjustments.
-
-## Training
-Trained the agent using historical data with a reward function based on
-total wait time reduction. Used experience replay and target networks for
-stable learning.
-
-## Validation
-Validated using held-out test data and compared against:
-- Current fixed-timing system
-- Actuated control system
-- Alternative RL algorithms (A3C, PPO)
-
-## Metrics
-- Average wait time reduction
-- Total throughput improvement
-- Queue length distribution
-- Computational efficiency
-""")
-
-den.set_results("""
-# Results
-
-## Training Performance
-The DQN agent converged after 500,000 training episodes. Training time: 12 hours
-on NVIDIA V100 GPU.
-
-## Wait Time Reduction
-- Current system: Average wait time 45.2 seconds
-- DQN system: Average wait time 32.8 seconds
-- Improvement: 27.4% reduction (p < 0.001)
-
-## Throughput Analysis
-- Vehicles processed per hour increased from 2,850 to 3,420 (+20%)
-- Peak hour congestion reduced by 35%
-
-## Comparison with Baselines
-- Actuated control: 38.1 seconds average wait (DQN still 14% better)
-- A3C: 34.5 seconds (DQN slightly better, 5%)
-- PPO: 33.2 seconds (DQN marginally better, 1%)
-
-## Queue Length Analysis
-Maximum queue length reduced from 42 vehicles to 28 vehicles during peak hours.
-
-## Figures
-- Figure 1: Training curve showing convergence
-- Figure 2: Wait time distribution comparison
-- Figure 3: Throughput over time of day
-- Figure 4: Heatmap of queue lengths across intersections
-""")
-
-# Generate publication-ready paper
-den.get_paper(journal=Journal.APS)
-```
-
-## Fast Mode with Gemini
-
-Use Google's Gemini models for faster execution.
-
-### Example: Rapid Prototyping
-
-```python
-# Configure for fast mode (conceptual - check denario documentation)
-# This would involve setting appropriate LLM backend
-
-den = Denario(project_dir="./fast_research")
-
-# Same workflow, optimized for speed
-den.set_data_description("""
-Quick analysis needed: Monthly sales data (2 years)
-Goal: Identify seasonal patterns and forecast next quarter
-Tools: pandas, Prophet
-""")
-
-# Fast execution
-den.get_idea()
-den.get_method()
-den.get_results()
-den.get_paper()
-
-# Trade-off: Faster execution, potentially less detailed analysis
-```
-
-## Hybrid Workflow: Custom Idea + Automated Method
-
-Combine manual and automated approaches.
-
-### Example: Directed Research
-
-```python
-den = Denario(project_dir="./hybrid_workflow")
-
-# Describe data
-den.set_data_description("""
-Medical imaging dataset: 10,000 chest X-rays
-Labels: Normal, pneumonia, COVID-19
-Format: 224x224 grayscale PNG files
-Tools: TensorFlow, Keras, scikit-learn, OpenCV
-""")
-
-# Provide specific research direction
-den.set_idea("""
-Develop a transfer learning approach using pre-trained ResNet50 for multi-class
-classification of chest X-rays, with focus on interpretability using Grad-CAM
-to identify diagnostic regions
-""")
-
-# Let denario develop the methodology
-den.get_method()
-
-# Review methodology, then execute
-den.get_results()
-
-# Generate paper
-den.get_paper(journal=Journal.APS)
-```
-
-## Time-Series Analysis Example
-
-Specialized example for temporal data.
-
-### Example: Economic Forecasting
-
-```python
-den = Denario(project_dir="./time_series_analysis")
-
-den.set_data_description("""
-Dataset: Monthly unemployment rates (US, 1950-2023)
-Additional features: GDP growth, inflation, interest rates
-Format: Multivariate time-series DataFrame
-Tools: statsmodels, Prophet, pmdarima, sklearn
-
-Analysis goals:
-- Model unemployment trends
-- Forecast next 12 months
-- Identify leading indicators
-- Assess forecast uncertainty
-
-Data characteristics:
-- Seasonal patterns (annual cycles)
-- Structural breaks (recessions)
-- Autocorrelation present
-- Non-stationary (unit root)
-""")
-
-den.get_idea()
-# Might generate: "Develop a SARIMAX model incorporating economic indicators
-# as exogenous variables to forecast unemployment with confidence intervals"
-
-den.get_method()
-den.get_results()
-den.get_paper(journal=Journal.APS)
-```
-
-## Machine Learning Pipeline Example
-
-Complete ML workflow with validation.
-
-### Example: Predictive Modeling
-
-```python
-den = Denario(project_dir="./ml_pipeline")
-
-den.set_data_description("""
-Dataset: Customer churn prediction
-- 50,000 customers, 30 features (demographics, usage patterns, service history)
-- Binary target: churned (1) or retained (0)
-- Imbalanced: 20% churn rate
-- Features: Numerical and categorical mixed
-
-Available tools:
-- pandas for preprocessing
-- sklearn for modeling (RF, XGBoost, logistic regression)
-- imblearn for handling imbalance
-- SHAP for feature importance
-
-Goals:
-- Build predictive model for churn
-- Identify key churn factors
-- Provide actionable insights
-- Achieve >85% AUC-ROC
-""")
-
-den.get_idea()
-# Might generate: "Develop an ensemble model combining XGBoost and Random Forest
-# with SMOTE oversampling, and use SHAP values to identify interpretable
-# churn risk factors"
-
-den.get_method()
-# Will include: train/test split, cross-validation, hyperparameter tuning,
-# performance metrics, feature importance analysis
-
-den.get_results()
-# Executes full ML pipeline, generates:
-# - Model performance metrics
-# - ROC curves
-# - Feature importance plots
-# - Confusion matrices
-
-den.get_paper(journal=Journal.APS)
-```
-
-## Tips for Effective Usage
-
-### Provide Rich Context
-
-More context → better ideas and methodologies:
-
-```python
-# Include:
-# - Data characteristics (size, format, quality issues)
-# - Available tools and libraries
-# - Domain-specific knowledge
-# - Research objectives and constraints
-# - Known challenges or considerations
-```
-
-### Iterate on Intermediate Outputs
-
-Review and refine at each stage:
-
-```python
-# Generate
-den.get_idea()
-
-# Review idea.md
-# If needed, refine:
-den.set_idea("Refined version of the idea")
-
-# Continue
-den.get_method()
-# Review methodology.md
-# Refine if needed, then proceed
-```
-
-### Save Your Workflow
-
-Document the complete pipeline:
-
-```python
-# Save workflow script
-with open("research_workflow.py", "w") as f:
- f.write("""
-from denario import Denario, Journal
-
-den = Denario(project_dir="./project")
-den.set_data_description("...")
-den.get_idea()
-den.get_method()
-den.get_results()
-den.get_paper(journal=Journal.APS)
-""")
-```
-
-### Use Version Control
-
-Track research evolution:
-
-```bash
-cd project_dir
-git init
-git add .
-git commit -m "Initial data description"
-
-# After each stage
-git add .
-git commit -m "Generated research idea"
-# ... continue committing after each stage
-```
diff --git a/scientific-skills/denario/references/installation.md b/scientific-skills/denario/references/installation.md
deleted file mode 100644
index a1be99a0..00000000
--- a/scientific-skills/denario/references/installation.md
+++ /dev/null
@@ -1,213 +0,0 @@
-# Installation Guide
-
-## System Requirements
-
-- **Python**: Version 3.12 or higher (required)
-- **Operating System**: Linux, macOS, or Windows
-- **Virtual Environment**: Recommended for isolation
-- **LaTeX**: Required for paper generation (or use Docker)
-
-## Installation Methods
-
-### Method 1: Using uv (Recommended)
-
-The uv package manager provides fast, reliable dependency resolution:
-
-```bash
-# Initialize a new project
-uv init
-
-# Add denario with app support
-uv add "denario[app]"
-```
-
-### Method 2: Alternative Installation
-
-Alternative installation using pip:
-
-```bash
-# Create virtual environment (recommended)
-python3 -m venv denario_env
-source denario_env/bin/activate # On Windows: denario_env\Scripts\activate
-
-# Install denario
-uv pip install "denario[app]"
-```
-
-### Method 3: Building from Source
-
-For development or customization:
-
-```bash
-# Clone the repository
-git clone https://github.com/AstroPilot-AI/Denario.git
-cd Denario
-
-# Create virtual environment
-python3 -m venv Denario_env
-source Denario_env/bin/activate
-
-# Install in editable mode
-uv pip install -e .
-```
-
-### Method 4: Docker Deployment
-
-Docker provides a complete environment with all dependencies including LaTeX:
-
-```bash
-# Pull the official image
-docker pull pablovd/denario:latest
-
-# Run the container with GUI
-docker run -p 8501:8501 --rm pablovd/denario:latest
-
-# Run with environment variables (for API keys)
-docker run -p 8501:8501 --env-file .env --rm pablovd/denario:latest
-```
-
-Access the GUI at `http://localhost:8501` after the container starts.
-
-## Verifying Installation
-
-After installation, verify denario is available:
-
-```python
-# Test import
-python -c "from denario import Denario; print('Denario installed successfully')"
-```
-
-Or check the version:
-
-```bash
-python -c "import denario; print(denario.__version__)"
-```
-
-## Launching the Application
-
-### Command-Line Interface
-
-Run the graphical user interface:
-
-```bash
-denario run
-```
-
-This launches a web-based Streamlit application for interactive research workflow management.
-
-### Programmatic Usage
-
-Use denario directly in Python scripts:
-
-```python
-from denario import Denario
-
-den = Denario(project_dir="./my_project")
-# Continue with workflow...
-```
-
-## Dependencies
-
-Denario automatically installs key dependencies:
-
-- **AG2**: Agent orchestration framework
-- **LangGraph**: Graph-based agent workflows
-- **pandas**: Data manipulation
-- **scikit-learn**: Machine learning tools
-- **matplotlib/seaborn**: Visualization
-- **streamlit**: GUI framework (with `[app]` extra)
-
-## LaTeX Setup
-
-For paper generation, LaTeX must be available:
-
-### Linux
-```bash
-sudo apt-get install texlive-full
-```
-
-### macOS
-```bash
-brew install --cask mactex
-```
-
-### Windows
-Download and install [MiKTeX](https://miktex.org/download) or [TeX Live](https://tug.org/texlive/).
-
-### Docker Alternative
-The Docker image includes a complete LaTeX installation, eliminating manual setup.
-
-## Troubleshooting Installation
-
-### Python Version Issues
-
-Ensure Python 3.12+:
-```bash
-python --version
-```
-
-If older, install a newer version or use pyenv for version management.
-
-### Virtual Environment Activation
-
-**Linux/macOS:**
-```bash
-source venv/bin/activate
-```
-
-**Windows:**
-```bash
-venv\Scripts\activate
-```
-
-### Permission Errors
-
-Use `--user` flag or virtual environments:
-```bash
-uv pip install --user "denario[app]"
-```
-
-### Docker Port Conflicts
-
-If port 8501 is in use, map to a different port:
-```bash
-docker run -p 8502:8501 --rm pablovd/denario:latest
-```
-
-### Package Conflicts
-
-Create a fresh virtual environment to avoid dependency conflicts.
-
-## Updating Denario
-
-### uv
-```bash
-uv add --upgrade denario
-```
-
-### pip
-```bash
-uv pip install --upgrade "denario[app]"
-```
-
-### Docker
-```bash
-docker pull pablovd/denario:latest
-```
-
-## Uninstallation
-
-### uv
-```bash
-uv remove denario
-```
-
-### pip
-```bash
-uv pip uninstall denario
-```
-
-### Docker
-```bash
-docker rmi pablovd/denario:latest
-```
diff --git a/scientific-skills/denario/references/llm_configuration.md b/scientific-skills/denario/references/llm_configuration.md
deleted file mode 100644
index d7b84d26..00000000
--- a/scientific-skills/denario/references/llm_configuration.md
+++ /dev/null
@@ -1,265 +0,0 @@
-# LLM API Configuration
-
-## Overview
-
-Denario requires API credentials from supported LLM providers to power its multiagent research system. The system is built on AG2 and LangGraph, which support multiple LLM backends.
-
-## Supported LLM Providers
-
-### Google Vertex AI
-- Full integration with Google's Vertex AI platform
-- Supports Gemini and PaLM models
-- Requires Google Cloud project setup
-
-### OpenAI
-- GPT-4, GPT-3.5, and other OpenAI models
-- Direct API integration
-
-### Other Providers
-- Any LLM compatible with AG2/LangGraph frameworks
-- Anthropic Claude (via compatible interfaces)
-- Azure OpenAI
-- Custom model endpoints
-
-## Obtaining API Keys
-
-### Google Vertex AI
-
-1. **Create Google Cloud Project**
- - Navigate to [Google Cloud Console](https://console.cloud.google.com/)
- - Create a new project or select existing
-
-2. **Enable Vertex AI API**
- - Go to "APIs & Services" → "Library"
- - Search for "Vertex AI API"
- - Click "Enable"
-
-3. **Create Service Account**
- - Navigate to "IAM & Admin" → "Service Accounts"
- - Create service account with Vertex AI permissions
- - Download JSON key file
-
-4. **Set up authentication**
- ```bash
- export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account-key.json"
- ```
-
-### OpenAI
-
-1. **Create OpenAI Account**
- - Visit [platform.openai.com](https://platform.openai.com/)
- - Sign up or log in
-
-2. **Generate API Key**
- - Navigate to API Keys section
- - Click "Create new secret key"
- - Copy and store securely
-
-3. **Set environment variable**
- ```bash
- export OPENAI_API_KEY="sk-..."
- ```
-
-## Storing API Keys
-
-### Method 1: Environment Variables (Recommended)
-
-**Linux/macOS:**
-```bash
-export OPENAI_API_KEY="your-key-here"
-export GOOGLE_APPLICATION_CREDENTIALS="/path/to/credentials.json"
-```
-
-Add to `~/.bashrc`, `~/.zshrc`, or `~/.bash_profile` for persistence.
-
-**Windows:**
-```bash
-set OPENAI_API_KEY=your-key-here
-```
-
-Or use System Properties → Environment Variables for persistence.
-
-### Method 2: .env Files
-
-Create a `.env` file in your project directory:
-
-```env
-# OpenAI Configuration
-OPENAI_API_KEY=sk-your-openai-key-here
-OPENAI_MODEL=gpt-4
-
-# Google Vertex AI Configuration
-GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
-GOOGLE_CLOUD_PROJECT=your-project-id
-
-# Optional: Model preferences
-DEFAULT_MODEL=gpt-4
-TEMPERATURE=0.7
-```
-
-Load the environment file in Python:
-
-```python
-from dotenv import load_dotenv
-load_dotenv()
-
-from denario import Denario
-den = Denario(project_dir="./project")
-```
-
-### Method 3: Docker Environment Files
-
-For Docker deployments, pass environment variables:
-
-```bash
-# Using --env-file flag
-docker run -p 8501:8501 --env-file .env --rm pablovd/denario:latest
-
-# Using -e flag for individual variables
-docker run -p 8501:8501 \
- -e OPENAI_API_KEY=sk-... \
- -e GOOGLE_APPLICATION_CREDENTIALS=/credentials.json \
- -v /local/path/to/creds.json:/credentials.json \
- --rm pablovd/denario:latest
-```
-
-## Vertex AI Detailed Setup
-
-### Prerequisites
-- Google Cloud account with billing enabled
-- gcloud CLI installed (optional but recommended)
-
-### Step-by-Step Configuration
-
-1. **Install Google Cloud SDK (if not using Docker)**
- ```bash
- # Linux/macOS
- curl https://sdk.cloud.google.com | bash
- exec -l $SHELL
- gcloud init
- ```
-
-2. **Authenticate gcloud**
- ```bash
- gcloud auth application-default login
- ```
-
-3. **Set project**
- ```bash
- gcloud config set project YOUR_PROJECT_ID
- ```
-
-4. **Enable required APIs**
- ```bash
- gcloud services enable aiplatform.googleapis.com
- gcloud services enable compute.googleapis.com
- ```
-
-5. **Create service account (alternative to gcloud auth)**
- ```bash
- gcloud iam service-accounts create denario-service-account \
- --display-name="Denario AI Service Account"
-
- gcloud projects add-iam-policy-binding YOUR_PROJECT_ID \
- --member="serviceAccount:denario-service-account@YOUR_PROJECT_ID.iam.gserviceaccount.com" \
- --role="roles/aiplatform.user"
-
- gcloud iam service-accounts keys create credentials.json \
- --iam-account=denario-service-account@YOUR_PROJECT_ID.iam.gserviceaccount.com
- ```
-
-6. **Configure denario to use Vertex AI**
- ```python
- import os
- os.environ['GOOGLE_CLOUD_PROJECT'] = 'YOUR_PROJECT_ID'
- os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = '/path/to/credentials.json'
-
- from denario import Denario
- den = Denario(project_dir="./research")
- ```
-
-## Model Selection
-
-Configure which models denario uses for different tasks:
-
-```python
-# In your code
-from denario import Denario
-
-# Example configuration (if supported by denario API)
-den = Denario(
- project_dir="./project",
- # Model configuration may vary based on denario version
-)
-```
-
-Check denario's documentation for specific model selection APIs.
-
-## Cost Management
-
-### Monitoring Costs
-
-- **OpenAI**: Track usage at [platform.openai.com/usage](https://platform.openai.com/usage)
-- **Google Cloud**: Monitor in Cloud Console → Billing
-- Set up billing alerts to avoid unexpected charges
-
-### Cost Optimization Tips
-
-1. **Use appropriate model tiers**
- - GPT-3.5 for simpler tasks
- - GPT-4 for complex reasoning
-
-2. **Batch operations**
- - Process multiple research tasks in single sessions
-
-3. **Cache results**
- - Reuse generated ideas, methods, and results when possible
-
-4. **Set token limits**
- - Configure maximum token usage for cost control
-
-## Security Best Practices
-
-### Do NOT commit API keys to version control
-
-Add to `.gitignore`:
-```gitignore
-.env
-*.json # If storing credentials
-credentials.json
-service-account-key.json
-```
-
-### Rotate keys regularly
-- Generate new API keys periodically
-- Revoke old keys after rotation
-
-### Use least privilege access
-- Grant only necessary permissions to service accounts
-- Use separate keys for development and production
-
-### Encrypt sensitive files
-- Store credential files in encrypted volumes
-- Use cloud secret management services for production
-
-## Troubleshooting
-
-### "API key not found" errors
-- Verify environment variables are set: `echo $OPENAI_API_KEY`
-- Check `.env` file is in correct directory
-- Ensure `load_dotenv()` is called before importing denario
-
-### Vertex AI authentication failures
-- Verify `GOOGLE_APPLICATION_CREDENTIALS` points to valid JSON file
-- Check service account has required permissions
-- Ensure APIs are enabled in Google Cloud project
-
-### Rate limiting issues
-- Implement exponential backoff
-- Reduce concurrent requests
-- Upgrade API plan if needed
-
-### Docker environment variable issues
-- Use `docker run --env-file .env` to pass environment
-- Mount credential files with `-v` flag
-- Check environment inside container: `docker exec <container> env`
diff --git a/scientific-skills/denario/references/research_pipeline.md b/scientific-skills/denario/references/research_pipeline.md
deleted file mode 100644
index e68036e6..00000000
--- a/scientific-skills/denario/references/research_pipeline.md
+++ /dev/null
@@ -1,471 +0,0 @@
-# Research Pipeline API Reference
-
-## Core Classes
-
-### Denario
-
-The main class for orchestrating research workflows.
-
-#### Initialization
-
-```python
-from denario import Denario
-
-den = Denario(project_dir="path/to/project")
-```
-
-**Parameters:**
-- `project_dir` (str): Path to the research project directory where all outputs will be stored
-
-#### Methods
-
-##### set_data_description()
-
-Define the research context by describing available data and analytical tools.
-
-```python
-den.set_data_description(description: str)
-```
-
-**Parameters:**
-- `description` (str): Text describing the dataset, available tools, research domain, and any relevant context
-
-**Example:**
-```python
-den.set_data_description("""
-Available data: Time-series temperature measurements from 2010-2023
-Tools: pandas, scipy, sklearn, matplotlib
-Domain: Climate science
-Research interest: Identifying seasonal patterns and long-term trends
-""")
-```
-
-**Purpose:** This establishes the foundation for automated idea generation by providing context about what data is available and what analyses are feasible.
-
-##### get_idea()
-
-Generate research hypotheses based on the data description.
-
-```python
-den.get_idea()
-```
-
-**Returns:** Research idea/hypothesis (stored internally in project directory)
-
-**Output:** Creates a file containing the generated research question or hypothesis
-
-**Example:**
-```python
-den.get_idea()
-# Generates ideas like: "Investigate the correlation between seasonal temperature
-# variations and long-term warming trends using time-series decomposition"
-```
-
-##### set_idea()
-
-Manually specify a research idea instead of generating one.
-
-```python
-den.set_idea(idea: str)
-```
-
-**Parameters:**
-- `idea` (str): The research hypothesis or question to investigate
-
-**Example:**
-```python
-den.set_idea("Analyze the impact of El Niño events on regional temperature anomalies")
-```
-
-**Use case:** When you have a specific research direction and want to skip automated idea generation.
-
-##### get_method()
-
-Develop a research methodology based on the idea and data description.
-
-```python
-den.get_method()
-```
-
-**Returns:** Methodology document (stored internally in project directory)
-
-**Output:** Creates a structured methodology including:
-- Analytical approach
-- Statistical methods to apply
-- Validation strategies
-- Expected outputs
-
-**Example:**
-```python
-den.get_method()
-# Generates methodology: "Apply seasonal decomposition, compute correlation coefficients,
-# perform statistical significance tests, generate visualization plots..."
-```
-
-##### set_method()
-
-Provide a custom methodology instead of generating one.
-
-```python
-den.set_method(method: str)
-den.set_method(method: Path) # Can also accept file paths
-```
-
-**Parameters:**
-- `method` (str or Path): Methodology description or path to markdown file containing methodology
-
-**Example:**
-```python
-# From string
-den.set_method("""
-1. Apply seasonal decomposition using STL
-2. Compute Pearson correlation coefficients
-3. Perform Mann-Kendall trend test
-4. Generate time-series plots with confidence intervals
-""")
-
-# From file
-den.set_method("methodology.md")
-```
-
-##### get_results()
-
-Execute the methodology, perform computations, and generate results.
-
-```python
-den.get_results()
-```
-
-**Returns:** Results document with analysis outputs (stored internally in project directory)
-
-**Output:** Creates results including:
-- Computed statistics
-- Generated figures and visualizations
-- Data tables
-- Analysis findings
-
-**Example:**
-```python
-den.get_results()
-# Executes the methodology, runs analyses, creates plots, compiles findings
-```
-
-**Note:** This is where the actual computational work happens. The agent executes code to perform the analyses specified in the methodology.
-
-##### set_results()
-
-Provide pre-computed results instead of generating them.
-
-```python
-den.set_results(results: str)
-den.set_results(results: Path) # Can also accept file paths
-```
-
-**Parameters:**
-- `results` (str or Path): Results description or path to markdown file containing results
-
-**Example:**
-```python
-# From string
-den.set_results("""
-Analysis Results:
-- Correlation coefficient: 0.78 (p < 0.001)
-- Seasonal amplitude: 5.2°C
-- Long-term trend: +0.15°C per decade
-- Figure 1: Seasonal decomposition (see attached)
-""")
-
-# From file
-den.set_results("results.md")
-```
-
-**Use case:** When analyses were performed externally or when iterating on paper writing without re-running computations.
-
-##### get_paper()
-
-Generate a publication-ready LaTeX paper with the research findings.
-
-```python
-den.get_paper(journal: Journal = None)
-```
-
-**Parameters:**
-- `journal` (Journal, optional): Target journal for formatting. Defaults to generic format.
-
-**Returns:** LaTeX paper with proper formatting (stored in project directory)
-
-**Output:** Creates:
-- Complete LaTeX source file
-- Compiled PDF (if LaTeX is available)
-- Integrated figures and tables
-- Properly formatted bibliography
-
-**Example:**
-```python
-from denario import Journal
-
-den.get_paper(journal=Journal.APS)
-# Generates paper.tex and paper.pdf formatted for APS journals
-```
-
-### Journal Enum
-
-Enumeration of supported journal formats.
-
-```python
-from denario import Journal
-```
-
-#### Available Journals
-
-- `Journal.APS` - American Physical Society format
- - Suitable for Physical Review, Physical Review Letters, etc.
- - Uses RevTeX document class
-
-Additional journal formats may be available. Check the latest denario documentation for the complete list.
-
-#### Usage
-
-```python
-from denario import Denario, Journal
-
-den = Denario(project_dir="./research")
-# ... complete workflow ...
-den.get_paper(journal=Journal.APS)
-```
-
-## Workflow Patterns
-
-### Fully Automated Pipeline
-
-Let denario handle every stage:
-
-```python
-from denario import Denario, Journal
-
-den = Denario(project_dir="./automated_research")
-
-# Define context
-den.set_data_description("""
-Dataset: Sensor readings from IoT devices
-Tools: pandas, numpy, sklearn, matplotlib
-Goal: Anomaly detection in sensor networks
-""")
-
-# Automate entire pipeline
-den.get_idea() # Generate research idea
-den.get_method() # Develop methodology
-den.get_results() # Execute analysis
-den.get_paper(journal=Journal.APS) # Create paper
-```
-
-### Custom Idea, Automated Execution
-
-Provide your research question, automate the rest:
-
-```python
-den = Denario(project_dir="./custom_idea")
-
-den.set_data_description("Dataset: Financial time-series data...")
-
-# Manual idea
-den.set_idea("Investigate predictive models for stock market volatility using LSTM networks")
-
-# Automated execution
-den.get_method()
-den.get_results()
-den.get_paper(journal=Journal.APS)
-```
-
-### Fully Manual with Template Generation
-
-Use denario only for paper formatting:
-
-```python
-den = Denario(project_dir="./manual_research")
-
-# Provide everything manually
-den.set_data_description("Pre-existing dataset description...")
-den.set_idea("Pre-defined research hypothesis")
-den.set_method("methodology.md") # Load from file
-den.set_results("results.md") # Load from file
-
-# Generate formatted paper
-den.get_paper(journal=Journal.APS)
-```
-
-### Iterative Refinement
-
-Refine specific stages without re-running everything:
-
-```python
-den = Denario(project_dir="./iterative")
-
-# Initial run
-den.set_data_description("Dataset description...")
-den.get_idea()
-den.get_method()
-den.get_results()
-
-# Refine methodology after reviewing results
-den.set_method("""
-Revised methodology:
-- Use different statistical test
-- Add sensitivity analysis
-- Include cross-validation
-""")
-
-# Re-run only downstream stages
-den.get_results() # Re-execute with new method
-den.get_paper(journal=Journal.APS)
-```
-
-## Project Directory Structure
-
-After running a complete workflow, the project directory contains:
-
-```
-project_dir/
-├── data_description.txt # Input: data context
-├── idea.md # Generated or provided research idea
-├── methodology.md # Generated or provided methodology
-├── results.md # Generated or provided results
-├── figures/ # Generated visualizations
-│ ├── figure_1.png
-│ ├── figure_2.png
-│ └── ...
-├── paper.tex # Generated LaTeX source
-├── paper.pdf # Compiled PDF (if LaTeX available)
-└── logs/ # Agent execution logs
- └── ...
-```
-
-## Advanced Features
-
-### Multiagent Orchestration
-
-Denario uses AG2 and LangGraph frameworks to coordinate multiple specialized agents:
-
-- **Idea Agent**: Generates research hypotheses from data descriptions
-- **Method Agent**: Develops analytical methodologies
-- **Execution Agent**: Runs computations and creates visualizations
-- **Writing Agent**: Produces publication-ready manuscripts
-
-These agents collaborate automatically, with each stage building on previous outputs.
-
-### Integration with Scientific Tools
-
-Denario integrates with common scientific Python libraries:
-
-- **pandas**: Data manipulation and analysis
-- **scikit-learn**: Machine learning algorithms
-- **scipy**: Scientific computing and statistics
-- **matplotlib/seaborn**: Visualization
-- **numpy**: Numerical operations
-
-When generating results, denario can automatically write and execute code using these libraries.
-
-### Reproducibility
-
-All stages produce structured outputs saved to the project directory:
-
-- Version control friendly (markdown and LaTeX)
-- Auditable (logs of agent decisions and code execution)
-- Reproducible (saved methodologies can be re-run)
-
-### Literature Search
-
-Denario includes capabilities for literature searches to provide context for research ideas and methodology development. See `examples.md` for literature search workflows.
-
-## Error Handling
-
-### Common Issues
-
-**Missing data description:**
-```python
-den = Denario(project_dir="./project")
-den.get_idea() # Error: must call set_data_description() first
-```
-
-**Solution:** Always set data description before generating ideas.
-
-**Missing prerequisite stages:**
-```python
-den = Denario(project_dir="./project")
-den.get_results() # Error: must have idea and method first
-```
-
-**Solution:** Follow the workflow order or manually set prerequisite stages.
-
-**LaTeX compilation errors:**
-```python
-den.get_paper() # May fail if LaTeX not installed
-```
-
-**Solution:** Install LaTeX distribution or use Docker image with pre-installed LaTeX.
-
-## Best Practices
-
-### Data Description Quality
-
-Provide detailed context for better idea generation:
-
-```python
-# Good: Detailed and specific
-den.set_data_description("""
-Dataset: 10 years of daily temperature readings from 50 weather stations
-Format: CSV with columns [date, station_id, temperature, humidity]
-Tools available: pandas, scipy, sklearn, matplotlib, seaborn
-Domain: Climatology
-Research interests: Climate change, seasonal patterns, regional variations
-Known challenges: Missing data in 2015, station 23 has calibration issues
-""")
-
-# Bad: Too vague
-den.set_data_description("Temperature data from weather stations")
-```
-
-### Methodology Validation
-
-Review generated methodologies before executing:
-
-```python
-den.get_method()
-# Review the methodology.md file in project_dir
-# If needed, refine with set_method()
-```
-
-### Incremental Development
-
-Build the research pipeline incrementally:
-
-```python
-# Stage 1: Validate idea generation
-den.set_data_description("...")
-den.get_idea()
-# Review idea.md, adjust if needed
-
-# Stage 2: Validate methodology
-den.get_method()
-# Review methodology.md, adjust if needed
-
-# Stage 3: Execute and validate results
-den.get_results()
-# Review results.md and figures/
-
-# Stage 4: Generate paper
-den.get_paper(journal=Journal.APS)
-```
-
-### Version Control Integration
-
-Initialize git in project directory for tracking:
-
-```bash
-cd project_dir
-git init
-git add .
-git commit -m "Initial research workflow"
-```
-
-Commit after each stage to track the evolution of your research.
diff --git a/scientific-skills/paper-2-web/SKILL.md b/scientific-skills/paper-2-web/SKILL.md
deleted file mode 100644
index d90672f4..00000000
--- a/scientific-skills/paper-2-web/SKILL.md
+++ /dev/null
@@ -1,495 +0,0 @@
----
-name: paper-2-web
-description: This skill should be used when converting academic papers into promotional and presentation formats including interactive websites (Paper2Web), presentation videos (Paper2Video), and conference posters (Paper2Poster). Use this skill for tasks involving paper dissemination, conference preparation, creating explorable academic homepages, generating video abstracts, or producing print-ready posters from LaTeX or PDF sources.
-allowed-tools: Read Write Edit Bash
-license: Unknown
-metadata:
- skill-author: K-Dense Inc.
----
-
-# Paper2All: Academic Paper Transformation Pipeline
-
-## Overview
-
-This skill enables the transformation of academic papers into multiple promotional and presentation formats using the Paper2All autonomous pipeline. The system converts research papers (LaTeX or PDF) into three primary outputs:
-
-1. **Paper2Web**: Interactive, explorable academic homepages with layout-aware design
-2. **Paper2Video**: Professional presentation videos with narration, slides, and optional talking-head
-3. **Paper2Poster**: Print-ready conference posters with professional layouts
-
-The pipeline uses LLM-powered content extraction, design generation, and iterative refinement to create high-quality outputs suitable for conferences, journals, preprint repositories, and academic promotion.
-
-## When to Use This Skill
-
-Use this skill when:
-
-- **Creating conference materials**: Posters, presentation videos, and companion websites for academic conferences
-- **Promoting research**: Converting published papers or preprints into accessible, engaging web formats
-- **Preparing presentations**: Generating video abstracts or full presentation videos from paper content
-- **Disseminating findings**: Creating promotional materials for social media, lab websites, or institutional showcases
-- **Enhancing preprints**: Adding interactive homepages to bioRxiv, arXiv, or other preprint submissions
-- **Batch processing**: Generating promotional materials for multiple papers simultaneously
-
-**Trigger phrases**:
-- "Convert this paper to a website"
-- "Generate a conference poster from my LaTeX paper"
-- "Create a video presentation from this research"
-- "Make an interactive homepage for my paper"
-- "Transform my paper into promotional materials"
-- "Generate a poster and video for my conference talk"
-
-## Visual Enhancement with Scientific Schematics
-
-**When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.**
-
-If your document does not already contain schematics or diagrams:
-- Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
-- Simply describe your desired diagram in natural language
-- Nano Banana Pro will automatically generate, review, and refine the schematic
-
-**For new documents:** Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text.
-
-**How to generate schematics:**
-```bash
-python scripts/generate_schematic.py "your diagram description" -o figures/output.png
-```
-
-The AI will automatically:
-- Create publication-quality images with proper formatting
-- Review and refine through multiple iterations
-- Ensure accessibility (colorblind-friendly, high contrast)
-- Save outputs in the figures/ directory
-
-**When to add schematics:**
-- Paper transformation pipeline diagrams
-- Website layout architecture diagrams
-- Video production workflow illustrations
-- Poster design process flowcharts
-- Content extraction diagrams
-- System architecture visualizations
-- Any complex concept that benefits from visualization
-
-For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
-
----
-
-## Core Capabilities
-
-### 1. Paper2Web: Interactive Website Generation
-
-Converts papers into layout-aware, interactive academic homepages that go beyond simple HTML conversion.
-
-**Key Features**:
-- Responsive, multi-section layouts adapted to paper content
-- Interactive figures, tables, and citations
-- Mobile-friendly design with navigation
-- Automatic logo discovery (with Google Search API)
-- Aesthetic refinement and quality assessment
-
-**Best For**: Post-publication promotion, preprint enhancement, lab websites, permanent research showcases
-
-→ **See `references/paper2web.md` for detailed documentation**
-
----
-
-### 2. Paper2Video: Presentation Video Generation
-
-Generates professional presentation videos with slides, narration, cursor movements, and optional talking-head video.
-
-**Key Features**:
-- Automated slide generation from paper structure
-- Natural-sounding speech synthesis
-- Synchronized cursor movements and highlights
-- Optional talking-head video using Hallo2 (requires GPU)
-- Multi-language support
-
-**Best For**: Video abstracts, conference presentations, online talks, course materials, YouTube promotion
-
-→ **See `references/paper2video.md` for detailed documentation**
-
----
-
-### 3. Paper2Poster: Conference Poster Generation
-
-Creates print-ready academic posters with professional layouts and visual design.
-
-**Key Features**:
-- Custom poster dimensions (any size)
-- Professional design templates
-- Institution branding support
-- QR code generation for links
-- High-resolution output (300+ DPI)
-
-**Best For**: Conference poster sessions, symposiums, academic exhibitions, virtual conferences
-
-→ **See `references/paper2poster.md` for detailed documentation**
-
----
-
-## Quick Start
-
-### Prerequisites
-
-1. **Install Paper2All**:
- ```bash
- git clone https://github.com/YuhangChen1/Paper2All.git
- cd Paper2All
- conda create -n paper2all python=3.11
- conda activate paper2all
- pip install -r requirements.txt
- ```
-
-2. **Configure API Keys** (create `.env` file):
- ```
- OPENAI_API_KEY=your_openai_api_key_here
- # Optional: GOOGLE_API_KEY and GOOGLE_CSE_ID for logo search
- ```
-
-3. **Install System Dependencies**:
- - LibreOffice (document conversion)
- - Poppler utilities (PDF processing)
- - NVIDIA GPU with 48GB (optional, for talking-head videos)
-
-→ **See `references/installation.md` for complete installation guide**
-
----
-
-### Basic Usage
-
-**Generate All Components** (website + poster + video):
-```bash
-python pipeline_all.py \
- --input-dir "path/to/paper" \
- --output-dir "path/to/output" \
- --model-choice 1
-```
-
-**Generate Website Only**:
-```bash
-python pipeline_all.py \
- --input-dir "path/to/paper" \
- --output-dir "path/to/output" \
- --model-choice 1 \
- --generate-website
-```
-
-**Generate Poster with Custom Size**:
-```bash
-python pipeline_all.py \
- --input-dir "path/to/paper" \
- --output-dir "path/to/output" \
- --model-choice 1 \
- --generate-poster \
- --poster-width-inches 60 \
- --poster-height-inches 40
-```
-
-**Generate Video** (lightweight pipeline):
-```bash
-python pipeline_light.py \
- --model_name_t gpt-4.1 \
- --model_name_v gpt-4.1 \
- --result_dir "path/to/output" \
- --paper_latex_root "path/to/paper"
-```
-
-→ **See `references/usage_examples.md` for comprehensive workflow examples**
-
----
-
-## Workflow Decision Tree
-
-Use this decision tree to determine which components to generate:
-
-```
-User needs promotional materials for paper?
-│
-├─ Need permanent online presence?
-│ └─→ Generate Paper2Web (interactive website)
-│
-├─ Need physical conference materials?
-│ ├─→ Poster session? → Generate Paper2Poster
-│ └─→ Oral presentation? → Generate Paper2Video
-│
-├─ Need video content?
-│ ├─→ Journal video abstract? → Generate Paper2Video (5-10 min)
-│ ├─→ Conference talk? → Generate Paper2Video (15-20 min)
-│ └─→ Social media? → Generate Paper2Video (1-3 min)
-│
-└─ Need complete package?
- └─→ Generate all three components
-```
-
-## Input Requirements
-
-### Supported Input Formats
-
-**1. LaTeX Source** (Recommended):
-```
-paper_directory/
-├── main.tex # Main paper file
-├── sections/ # Optional: split sections
-├── figures/ # All figure files
-├── tables/ # Table files
-└── bibliography.bib # References
-```
-
-**2. PDF**:
-- High-quality PDF with embedded fonts
-- Selectable text (not scanned images)
-- High-resolution figures (300+ DPI preferred)
-
-### Input Organization
-
-**Single Paper**:
-```bash
-input/
-└── paper_name/
- ├── main.tex (or paper.pdf)
- ├── figures/
- └── bibliography.bib
-```
-
-**Multiple Papers** (batch processing):
-```bash
-input/
-├── paper1/
-│ └── main.tex
-├── paper2/
-│ └── main.tex
-└── paper3/
- └── main.tex
-```
-
-## Common Parameters
-
-### Model Selection
-- `--model-choice 1`: GPT-4 (best balance of quality and cost)
-- `--model-choice 2`: GPT-4.1 (latest features, higher cost)
-- `--model_name_t gpt-3.5-turbo`: Faster, lower cost (acceptable quality)
-
-### Component Selection
-- `--generate-website`: Enable website generation
-- `--generate-poster`: Enable poster generation
-- `--generate-video`: Enable video generation
-- `--enable-talking-head`: Add talking-head to video (requires GPU)
-
-### Customization
-- `--poster-width-inches [width]`: Custom poster width
-- `--poster-height-inches [height]`: Custom poster height
-- `--video-duration [seconds]`: Target video length
-- `--enable-logo-search`: Automatic institution logo discovery
-
-## Output Structure
-
-Generated outputs are organized by paper and component:
-
-```
-output/
-└── paper_name/
- ├── website/
- │ ├── index.html
- │ ├── styles.css
- │ └── assets/
- ├── poster/
- │ ├── poster_final.pdf
- │ ├── poster_final.png
- │ └── poster_source/
- └── video/
- ├── final_video.mp4
- ├── slides/
- ├── audio/
- └── subtitles/
-```
-
-## Best Practices
-
-### Input Preparation
-1. **Use LaTeX when possible**: Provides best content extraction and structure
-2. **Organize files properly**: Keep all assets (figures, tables, bibliography) in paper directory
-3. **High-quality figures**: Use vector formats (PDF, SVG) or high-resolution rasters (300+ DPI)
-4. **Clean LaTeX**: Remove compilation artifacts, ensure source compiles successfully
-
-### Model Selection Strategy
-- **GPT-4**: Best for production-quality outputs, conferences, publications
-- **GPT-4.1**: Use when you need latest features or best possible quality
-- **GPT-3.5-turbo**: Use for quick drafts, testing, or simple papers
-
-### Component Priority
-For tight deadlines, generate in this order:
-1. **Website** (fastest, most versatile, ~15-30 min)
-2. **Poster** (moderate speed, for print deadlines, ~10-20 min)
-3. **Video** (slowest, can be generated later, ~20-60 min)
-
-### Quality Assurance
-Before finalizing outputs:
-1. **Website**: Test on multiple devices, verify all links work, check figure quality
-2. **Poster**: Print test page, verify text readability from 3-6 feet, check colors
-3. **Video**: Watch entire video, verify audio synchronization, test on different devices
-
-## Resource Requirements
-
-### Processing Time
-- **Website**: 15-30 minutes per paper
-- **Poster**: 10-20 minutes per paper
-- **Video (no talking-head)**: 20-60 minutes per paper
-- **Video (with talking-head)**: 60-120 minutes per paper
-
-### Computational Requirements
-- **CPU**: Multi-core processor for parallel processing
-- **RAM**: 16GB minimum, 32GB recommended for large papers
-- **GPU**: Optional for standard outputs, required for talking-head (NVIDIA A6000 48GB)
-- **Storage**: 1-5GB per paper depending on components and quality settings
-
-### API Costs (Approximate)
-- **Website**: $0.50-2.00 per paper (GPT-4)
-- **Poster**: $0.30-1.00 per paper (GPT-4)
-- **Video**: $1.00-3.00 per paper (GPT-4)
-- **Complete package**: $2.00-6.00 per paper (GPT-4)
-
-## Troubleshooting
-
-### Common Issues
-
-**LaTeX parsing errors**:
-- Ensure LaTeX source compiles successfully: `pdflatex main.tex`
-- Check all referenced files are present
-- Verify no custom packages prevent parsing
-
-**Poor figure quality**:
-- Use vector formats (PDF, SVG, EPS) instead of rasters
-- Ensure raster images are 300+ DPI
-- Check figures render correctly in compiled PDF
-
-**Video generation failures**:
-- Verify sufficient disk space (5GB+ recommended)
-- Check all dependencies installed (LibreOffice, Poppler)
-- Review error logs in output directory
-
-**Poster layout issues**:
-- Verify poster dimensions are reasonable (24"-72" range)
-- Check content length (very long papers may need manual curation)
-- Ensure figures have appropriate resolution for poster size
-
-**API errors**:
-- Verify API keys in `.env` file
-- Check API credit balance
-- Ensure no rate limiting (wait and retry)
-
-## Platform-Specific Features
-
-### Social Media Optimization
-
-The system auto-detects target platforms:
-
-**Twitter/X** (English, numeric folder names):
-```bash
-mkdir -p input/001_twitter/
-# Generates English promotional content
-```
-
-**Xiaohongshu/小红书** (Chinese, alphanumeric folder names):
-```bash
-mkdir -p input/xhs_paper/
-# Generates Chinese promotional content
-```
-
-### Conference-Specific Formatting
-
-Specify conference requirements:
-- Standard poster sizes (4'×3', 5'×4', A0, A1)
-- Video abstract length limits (typically 3-5 minutes)
-- Institution branding requirements
-- Color scheme preferences
-
-## Integration and Deployment
-
-### Website Deployment
-Deploy generated websites to:
-- **GitHub Pages**: Free hosting with custom domain
-- **Academic hosting**: University web servers
-- **Personal servers**: AWS, DigitalOcean, etc.
-- **Netlify/Vercel**: Modern hosting with CI/CD
-
-### Poster Printing
-Print-ready files work with:
-- Professional poster printing services
-- University print shops
-- Online services (e.g., Spoonflower, VistaPrint)
-- Large format printers (if available)
-
-### Video Distribution
-Share videos on:
-- **YouTube**: Public or unlisted for maximum reach
-- **Institutional repositories**: University video platforms
-- **Conference platforms**: Virtual conference systems
-- **Social media**: Twitter, LinkedIn, ResearchGate
-
-## Advanced Usage
-
-### Batch Processing
-Process multiple papers efficiently:
-```bash
-# Organize papers in batch directory
-for paper in paper1 paper2 paper3; do
- python pipeline_all.py \
- --input-dir input/$paper \
- --output-dir output/$paper \
- --model-choice 1 &
-done
-wait
-```
-
-### Custom Branding
-Apply institution or lab branding:
-- Provide logo files in paper directory
-- Specify color schemes in configuration
-- Use custom templates (advanced)
-- Match conference theme requirements
-
-### Multi-Language Support
-Generate content in different languages:
-- Specify target language in configuration
-- System translates content appropriately
-- Selects appropriate voice for video narration
-- Adapts design conventions to culture
-
-## References and Resources
-
-This skill includes comprehensive reference documentation:
-
-- **`references/installation.md`**: Complete installation and configuration guide
-- **`references/paper2web.md`**: Detailed Paper2Web documentation with all features
-- **`references/paper2video.md`**: Comprehensive Paper2Video guide including talking-head setup
-- **`references/paper2poster.md`**: Complete Paper2Poster documentation with design templates
-- **`references/usage_examples.md`**: Real-world examples and workflow patterns
-
-**External Resources**:
-- GitHub Repository: https://github.com/YuhangChen1/Paper2All
-- Curated Dataset: Available on Hugging Face (13 research categories)
-- Benchmark Suite: Reference websites and evaluation metrics
-
-## Evaluation and Quality Metrics
-
-The Paper2All system includes built-in quality assessment:
-
-### Content Quality
-- **Completeness**: Coverage of paper content
-- **Accuracy**: Faithful representation of findings
-- **Clarity**: Accessibility and understandability
-- **Informativeness**: Key information prominence
-
-### Design Quality
-- **Aesthetics**: Visual appeal and professionalism
-- **Layout**: Balance, hierarchy, and organization
-- **Readability**: Text legibility and figure clarity
-- **Consistency**: Uniform styling and branding
-
-### Technical Quality
-- **Performance**: Load times, responsiveness
-- **Compatibility**: Cross-browser, cross-device support
-- **Accessibility**: WCAG compliance, screen reader support
-- **Standards**: Valid HTML/CSS, print-ready PDFs
-
-All outputs undergo automated quality checks before generation completes.
-
diff --git a/scientific-skills/paper-2-web/references/installation.md b/scientific-skills/paper-2-web/references/installation.md
deleted file mode 100644
index 37dce018..00000000
--- a/scientific-skills/paper-2-web/references/installation.md
+++ /dev/null
@@ -1,141 +0,0 @@
-# Installation and Configuration
-
-## System Requirements
-
-### Hardware Requirements
-- **GPU**: NVIDIA A6000 (48GB minimum) required for video generation with talking-head features
-- **CPU**: Multi-core processor recommended for PDF processing and document conversion
-- **RAM**: 16GB minimum, 32GB recommended for large papers
-
-### Software Requirements
-- **Python**: 3.11 or higher
-- **Conda**: Environment manager for dependency isolation
-- **LibreOffice**: Required for document format conversion (PDF to PPTX, etc.)
-- **Poppler utilities**: Required for PDF processing and manipulation
-
-## Installation Steps
-
-### 1. Clone the Repository
-```bash
-git clone https://github.com/YuhangChen1/Paper2All.git
-cd Paper2All
-```
-
-### 2. Create Conda Environment
-```bash
-conda create -n paper2all python=3.11
-conda activate paper2all
-```
-
-### 3. Install Dependencies
-```bash
-pip install -r requirements.txt
-```
-
-### 4. Install System Dependencies
-
-**Ubuntu/Debian:**
-```bash
-sudo apt-get install libreoffice poppler-utils
-```
-
-**macOS:**
-```bash
-brew install libreoffice poppler
-```
-
-**Windows:**
-- Download and install LibreOffice from https://www.libreoffice.org/
-- Download and install Poppler from https://github.com/oschwartz10612/poppler-windows
-
-## API Configuration
-
-Create a `.env` file in the project root with the following credentials:
-
-### Required API Keys
-
-**Option 1: OpenAI API**
-```
-OPENAI_API_KEY=your_openai_api_key_here
-```
-
-**Option 2: OpenRouter API** (alternative to OpenAI)
-```
-OPENROUTER_API_KEY=your_openrouter_api_key_here
-```
-
-### Optional API Keys
-
-**Google Search API** (for automatic logo discovery)
-```
-GOOGLE_API_KEY=your_google_api_key_here
-GOOGLE_CSE_ID=your_custom_search_engine_id_here
-```
-
-## Model Configuration
-
-The system supports multiple LLM backends:
-
-### Supported Models
-- GPT-4 (recommended for best quality)
-- GPT-4.1 (latest version)
-- GPT-3.5-turbo (faster, lower cost)
-- Claude models via OpenRouter
-- Other OpenRouter-supported models
-
-### Model Selection
-
-Specify models using the `--model-choice` parameter or `--model_name_t` and `--model_name_v` parameters:
-- Model choice 1: GPT-4 for all components
-- Model choice 2: GPT-4.1 for all components
-- Custom: Specify separate models for text and visual processing
-
-## Verification
-
-Test the installation:
-
-```bash
-python pipeline_all.py --help
-```
-
-If successful, you should see the help menu with all available options.
-
-## Troubleshooting
-
-### Common Issues
-
-**1. LibreOffice not found**
-- Ensure LibreOffice is installed and in your system PATH
-- Try running `libreoffice --version` to verify
-
-**2. Poppler utilities not found**
-- Verify installation with `pdftoppm -v`
-- Add Poppler bin directory to PATH if needed
-
-**3. GPU/CUDA errors for video generation**
-- Ensure NVIDIA drivers are up to date
-- Verify CUDA toolkit is installed
-- Check GPU memory with `nvidia-smi`
-
-**4. API key errors**
-- Verify `.env` file is in the project root
-- Check that API keys are valid and have sufficient credits
-- Ensure no extra spaces or quotes around keys in `.env`
-
-## Directory Structure
-
-After installation, organize your workspace:
-
-```
-Paper2All/
-├── .env # API credentials
-├── input/ # Place your paper files here
-│ └── paper_name/ # Each paper in its own directory
-│ └── main.tex # LaTeX source or PDF
-├── output/ # Generated outputs
-│ └── paper_name/
-│ ├── website/ # Generated website files
-│ ├── video/ # Generated video files
-│ └── poster/ # Generated poster files
-└── ...
-```
diff --git a/scientific-skills/paper-2-web/references/paper2poster.md b/scientific-skills/paper-2-web/references/paper2poster.md
deleted file mode 100644
index a7f22d27..00000000
--- a/scientific-skills/paper-2-web/references/paper2poster.md
+++ /dev/null
@@ -1,346 +0,0 @@
-# Paper2Poster: Academic Poster Generation
-
-## Overview
-
-Paper2Poster automatically generates professional academic posters from research papers. The system extracts key content, designs visually appealing layouts, and creates print-ready posters suitable for conferences, symposiums, and academic presentations.
-
-## Core Capabilities
-
-### 1. Content Extraction
-- Identifies key findings and contributions
-- Extracts important figures and tables
-- Summarizes methodology
-- Highlights results and conclusions
-- Preserves citations and references
-
-### 2. Layout Design
-- Creates balanced, professional layouts
-- Optimizes content density and white space
-- Establishes clear visual hierarchy
-- Supports multiple poster sizes
-- Adapts to different content types
-
-### 3. Visual Design
-- Applies color schemes and branding
-- Optimizes typography for readability
-- Ensures figure quality and sizing
-- Creates cohesive visual identity
-- Maintains academic presentation standards
-
-## Usage
-
-### Basic Poster Generation
-
-```bash
-python pipeline_all.py \
- --input-dir "path/to/papers" \
- --output-dir "path/to/output" \
- --model-choice 1 \
- --generate-poster
-```
-
-### Custom Poster Dimensions
-
-```bash
-python pipeline_all.py \
- --input-dir "path/to/papers" \
- --output-dir "path/to/output" \
- --model-choice 2 \
- --generate-poster \
- --poster-width-inches 60 \
- --poster-height-inches 40
-```
-
-### Parameters
-
-**Basic Configuration:**
-- `--input-dir`: Directory containing paper files
-- `--output-dir`: Directory for generated posters
-- `--model-choice`: LLM model selection (1=GPT-4, 2=GPT-4.1)
-- `--generate-poster`: Enable poster generation
-
-**Poster Dimensions:**
-- `--poster-width-inches`: Width in inches (default: 48)
-- `--poster-height-inches`: Height in inches (default: 36)
-- `--poster-orientation`: Portrait or landscape (default: landscape)
-- `--poster-dpi`: Resolution in DPI (default: 300)
-
-**Design Options:**
-- `--poster-template`: Template style (default: modern)
-- `--color-scheme`: Color palette selection
-- `--institution-branding`: Include institution colors and logos
-- `--font-family`: Typography selection
-
-## Standard Poster Sizes
-
-### Conference Standard Sizes
-- **4' × 3'** (48" × 36"): Most common conference poster
-- **5' × 4'** (60" × 48"): Large format for major conferences
-- **3' × 4'** (36" × 48"): Portrait orientation for narrow spaces
-- **A0** (841mm × 1189mm): International standard
-- **A1** (594mm × 841mm): Compact conference poster
-
-### Custom Sizes
-The system supports any custom dimensions. Specify using:
-```bash
---poster-width-inches [width] --poster-height-inches [height]
-```
-
-## Input Requirements
-
-### Supported Input Formats
-1. **LaTeX source** (preferred)
- - Main `.tex` file with complete paper
- - All figures and tables referenced
- - Compiled successfully
-
-2. **PDF**
- - High-quality PDF with embedded fonts
- - Selectable text (not scanned)
- - High-resolution figures
-
-### Required Content Elements
-- Title and authors
-- Abstract or summary
-- Methodology description
-- Key results
-- Conclusions
-- References (optional but recommended)
-
-### Recommended Assets
-- High-resolution figures (300 DPI minimum)
-- Vector graphics (PDF, SVG, EPS)
-- Institution logo
-- Author photos (optional)
-- QR codes for website/repo links
-
-## Output Structure
-
-```
-output/paper_name/poster/
-├── poster_final.pdf # Print-ready poster
-├── poster_final.png # High-res PNG version
-├── poster_preview.pdf # Low-res preview
-├── poster_source/ # Source files
-│ ├── layout.pptx # Editable PowerPoint
-│ ├── layout.svg # Vector graphics
-│ └── layout.json # Layout specification
-├── assets/ # Extracted assets
-│ ├── figures/ # Poster figures
-│ ├── logos/ # Institution logos
-│ └── qrcodes/ # Generated QR codes
-└── metadata/
- ├── design_spec.json # Design specifications
- └── content_map.json # Content organization
-```
-
-## Poster Layout Sections
-
-### Standard Sections
-1. **Header**
- - Title (large, prominent)
- - Authors and affiliations
- - Institution logos
- - Conference information
-
-2. **Introduction/Background**
- - Problem statement
- - Research motivation
- - Brief literature context
-
-3. **Methods**
- - Experimental design
- - Key procedures
- - Important parameters
- - Visual workflow diagram
-
-4. **Results**
- - Key findings (largest section)
- - Primary figures and tables
- - Statistical summaries
- - Visual data representations
-
-5. **Conclusions**
- - Main takeaways
- - Implications
- - Future work
-
-6. **References & Contact**
- - Selected key references
- - Author contact information
- - QR codes for paper/website
- - Acknowledgments
-
-## Design Templates
-
-### Modern Template (Default)
-- Clean, minimalist design
-- Bold colors for headers
-- Ample white space
-- Modern typography
-- Focus on visual hierarchy
-
-### Academic Template
-- Traditional academic styling
-- Conservative color palette
-- Dense information layout
-- Classic serif typography
-- Standard section organization
-
-### Visual Template
-- Image-focused layout
-- Large figure displays
-- Minimal text density
-- Infographic elements
-- Story-driven flow
-
-### Technical Template
-- Equation-friendly layout
-- Code snippet support
-- Detailed methodology sections
-- Technical figure emphasis
-- Engineering/CS aesthetic
-
-## Color Schemes
-
-### Predefined Schemes
-- **Institutional**: Uses institution branding colors
-- **Professional**: Navy blue and gray palette
-- **Vibrant**: Bold, eye-catching colors
-- **Nature**: Green and earth tones
-- **Tech**: Modern blue and cyan
-- **Warm**: Orange and red accents
-- **Cool**: Blue and purple tones
-
-### Custom Color Schemes
-Specify custom colors in configuration:
-```json
-{
- "primary": "#1E3A8A",
- "secondary": "#3B82F6",
- "accent": "#F59E0B",
- "background": "#FFFFFF",
- "text": "#1F2937"
-}
-```
-
-## Typography Options
-
-### Font Families
-- **Sans-serif** (default): Clean, modern, highly readable
-- **Serif**: Traditional academic appearance
-- **Mixed**: Serif for body, sans-serif for headers
-- **Monospace**: For code and technical content
-
-### Size Hierarchy
-- **Title**: 72-96pt
-- **Section headers**: 48-60pt
-- **Subsection headers**: 36-48pt
-- **Body text**: 24-32pt
-- **Captions**: 18-24pt
-- **References**: 16-20pt
-
-## Quality Assurance
-
-### Automated Checks
-- **Text readability**: Minimum font size verification
-- **Color contrast**: Accessibility compliance
-- **Figure quality**: Resolution and clarity checks
-- **Layout balance**: Content distribution analysis
-- **Branding consistency**: Logo and color verification
-
-### Manual Review Checklist
-1. ☐ All figures are high resolution and clear
-2. ☐ Text is readable from 3-6 feet away
-3. ☐ Color scheme is professional and consistent
-4. ☐ No text overlaps or layout issues
-5. ☐ Institution logos are correct and high quality
-6. ☐ QR codes work and link to correct URLs
-7. ☐ Author information is accurate
-8. ☐ Key findings are prominently displayed
-9. ☐ References are properly formatted
-10. ☐ File is correct size and resolution for printing
-
-## Print Preparation
-
-### File Specifications
-- **Format**: PDF/X-1a or PDF/X-4 for professional printing
-- **Resolution**: 300 DPI minimum, 600 DPI for fine details
-- **Color mode**: CMYK for print (system auto-converts from RGB)
-- **Bleed**: 0.125" bleed on all sides (automatically added)
-- **Fonts**: All fonts embedded in PDF
-
-### Printing Recommendations
-1. **Print shop**: Use professional poster printing service
-2. **Paper type**: Matte or satin finish for academic posters
-3. **Backing**: Foam core or rigid backing for stability
-4. **Protection**: Lamination optional but recommended
-5. **Test print**: Print A4/Letter size preview first
-
-### Budget Options
-- **Standard**: $50-100 for 4'×3' poster at professional shop
-- **Economy**: $20-40 for print-only (no mounting)
-- **Premium**: $150-300 for high-end materials and mounting
-- **DIY**: <$10 for multiple pages tiled and assembled
-
-## Advanced Features
-
-### QR Code Generation
-Automatically generates QR codes for:
-- Paper PDF or DOI
-- Project website
-- GitHub repository
-- Data repository
-- Author profiles (ORCID, Google Scholar)
-
-### Institution Branding
-When enabled:
-- Extracts institution from author affiliations
-- Searches for official logos (requires Google Search API)
-- Applies institution color schemes
-- Matches brand guidelines
-
-### Interactive Elements (Digital Posters)
-For digital display or virtual conferences:
-- Clickable links and references
-- Embedded videos in figures
-- Interactive data visualizations
-- Animated transitions
-
-## Best Practices
-
-### Content Optimization
-1. **Focus on key findings**: Poster should tell story at a glance
-2. **Limit text**: Use bullet points, avoid paragraphs
-3. **Prioritize visuals**: Figures should dominate the space
-4. **Clear flow**: Guide viewer through logical progression
-5. **Highlight contributions**: Make novelty obvious
-
-### Design Optimization
-1. **Use contrast**: Ensure text is easily readable
-2. **Maintain hierarchy**: Size indicates importance
-3. **Balance content**: Avoid crowding any section
-4. **Consistent styling**: Same fonts, colors throughout
-5. **White space**: Don't fill every inch
-
-### Figure Optimization
-1. **Large enough**: Minimum 6" width for main figures
-2. **High resolution**: 300 DPI minimum
-3. **Clear labels**: Axis labels, legends readable
-4. **Remove clutter**: Simplify for poster format
-5. **Use captions**: Brief, informative descriptions
-
-## Limitations
-
-- Complex equations may need manual adjustment for readability
-- Very long papers may require content prioritization
-- Custom branding requires manual specification or API access
-- Multi-language support limited to common languages
-- 3D visualizations may lose quality in 2D poster format
-
-## Integration with Other Components
-
-Combine Paper2Poster with:
-- **Paper2Web**: Use matching visual design and color scheme
-- **Paper2Video**: Create poster walk-through video
-- **AutoPR**: Generate social media graphics from poster
diff --git a/scientific-skills/paper-2-web/references/paper2video.md b/scientific-skills/paper-2-web/references/paper2video.md
deleted file mode 100644
index 9cf4388b..00000000
--- a/scientific-skills/paper-2-web/references/paper2video.md
+++ /dev/null
@@ -1,305 +0,0 @@
-# Paper2Video: Presentation Video Generation
-
-## Overview
-
-Paper2Video generates presentation videos from LaTeX sources, transforming academic papers into engaging video presentations. The system processes papers through multiple specialized modules to create professional presentation videos complete with slides, narration, and optional talking-head video.
-
-## Core Components
-
-### 1. Slide Generation Module
-- Extracts key content from paper structure
-- Creates visually appealing presentation slides
-- Organizes content in logical flow
-- Includes figures, tables, and equations
-- Optimizes text density for readability
-
-### 2. Subtitle Generation Module
-- Generates natural presentation script
-- Synchronizes text with slide transitions
-- Creates speaker notes and timing
-- Supports multiple languages
-- Optimizes for speech synthesis
-
-### 3. Speech Synthesis Module
-- Converts subtitles to natural-sounding speech
-- Supports multiple voices and accents
-- Controls pacing and emphasis
-- Generates audio track for video
-- Handles technical terminology
-
-### 4. Cursor Movement Module
-- Simulates presenter cursor movements
-- Highlights key points on slides
-- Guides viewer attention
-- Creates natural presentation flow
-- Synchronizes with narration
-
-### 5. Talking-Head Video Generation (Optional)
-- Uses Hallo2 for realistic presenter video
-- Lip-syncs with generated audio
-- Requires reference image or video
-- GPU-intensive (NVIDIA A6000 48GB minimum)
-- Creates engaging presenter presence
-
-## Usage
-
-### Basic Video Generation (Without Talking-Head)
-
-```bash
-python pipeline_light.py \
- --model_name_t gpt-4.1 \
- --model_name_v gpt-4.1 \
- --result_dir /path/to/output \
- --paper_latex_root /path/to/paper
-```
-
-### Full Video Generation (With Talking-Head)
-
-```bash
-python pipeline_all.py \
- --input-dir "path/to/papers" \
- --output-dir "path/to/output" \
- --model-choice 1 \
- --enable-talking-head
-```
-
-### Parameters
-
-**Model Configuration:**
-- `--model_name_t`: Model for text/subtitle generation (default: gpt-4.1)
-- `--model_name_v`: Model for visual/slide generation (default: gpt-4.1)
-- `--model-choice`: Preset model configuration (1=GPT-4, 2=GPT-4.1)
-
-**Input/Output:**
-- `--paper_latex_root`: Root directory of LaTeX paper source
-- `--result_dir` or `--output-dir`: Output directory for generated videos
-- `--input-dir`: Directory containing multiple papers to process
-
-**Video Options:**
-- `--enable-talking-head`: Enable talking-head video generation (requires GPU)
-- `--video-duration`: Target video duration in seconds (default: auto-calculated)
-- `--slides-per-minute`: Control presentation pacing (default: 2-3)
-- `--voice`: Voice selection for speech synthesis
-
-**Quality Settings:**
-- `--video-resolution`: Output resolution (default: 1920x1080)
-- `--video-fps`: Frame rate (default: 30)
-- `--audio-quality`: Audio bitrate (default: 192kbps)
-
-## Input Requirements
-
-### LaTeX Source Structure
-```
-paper_directory/
-├── main.tex # Main paper file
-├── sections/ # Section files (if split)
-│ ├── introduction.tex
-│ ├── methods.tex
-│ └── results.tex
-├── figures/ # Figure files
-│ ├── fig1.pdf
-│ ├── fig2.png
-│ └── ...
-├── tables/ # Table files
-└── bibliography.bib # References
-```
-
-### Required Elements
-- Valid LaTeX source that compiles
-- Proper section structure (abstract, introduction, methods, results, conclusion)
-- High-quality figures (vector formats preferred)
-- Complete bibliography
-
-### Optional Elements
-- Author photos for talking-head generation
-- Custom slide templates
-- Background music or sound effects
-- Institution branding assets
-
-## Output Structure
-
-```
-output/paper_name/video/
-├── final_video.mp4 # Complete presentation video
-├── slides/ # Generated slide images
-│ ├── slide_001.png
-│ ├── slide_002.png
-│ └── ...
-├── audio/ # Audio components
-│ ├── narration.mp3 # Speech synthesis output
-│ └── background.mp3 # Optional background audio
-├── subtitles/ # Subtitle files
-│ ├── subtitles.srt # Standard subtitle format
-│ └── subtitles.vtt # WebVTT format
-├── script/ # Presentation script
-│ ├── full_script.txt # Complete narration text
-│ └── slide_notes.json # Slide-by-slide notes
-└── metadata/ # Video metadata
- ├── timings.json # Slide timing information
- └── video_info.json # Video properties
-```
-
-## Video Generation Process
-
-### Phase 1: Content Analysis
-1. Parse LaTeX source structure
-2. Extract key concepts and findings
-3. Identify important figures and equations
-4. Determine logical presentation flow
-
-### Phase 2: Slide Creation
-1. Design slide layouts based on content
-2. Allocate content across appropriate number of slides
-3. Incorporate figures and visual elements
-4. Apply consistent styling and branding
-
-### Phase 3: Script Generation
-1. Write natural presentation narration
-2. Time script sections to slides
-3. Add transitions and emphasis
-4. Optimize for speech synthesis
-
-### Phase 4: Audio Production
-1. Generate speech from script
-2. Add emphasis and pacing
-3. Include pauses for slide transitions
-4. Mix with optional background audio
-
-### Phase 5: Video Assembly
-1. Combine slides with timing information
-2. Synchronize audio track
-3. Add cursor movements and highlights
-4. Generate talking-head video (if enabled)
-5. Render final video file
-
-## Customization Options
-
-### Presentation Style
-- **Academic**: Formal, detailed, comprehensive
-- **Conference**: Focused on key findings, faster pace
-- **Public**: Simplified language, engaging storytelling
-- **Tutorial**: Step-by-step explanation, educational focus
-
-### Voice Configuration
-Available voice options (via speech synthesis):
-- Multiple languages and accents
-- Male/female voice selection
-- Speaking rate adjustment
-- Pitch and tone customization
-
-### Visual Themes
-- Institution branding colors
-- Conference template matching
-- Custom backgrounds and fonts
-- Dark mode presentations
-
-## Quality Assessment
-
-### Content Quality Metrics
-- **Completeness**: Coverage of paper content
-- **Clarity**: Explanation quality and coherence
-- **Flow**: Logical progression of ideas
-- **Engagement**: Visual appeal and pacing
-
-### Technical Quality Metrics
-- **Audio quality**: Speech clarity and naturalness
-- **Video quality**: Resolution and encoding
-- **Synchronization**: Audio-visual alignment
-- **Timing**: Appropriate slide duration
-
-## Advanced Features
-
-### Multi-Language Support
-- Generate presentations in multiple languages
-- Automatic translation of script
-- Language-appropriate voice selection
-- Cultural adaptation of presentation style
-
-### Talking-Head Generation with Hallo2
-Requires:
-- NVIDIA A6000 GPU (48GB minimum)
-- Reference image or short video of presenter
-- Additional processing time (2-3x longer)
-
-Benefits:
-- More engaging presentation
-- Professional presenter appearance
-- Natural gestures and expressions
-- Lip-sync accuracy
-
-### Interactive Elements
-- Embedded clickable links
-- Navigation menu
-- Chapter markers
-- Supplementary material links
-
-## Best Practices
-
-### Input Preparation
-1. **Clean LaTeX source**: Remove unnecessary comments and artifacts
-2. **High-quality figures**: Use vector formats when possible
-3. **Clear structure**: Well-organized sections and subsections
-4. **Complete content**: Include all necessary files and references
-
-### Model Selection
-- **Text generation (model_name_t)**: GPT-4.1 for best script quality
-- **Visual generation (model_name_v)**: GPT-4.1 for optimal slide design
-- For faster processing with acceptable quality: GPT-3.5-turbo
-
-### Video Optimization
-1. **Target duration**: 10-15 minutes for conference talks, 30-45 for detailed presentations
-2. **Pacing**: 2-3 slides per minute for technical content
-3. **Resolution**: 1920x1080 for standard, 3840x2160 for high-quality
-4. **Audio**: 192kbps minimum for clear speech
-
-### Quality Review
-Before finalizing:
-1. Watch entire video for content accuracy
-2. Check audio synchronization with slides
-3. Verify figure quality and readability
-4. Test subtitle accuracy and timing
-5. Review cursor movements for natural flow
-
-## Performance Considerations
-
-### Processing Time
-- **Without talking-head**: 10-30 minutes per paper (depending on length)
-- **With talking-head**: 30-120 minutes per paper
-- **Factors**: Paper length, figure count, model speed, GPU availability
-
-### Resource Requirements
-- **CPU**: Multi-core recommended for parallel processing
-- **RAM**: 16GB minimum, 32GB for large papers
-- **GPU**: Optional for standard, required for talking-head (A6000 48GB)
-- **Storage**: 1-5GB per video depending on length and quality
-
-## Troubleshooting
-
-### Common Issues
-
-**1. LaTeX parsing errors**
-- Ensure LaTeX source compiles successfully
-- Check for special packages or custom commands
-- Verify all referenced files are present
-
-**2. Speech synthesis problems**
-- Check audio quality settings
-- Verify text is properly formatted
-- Test with different voice options
-
-**3. Video rendering failures**
-- Check available disk space
-- Verify all dependencies are installed
-- Review error logs for specific issues
-
-**4. Talking-head generation errors**
-- Confirm GPU memory (48GB required)
-- Check CUDA drivers are up to date
-- Verify reference image quality and format
-
-## Integration with Other Components
-
-Combine Paper2Video with:
-- **Paper2Web**: Embed video in generated website
-- **Paper2Poster**: Use matching visual style
-- **AutoPR**: Create promotional clips from full video
diff --git a/scientific-skills/paper-2-web/references/paper2web.md b/scientific-skills/paper-2-web/references/paper2web.md
deleted file mode 100644
index 276180c0..00000000
--- a/scientific-skills/paper-2-web/references/paper2web.md
+++ /dev/null
@@ -1,187 +0,0 @@
-# Paper2Web: Academic Homepage Generation
-
-## Overview
-
-Paper2Web converts academic papers into interactive, explorable academic homepages. Unlike traditional approaches (direct generation, template-based, or HTML conversion), Paper2Web creates layout-aware, interactive websites through an iterative refinement process.
-
-## Core Capabilities
-
-### 1. Layout-Aware Generation
-- Analyzes paper structure and content organization
-- Creates responsive, multi-section layouts
-- Adapts design based on paper type (research article, review, preprint, etc.)
-
-### 2. Interactive Elements
-- Expandable sections for detailed content
-- Interactive figures and tables
-- Embedded citations and references
-- Navigation menu for easy browsing
-- Mobile-responsive design
-
-### 3. Content Refinement
-The system uses an iterative pipeline:
-1. Initial content extraction and structuring
-2. Layout generation with visual hierarchy
-3. Interactive element integration
-4. Aesthetic refinement
-5. Quality assessment and validation
-
-## Usage
-
-### Basic Website Generation
-
-```bash
-python pipeline_all.py \
- --input-dir "path/to/papers" \
- --output-dir "path/to/output" \
- --model-choice 1
-```
-
-### Parameters
-
-- `--input-dir`: Directory containing paper files (PDF or LaTeX)
-- `--output-dir`: Directory for generated website files
-- `--model-choice`: LLM model selection (1=GPT-4, 2=GPT-4.1)
-- `--enable-logo-search`: Use Google Search API to find institution logos (optional)
-
-### Input Format Requirements
-
-**Supported Input Formats:**
-1. **LaTeX source** (preferred for best results)
- - Main file: `main.tex`
- - Include all referenced figures, tables, and bibliography files
- - Organize in a single directory per paper
-
-2. **PDF files**
- - High-quality PDF with selectable text
- - Embedded figures should be high resolution
- - Proper section headers and structure
-
-**Directory Structure:**
-```
-input/
-└── paper_name/
- ├── main.tex # LaTeX source
- ├── bibliography.bib # References
- ├── figures/ # Figure files
- │ ├── fig1.png
- │ └── fig2.pdf
- └── tables/ # Table files
-```
-
-## Output Structure
-
-Generated websites include:
-
-```
-output/paper_name/website/
-├── index.html # Main webpage
-├── styles.css # Styling
-├── script.js # Interactive features
-├── assets/ # Images and media
-│ ├── figures/
-│ └── logos/
-└── data/ # Structured data (optional)
-```
-
-## Customization Options
-
-### Visual Design
-The generated websites automatically include:
-- Professional color schemes based on paper content
-- Typography optimized for readability
-- Consistent spacing and visual hierarchy
-- Dark mode support (optional)
-
-### Content Sections
-Standard sections include:
-- Abstract
-- Key findings/contributions
-- Methodology overview
-- Results and visualizations
-- Discussion and implications
-- References and citations
-- Author information and affiliations
-
-Additional sections are automatically added based on paper content:
-- Code repositories
-- Dataset links
-- Supplementary materials
-- Related publications
-
-## Quality Assessment
-
-Paper2Web includes built-in evaluation:
-
-### Aesthetic Metrics
-- Layout balance and spacing
-- Color harmony
-- Typography consistency
-- Visual hierarchy effectiveness
-
-### Informativeness Metrics
-- Content completeness
-- Key finding clarity
-- Method explanation adequacy
-- Results presentation quality
-
-### Technical Metrics
-- Page load time
-- Mobile responsiveness
-- Browser compatibility
-- Accessibility compliance
-
-## Advanced Features
-
-### Logo Discovery
-When enabled with Google Search API:
-- Automatically finds institution logos
-- Matches author affiliations
-- Downloads and optimizes logo images
-- Integrates into website header
-
-### Citation Integration
-- Interactive reference list
-- Hover previews for citations
-- Links to DOI and external sources
-- Citation count tracking (if available)
-
-### Figure Enhancement
-- High-resolution figure rendering
-- Zoom and pan functionality
-- Caption and description integration
-- Multi-panel figure navigation
-
-## Best Practices
-
-### Input Preparation
-1. **Use LaTeX when possible**: Provides best structure extraction
-2. **Include all assets**: Figures, tables, and bibliography files
-3. **Clean formatting**: Remove compilation artifacts and temporary files
-4. **High-quality figures**: Use vector formats (PDF, SVG) when available
-
-### Model Selection
-- **GPT-4**: Best balance of quality and cost
-- **GPT-4.1**: Latest features, higher cost
-- **GPT-3.5-turbo**: Faster processing, acceptable for simple papers
-
-### Output Optimization
-1. Review generated content for accuracy
-2. Check that all figures render correctly
-3. Test interactive elements functionality
-4. Verify mobile responsiveness
-5. Validate external links
-
-## Limitations
-
-- Complex mathematical equations may require manual review
-- Multi-column layouts in PDF may affect extraction quality
-- Large papers (>50 pages) may require extended processing time
-- Some specialized figure types may need manual adjustment
-
-## Integration with Other Components
-
-Paper2Web can be combined with:
-- **Paper2Video**: Generate companion video for the website
-- **Paper2Poster**: Create matching poster design
-- **AutoPR**: Generate promotional content linking to website
diff --git a/scientific-skills/paper-2-web/references/usage_examples.md b/scientific-skills/paper-2-web/references/usage_examples.md
deleted file mode 100644
index dcafcb31..00000000
--- a/scientific-skills/paper-2-web/references/usage_examples.md
+++ /dev/null
@@ -1,436 +0,0 @@
-# Usage Examples and Workflows
-
-## Complete Workflow Examples
-
-### Example 1: Conference Presentation Package
-
-**Scenario**: Preparing for a major conference presentation with website, poster, and video.
-
-**User Request**: "I need to create a complete presentation package for my NeurIPS paper submission. Generate a website, poster, and video presentation."
-
-**Workflow**:
-
-```bash
-# Step 1: Organize paper files
-mkdir -p input/neurips2025_paper
-cp main.tex input/neurips2025_paper/
-cp -r figures/ input/neurips2025_paper/
-cp -r tables/ input/neurips2025_paper/
-cp bibliography.bib input/neurips2025_paper/
-
-# Step 2: Generate all components
-python pipeline_all.py \
- --input-dir input/neurips2025_paper \
- --output-dir output/ \
- --model-choice 1 \
- --generate-website \
- --generate-poster \
- --generate-video \
- --poster-width-inches 48 \
- --poster-height-inches 36 \
- --enable-logo-search
-
-# Step 3: Review outputs
-ls -R output/neurips2025_paper/
-# - website/index.html
-# - poster/poster_final.pdf
-# - video/final_video.mp4
-```
-
-**Output**:
-- Interactive website showcasing research
-- 4'×3' conference poster (print-ready)
-- 12-minute presentation video
-- Processing time: ~45 minutes (without talking-head)
-
----
-
-### Example 2: Quick Website for Preprint
-
-**Scenario**: Creating an explorable homepage for a bioRxiv preprint.
-
-**User Request**: "Convert my genomics preprint to an interactive website to accompany the bioRxiv submission."
-
-**Workflow**:
-
-```bash
-# Using PDF input (LaTeX not available)
-python pipeline_all.py \
- --input-dir papers/genomics_preprint/ \
- --output-dir output/genomics_web/ \
- --model-choice 1 \
- --generate-website
-
-# Deploy to GitHub Pages or personal server
-cd output/genomics_web/website/
-# Add link to bioRxiv paper, data repositories, code
-# Upload to hosting service
-```
-
-**Tips**:
-- Include links to bioRxiv DOI
-- Add GitHub repository links
-- Include data availability section
-- Embed interactive visualizations if possible
-
----
-
-### Example 3: Video Abstract for Journal Submission
-
-**Scenario**: Creating a video abstract for a journal that encourages multimedia submissions.
-
-**User Request**: "Generate a 5-minute video abstract for my Nature Communications submission."
-
-**Workflow**:
-
-```bash
-# Generate concise video focusing on key findings
-python pipeline_light.py \
- --model_name_t gpt-4.1 \
- --model_name_v gpt-4.1 \
- --result_dir output/video_abstract/ \
- --paper_latex_root papers/nature_comms/ \
- --video-duration 300 \
- --slides-per-minute 3
-
-# Optional: Add custom intro/outro slides
-# Optional: Include talking-head for introduction
-```
-
-**Output**:
-- 5-minute video abstract
-- Focus on visual results
-- Clear, accessible narration
-- Journal-ready format
-
----
-
-### Example 4: Multi-Paper Website Generation
-
-**Scenario**: Creating websites for multiple papers from a research group.
-
-**User Request**: "Generate websites for all 5 papers our lab published this year."
-
-**Workflow**:
-
-```bash
-# Organize papers
-mkdir -p batch_input/
-# Create subdirectories: paper1/, paper2/, paper3/, paper4/, paper5/
-# Each with their LaTeX sources
-
-# Batch process
-python pipeline_all.py \
- --input-dir batch_input/ \
- --output-dir batch_output/ \
- --model-choice 1 \
- --generate-website \
- --enable-logo-search
-
-# Creates:
-# batch_output/paper1/website/
-# batch_output/paper2/website/
-# batch_output/paper3/website/
-# batch_output/paper4/website/
-# batch_output/paper5/website/
-```
-
-**Best Practice**:
-- Use consistent naming conventions
-- Process overnight for large batches
-- Review each website for accuracy
-- Deploy to unified lab website
-
----
-
-### Example 5: Poster for Virtual Conference
-
-**Scenario**: Creating a digital poster for a virtual conference with interactive elements.
-
-**User Request**: "Create a poster for the virtual ISMB conference with clickable links to code and data."
-
-**Workflow**:
-
-```bash
-# Generate poster with QR codes and links
-python pipeline_all.py \
- --input-dir papers/ismb_submission/ \
- --output-dir output/ismb_poster/ \
- --model-choice 1 \
- --generate-poster \
- --poster-width-inches 48 \
- --poster-height-inches 36 \
- --enable-qr-codes
-
-# Manually add QR codes to:
-# - GitHub repository
-# - Interactive results dashboard
-# - Supplementary data
-# - Video presentation
-```
-
-**Digital Enhancements**:
-- PDF with embedded hyperlinks
-- High-resolution PNG for virtual platform
-- Separate PDF with video links for download
-
----
-
-### Example 6: Promotional Video Clip
-
-**Scenario**: Creating a short promotional video for social media.
-
-**User Request**: "Generate a 2-minute highlight video of our Cell paper for Twitter."
-
-**Workflow**:
-
-```bash
-# Generate short, engaging video
-python pipeline_light.py \
- --model_name_t gpt-4.1 \
- --model_name_v gpt-4.1 \
- --result_dir output/promo_video/ \
- --paper_latex_root papers/cell_paper/ \
- --video-duration 120 \
- --presentation-style public
-
-# Post-process:
-# - Extract key 30-second clip for Twitter
-# - Add captions for sound-off viewing
-# - Optimize file size for social media
-```
-
-**Social Media Optimization**:
-- Square format (1:1) for Instagram
-- Horizontal format (16:9) for Twitter/LinkedIn
-- Vertical format (9:16) for TikTok/Stories
-- Add text overlays for key findings
-
----
-
-## Common Use Case Patterns
-
-### Pattern 1: LaTeX Paper → Full Package
-
-**Input**: LaTeX source with all assets
-**Output**: Website + Poster + Video
-**Time**: 45-90 minutes
-**Best for**: Major publications, conference presentations
-
-```bash
-python pipeline_all.py \
- --input-dir [latex_dir] \
- --output-dir [output_dir] \
- --model-choice 1 \
- --generate-website \
- --generate-poster \
- --generate-video
-```
-
----
-
-### Pattern 2: PDF → Interactive Website
-
-**Input**: Published PDF paper
-**Output**: Explorable website
-**Time**: 15-30 minutes
-**Best for**: Post-publication promotion, preprint enhancement
-
-```bash
-python pipeline_all.py \
- --input-dir [pdf_dir] \
- --output-dir [output_dir] \
- --model-choice 1 \
- --generate-website
-```
-
----
-
-### Pattern 3: LaTeX → Conference Poster
-
-**Input**: LaTeX paper
-**Output**: Print-ready poster (custom size)
-**Time**: 10-20 minutes
-**Best for**: Conference poster sessions
-
-```bash
-python pipeline_all.py \
- --input-dir [latex_dir] \
- --output-dir [output_dir] \
- --model-choice 1 \
- --generate-poster \
- --poster-width-inches [width] \
- --poster-height-inches [height]
-```
-
----
-
-### Pattern 4: LaTeX → Presentation Video
-
-**Input**: LaTeX paper
-**Output**: Narrated presentation video
-**Time**: 20-60 minutes (without talking-head)
-**Best for**: Video abstracts, online presentations, course materials
-
-```bash
-python pipeline_light.py \
- --model_name_t gpt-4.1 \
- --model_name_v gpt-4.1 \
- --result_dir [output_dir] \
- --paper_latex_root [latex_dir]
-```
-
----
-
-## Platform-Specific Outputs
-
-### Twitter/X Promotional Content
-
-The system auto-detects Twitter targeting for numeric folder names:
-
-```bash
-# Create Twitter-optimized content
-mkdir -p input/001_twitter_post/
-# System generates English promotional content
-```
-
-**Generated Output**:
-- Short, engaging summary
-- Key figure highlights
-- Hashtag recommendations
-- Thread-ready format
-
----
-
-### Xiaohongshu (小红书) Content
-
-For Chinese social media, use alphanumeric folder names:
-
-```bash
-# Create Xiaohongshu-optimized content
-mkdir -p input/xhs_genomics/
-# System generates Chinese promotional content
-```
-
-**Generated Output**:
-- Chinese language content
-- Platform-appropriate formatting
-- Visual-first presentation
-- Engagement optimizations
-
----
-
-## Troubleshooting Common Scenarios
-
-### Scenario: Large Paper (>50 pages)
-
-**Challenge**: Processing time and content selection
-**Solution**:
-```bash
-# Option 1: Focus on key sections
-# Edit LaTeX to comment out less critical sections
-
-# Option 2: Process in parts
-# Generate website for overview
-# Generate separate detailed videos for methods/results
-
-# Option 3: Use faster model for initial pass
-# Review and regenerate critical components with better model
-```
-
----
-
-### Scenario: Complex Mathematical Content
-
-**Challenge**: Equations may not render perfectly
-**Solution**:
-- Use LaTeX input (not PDF) for best equation handling
-- Review generated content for equation accuracy
-- Manually adjust complex equations if needed
-- Consider using figure screenshots for critical equations
-
----
-
-### Scenario: Non-Standard Paper Structure
-
-**Challenge**: Paper doesn't follow standard IMRAD format
-**Solution**:
-- Provide custom section guidance in paper metadata
-- Review generated structure and adjust
-- Use more powerful model (GPT-4.1) for better adaptation
-- Consider manual section annotation in LaTeX comments
-
----
-
-### Scenario: Limited API Budget
-
-**Challenge**: Reducing costs while maintaining quality
-**Solution**:
-```bash
-# Use GPT-3.5-turbo for simple papers
-python pipeline_all.py \
- --input-dir [paper_dir] \
- --output-dir [output_dir] \
- --model-choice 3
-
-# Generate only needed components
-# Website-only (cheapest)
-# Poster-only (moderate)
-# Video without talking-head (moderate)
-```
-
----
-
-### Scenario: Tight Deadline
-
-**Challenge**: Need outputs quickly
-**Solution**:
-```bash
-# Parallel processing if multiple papers
-# Use faster models (GPT-3.5-turbo)
-# Generate only essential component first
-# Skip optional features (logo search, talking-head)
-
-python pipeline_light.py \
- --model_name_t gpt-3.5-turbo \
- --model_name_v gpt-3.5-turbo \
- --result_dir [output_dir] \
- --paper_latex_root [latex_dir]
-```
-
-**Priority Order**:
-1. Website (fastest, most versatile)
-2. Poster (moderate speed, print deadline)
-3. Video (slowest, can be generated later)
-
----
-
-## Quality Optimization Tips
-
-### For Best Website Results
-1. Use LaTeX input with all assets
-2. Include high-resolution figures
-3. Ensure paper has clear section structure
-4. Enable logo search for professional appearance
-5. Review and test all interactive elements
-
-### For Best Poster Results
-1. Provide high-resolution figures (300+ DPI)
-2. Specify exact poster dimensions needed
-3. Include institution branding information
-4. Use professional color scheme
-5. Test print small preview before full poster
-
-### For Best Video Results
-1. Use LaTeX for clearest content extraction
-2. Specify target duration appropriately
-3. Review script before video generation
-4. Choose appropriate presentation style
-5. Test audio quality and pacing
-
-### For Best Overall Results
-1. Start with clean, well-organized LaTeX source
-2. Use GPT-4 or GPT-4.1 for highest quality
-3. Review all outputs before finalizing
-4. Iterate on any component that needs adjustment
-5. Combine components for cohesive presentation package
diff --git a/scientific-skills/plotly/SKILL.md b/scientific-skills/plotly/SKILL.md
deleted file mode 100644
index 6aaa8db9..00000000
--- a/scientific-skills/plotly/SKILL.md
+++ /dev/null
@@ -1,265 +0,0 @@
----
-name: plotly
-description: Interactive visualization library. Use when you need hover info, zoom, pan, or web-embeddable charts. Best for dashboards, exploratory analysis, and presentations. For static publication figures use matplotlib or scientific-visualization.
-license: MIT license
-metadata:
- skill-author: K-Dense Inc.
----
-
-# Plotly
-
-Python graphing library for creating interactive, publication-quality visualizations with 40+ chart types.
-
-## Quick Start
-
-Install Plotly:
-```bash
-uv pip install plotly
-```
-
-Basic usage with Plotly Express (high-level API):
-```python
-import plotly.express as px
-import pandas as pd
-
-df = pd.DataFrame({
- 'x': [1, 2, 3, 4],
- 'y': [10, 11, 12, 13]
-})
-
-fig = px.scatter(df, x='x', y='y', title='My First Plot')
-fig.show()
-```
-
-## Choosing Between APIs
-
-### Use Plotly Express (px)
-For quick, standard visualizations with sensible defaults:
-- Working with pandas DataFrames
-- Creating common chart types (scatter, line, bar, histogram, etc.)
-- Need automatic color encoding and legends
-- Want minimal code (1-5 lines)
-
-See [reference/plotly-express.md](reference/plotly-express.md) for complete guide.
-
-### Use Graph Objects (go)
-For fine-grained control and custom visualizations:
-- Chart types not in Plotly Express (3D mesh, isosurface, complex financial charts)
-- Building complex multi-trace figures from scratch
-- Need precise control over individual components
-- Creating specialized visualizations with custom shapes and annotations
-
-See [reference/graph-objects.md](reference/graph-objects.md) for complete guide.
-
-**Note:** Plotly Express returns graph objects Figure, so you can combine approaches:
-```python
-fig = px.scatter(df, x='x', y='y')
-fig.update_layout(title='Custom Title') # Use go methods on px figure
-fig.add_hline(y=10) # Add shapes
-```
-
-## Core Capabilities
-
-### 1. Chart Types
-
-Plotly supports 40+ chart types organized into categories:
-
-**Basic Charts:** scatter, line, bar, pie, area, bubble
-
-**Statistical Charts:** histogram, box plot, violin, distribution, error bars
-
-**Scientific Charts:** heatmap, contour, ternary, image display
-
-**Financial Charts:** candlestick, OHLC, waterfall, funnel, time series
-
-**Maps:** scatter maps, choropleth, density maps (geographic visualization)
-
-**3D Charts:** scatter3d, surface, mesh, cone, volume
-
-**Specialized:** sunburst, treemap, sankey, parallel coordinates, gauge
-
-For detailed examples and usage of all chart types, see [reference/chart-types.md](reference/chart-types.md).
-
-### 2. Layouts and Styling
-
-**Subplots:** Create multi-plot figures with shared axes:
-```python
-from plotly.subplots import make_subplots
-import plotly.graph_objects as go
-
-fig = make_subplots(rows=2, cols=2, subplot_titles=('A', 'B', 'C', 'D'))
-fig.add_trace(go.Scatter(x=[1, 2], y=[3, 4]), row=1, col=1)
-```
-
-**Templates:** Apply coordinated styling:
-```python
-fig = px.scatter(df, x='x', y='y', template='plotly_dark')
-# Built-in: plotly_white, plotly_dark, ggplot2, seaborn, simple_white
-```
-
-**Customization:** Control every aspect of appearance:
-- Colors (discrete sequences, continuous scales)
-- Fonts and text
-- Axes (ranges, ticks, grids)
-- Legends
-- Margins and sizing
-- Annotations and shapes
-
-For complete layout and styling options, see [reference/layouts-styling.md](reference/layouts-styling.md).
-
-### 3. Interactivity
-
-Built-in interactive features:
-- Hover tooltips with customizable data
-- Pan and zoom
-- Legend toggling
-- Box/lasso selection
-- Rangesliders for time series
-- Buttons and dropdowns
-- Animations
-
-```python
-# Custom hover template
-fig.update_traces(
- hovertemplate='<b>%{x}</b><br>Value: %{y:.2f}<extra></extra>'
-)
-
-# Add rangeslider
-fig.update_xaxes(rangeslider_visible=True)
-
-# Animations
-fig = px.scatter(df, x='x', y='y', animation_frame='year')
-```
-
-For complete interactivity guide, see [reference/export-interactivity.md](reference/export-interactivity.md).
-
-### 4. Export Options
-
-**Interactive HTML:**
-```python
-fig.write_html('chart.html') # Full standalone
-fig.write_html('chart.html', include_plotlyjs='cdn') # Smaller file
-```
-
-**Static Images (requires kaleido):**
-```bash
-uv pip install kaleido
-```
-
-```python
-fig.write_image('chart.png') # PNG
-fig.write_image('chart.pdf') # PDF
-fig.write_image('chart.svg') # SVG
-```
-
-For complete export options, see [reference/export-interactivity.md](reference/export-interactivity.md).
-
-## Common Workflows
-
-### Scientific Data Visualization
-
-```python
-import plotly.express as px
-
-# Scatter plot with trendline
-fig = px.scatter(df, x='temperature', y='yield', trendline='ols')
-
-# Heatmap from matrix
-fig = px.imshow(correlation_matrix, text_auto=True, color_continuous_scale='RdBu')
-
-# 3D surface plot
-import plotly.graph_objects as go
-fig = go.Figure(data=[go.Surface(z=z_data, x=x_data, y=y_data)])
-```
-
-### Statistical Analysis
-
-```python
-# Distribution comparison
-fig = px.histogram(df, x='values', color='group', marginal='box', nbins=30)
-
-# Box plot with all points
-fig = px.box(df, x='category', y='value', points='all')
-
-# Violin plot
-fig = px.violin(df, x='group', y='measurement', box=True)
-```
-
-### Time Series and Financial
-
-```python
-# Time series with rangeslider
-fig = px.line(df, x='date', y='price')
-fig.update_xaxes(rangeslider_visible=True)
-
-# Candlestick chart
-import plotly.graph_objects as go
-fig = go.Figure(data=[go.Candlestick(
- x=df['date'],
- open=df['open'],
- high=df['high'],
- low=df['low'],
- close=df['close']
-)])
-```
-
-### Multi-Plot Dashboards
-
-```python
-from plotly.subplots import make_subplots
-import plotly.graph_objects as go
-
-fig = make_subplots(
- rows=2, cols=2,
- subplot_titles=('Scatter', 'Bar', 'Histogram', 'Box'),
- specs=[[{'type': 'scatter'}, {'type': 'bar'}],
- [{'type': 'histogram'}, {'type': 'box'}]]
-)
-
-fig.add_trace(go.Scatter(x=[1, 2, 3], y=[4, 5, 6]), row=1, col=1)
-fig.add_trace(go.Bar(x=['A', 'B'], y=[1, 2]), row=1, col=2)
-fig.add_trace(go.Histogram(x=data), row=2, col=1)
-fig.add_trace(go.Box(y=data), row=2, col=2)
-
-fig.update_layout(height=800, showlegend=False)
-```
-
-## Integration with Dash
-
-For interactive web applications, use Dash (Plotly's web app framework):
-
-```bash
-uv pip install dash
-```
-
-```python
-import dash
-from dash import dcc, html
-import plotly.express as px
-
-app = dash.Dash(__name__)
-
-fig = px.scatter(df, x='x', y='y')
-
-app.layout = html.Div([
- html.H1('Dashboard'),
- dcc.Graph(figure=fig)
-])
-
-app.run_server(debug=True)
-```
-
-## Reference Files
-
-- **[plotly-express.md](reference/plotly-express.md)** - High-level API for quick visualizations
-- **[graph-objects.md](reference/graph-objects.md)** - Low-level API for fine-grained control
-- **[chart-types.md](reference/chart-types.md)** - Complete catalog of 40+ chart types with examples
-- **[layouts-styling.md](reference/layouts-styling.md)** - Subplots, templates, colors, customization
-- **[export-interactivity.md](reference/export-interactivity.md)** - Export options and interactive features
-
-## Additional Resources
-
-- Official documentation: https://plotly.com/python/
-- API reference: https://plotly.com/python-api-reference/
-- Community forum: https://community.plotly.com/
-
diff --git a/scientific-skills/plotly/references/chart-types.md b/scientific-skills/plotly/references/chart-types.md
deleted file mode 100644
index f4cdc252..00000000
--- a/scientific-skills/plotly/references/chart-types.md
+++ /dev/null
@@ -1,488 +0,0 @@
-# Plotly Chart Types
-
-Comprehensive guide to chart types organized by category.
-
-## Basic Charts
-
-### Scatter Plots
-
-```python
-import plotly.express as px
-fig = px.scatter(df, x='x', y='y', color='category', size='size')
-
-# With trendlines
-fig = px.scatter(df, x='x', y='y', trendline='ols')
-```
-
-### Line Charts
-
-```python
-fig = px.line(df, x='date', y='value', color='group')
-
-# Multiple lines from wide-form data
-fig = px.line(df, x='date', y=['metric1', 'metric2', 'metric3'])
-```
-
-### Bar Charts
-
-```python
-# Vertical bars
-fig = px.bar(df, x='category', y='value', color='group')
-
-# Horizontal bars
-fig = px.bar(df, x='value', y='category', orientation='h')
-
-# Stacked bars
-fig = px.bar(df, x='category', y='value', color='group', barmode='stack')
-
-# Grouped bars
-fig = px.bar(df, x='category', y='value', color='group', barmode='group')
-```
-
-### Pie Charts
-
-```python
-fig = px.pie(df, names='category', values='count')
-
-# Donut chart
-fig = px.pie(df, names='category', values='count', hole=0.4)
-```
-
-### Area Charts
-
-```python
-fig = px.area(df, x='date', y='value', color='category')
-```
-
-## Statistical Charts
-
-### Histograms
-
-```python
-# Basic histogram
-fig = px.histogram(df, x='values', nbins=30)
-
-# With marginal plot
-fig = px.histogram(df, x='values', marginal='box') # or 'violin', 'rug'
-
-# 2D histogram
-fig = px.density_heatmap(df, x='x', y='y', nbinsx=20, nbinsy=20)
-```
-
-### Box Plots
-
-```python
-fig = px.box(df, x='category', y='value', color='group')
-
-# Notched box plot
-fig = px.box(df, x='category', y='value', notched=True)
-
-# Show all points
-fig = px.box(df, x='category', y='value', points='all')
-```
-
-### Violin Plots
-
-```python
-fig = px.violin(df, x='category', y='value', color='group', box=True, points='all')
-```
-
-### Strip/Dot Plots
-
-```python
-fig = px.strip(df, x='category', y='value', color='group')
-```
-
-### Distribution Plots
-
-```python
-# Empirical cumulative distribution
-fig = px.ecdf(df, x='value', color='group')
-
-# Marginal distribution
-fig = px.scatter(df, x='x', y='y', marginal_x='histogram', marginal_y='box')
-```
-
-### Error Bars
-
-```python
-fig = px.scatter(df, x='x', y='y', error_y='error', error_x='x_error')
-
-# Using graph_objects for custom error bars
-import plotly.graph_objects as go
-fig = go.Figure()
-fig.add_trace(go.Scatter(
- x=[1, 2, 3],
- y=[5, 10, 15],
- error_y=dict(
- type='data',
- array=[1, 2, 3],
- visible=True
- )
-))
-```
-
-## Scientific Charts
-
-### Heatmaps
-
-```python
-# From matrix data
-fig = px.imshow(z_matrix, color_continuous_scale='Viridis')
-
-# With graph_objects
-fig = go.Figure(data=go.Heatmap(
- z=z_matrix,
- x=x_labels,
- y=y_labels,
- colorscale='RdBu'
-))
-```
-
-### Contour Plots
-
-```python
-# 2D contour
-fig = px.density_contour(df, x='x', y='y')
-
-# Filled contour
-fig = go.Figure(data=go.Contour(
- z=z_matrix,
- contours=dict(
- coloring='heatmap',
- showlabels=True
- )
-))
-```
-
-### Ternary Plots
-
-```python
-fig = px.scatter_ternary(df, a='component_a', b='component_b', c='component_c')
-```
-
-### Log Scales
-
-```python
-fig = px.scatter(df, x='x', y='y', log_x=True, log_y=True)
-```
-
-### Image Display
-
-```python
-import plotly.express as px
-fig = px.imshow(img_array) # img_array from PIL, numpy, etc.
-```
-
-## Financial Charts
-
-### Candlestick Charts
-
-```python
-import plotly.graph_objects as go
-fig = go.Figure(data=[go.Candlestick(
- x=df['date'],
- open=df['open'],
- high=df['high'],
- low=df['low'],
- close=df['close']
-)])
-```
-
-### OHLC Charts
-
-```python
-fig = go.Figure(data=[go.Ohlc(
- x=df['date'],
- open=df['open'],
- high=df['high'],
- low=df['low'],
- close=df['close']
-)])
-```
-
-### Waterfall Charts
-
-```python
-fig = go.Figure(go.Waterfall(
- x=categories,
- y=values,
- measure=['relative', 'relative', 'total', 'relative', 'total']
-))
-```
-
-### Funnel Charts
-
-```python
-fig = px.funnel(df, x='count', y='stage')
-
-# Or with graph_objects
-fig = go.Figure(go.Funnel(
- y=['Stage 1', 'Stage 2', 'Stage 3'],
- x=[100, 60, 40]
-))
-```
-
-### Time Series
-
-```python
-fig = px.line(df, x='date', y='price')
-
-# With rangeslider
-fig.update_xaxes(rangeslider_visible=True)
-
-# With range selector buttons
-fig.update_xaxes(
- rangeselector=dict(
- buttons=list([
- dict(count=1, label='1m', step='month', stepmode='backward'),
- dict(count=6, label='6m', step='month', stepmode='backward'),
- dict(count=1, label='YTD', step='year', stepmode='todate'),
- dict(count=1, label='1y', step='year', stepmode='backward'),
- dict(step='all')
- ])
- )
-)
-```
-
-## Maps and Geographic
-
-### Scatter Maps
-
-```python
-# Geographic projection
-fig = px.scatter_geo(df, lat='lat', lon='lon', color='value', size='size')
-
-# Mapbox (requires token for some styles)
-fig = px.scatter_mapbox(
- df, lat='lat', lon='lon',
- color='value',
- zoom=10,
- mapbox_style='open-street-map' # or 'carto-positron', 'carto-darkmatter'
-)
-```
-
-### Choropleth Maps
-
-```python
-# Country-level
-fig = px.choropleth(
- df,
- locations='iso_alpha',
- color='value',
- hover_name='country',
- color_continuous_scale='Viridis'
-)
-
-# US States
-fig = px.choropleth(
- df,
- locations='state_code',
- locationmode='USA-states',
- color='value',
- scope='usa'
-)
-```
-
-### Density Maps
-
-```python
-fig = px.density_mapbox(
- df, lat='lat', lon='lon', z='value',
- radius=10,
- zoom=10,
- mapbox_style='open-street-map'
-)
-```
-
-## 3D Charts
-
-### 3D Scatter
-
-```python
-fig = px.scatter_3d(df, x='x', y='y', z='z', color='category', size='size')
-```
-
-### 3D Line
-
-```python
-fig = px.line_3d(df, x='x', y='y', z='z', color='group')
-```
-
-### 3D Surface
-
-```python
-import plotly.graph_objects as go
-fig = go.Figure(data=[go.Surface(z=z_matrix, x=x_array, y=y_array)])
-
-fig.update_layout(scene=dict(
- xaxis_title='X',
- yaxis_title='Y',
- zaxis_title='Z'
-))
-```
-
-### 3D Mesh
-
-```python
-fig = go.Figure(data=[go.Mesh3d(
- x=x_coords,
- y=y_coords,
- z=z_coords,
- i=i_indices,
- j=j_indices,
- k=k_indices,
- intensity=intensity_values,
- colorscale='Viridis'
-)]
-```
-
-### 3D Cone (Vector Field)
-
-```python
-fig = go.Figure(data=go.Cone(
- x=x, y=y, z=z,
- u=u, v=v, w=w,
- colorscale='Blues',
- sizemode='absolute',
- sizeref=0.5
-))
-```
-
-## Hierarchical Charts
-
-### Sunburst
-
-```python
-fig = px.sunburst(
- df,
- path=['continent', 'country', 'city'],
- values='population',
- color='value'
-)
-```
-
-### Treemap
-
-```python
-fig = px.treemap(
- df,
- path=['category', 'subcategory', 'item'],
- values='count',
- color='value',
- color_continuous_scale='RdBu'
-)
-```
-
-### Sankey Diagram
-
-```python
-fig = go.Figure(data=[go.Sankey(
- node=dict(
- pad=15,
- thickness=20,
- line=dict(color='black', width=0.5),
- label=['A', 'B', 'C', 'D', 'E'],
- color='blue'
- ),
- link=dict(
- source=[0, 1, 0, 2, 3],
- target=[2, 3, 3, 4, 4],
- value=[8, 4, 2, 8, 4]
- )
-)])
-```
-
-## Specialized Charts
-
-### Parallel Coordinates
-
-```python
-fig = px.parallel_coordinates(
- df,
- dimensions=['dim1', 'dim2', 'dim3', 'dim4'],
- color='target',
- color_continuous_scale='Viridis'
-)
-```
-
-### Parallel Categories
-
-```python
-fig = px.parallel_categories(
- df,
- dimensions=['cat1', 'cat2', 'cat3'],
- color='value'
-)
-```
-
-### Scatter Matrix (SPLOM)
-
-```python
-fig = px.scatter_matrix(
- df,
- dimensions=['col1', 'col2', 'col3', 'col4'],
- color='category'
-)
-```
-
-### Indicator/Gauge
-
-```python
-fig = go.Figure(go.Indicator(
- mode='gauge+number+delta',
- value=75,
- delta={'reference': 60},
- gauge={'axis': {'range': [None, 100]},
- 'bar': {'color': 'darkblue'},
- 'steps': [
- {'range': [0, 50], 'color': 'lightgray'},
- {'range': [50, 100], 'color': 'gray'}
- ],
- 'threshold': {'line': {'color': 'red', 'width': 4},
- 'thickness': 0.75,
- 'value': 90}
- }
-))
-```
-
-### Table
-
-```python
-fig = go.Figure(data=[go.Table(
- header=dict(values=['A', 'B', 'C']),
- cells=dict(values=[col_a, col_b, col_c])
-)])
-```
-
-## Bioinformatics
-
-### Dendrogram
-
-```python
-from plotly.figure_factory import create_dendrogram
-fig = create_dendrogram(data_matrix)
-```
-
-### Annotated Heatmap
-
-```python
-from plotly.figure_factory import create_annotated_heatmap
-fig = create_annotated_heatmap(z_matrix, x=x_labels, y=y_labels)
-```
-
-### Volcano Plot
-
-```python
-# Typically built with scatter plot
-fig = px.scatter(
- df,
- x='log2_fold_change',
- y='neg_log10_pvalue',
- color='significant',
- hover_data=['gene_name']
-)
-fig.add_hline(y=-np.log10(0.05), line_dash='dash')
-fig.add_vline(x=-1, line_dash='dash')
-fig.add_vline(x=1, line_dash='dash')
-```
diff --git a/scientific-skills/plotly/references/export-interactivity.md b/scientific-skills/plotly/references/export-interactivity.md
deleted file mode 100644
index 27bbfd62..00000000
--- a/scientific-skills/plotly/references/export-interactivity.md
+++ /dev/null
@@ -1,453 +0,0 @@
-# Export and Interactivity
-
-## Static Image Export
-
-### Installation
-
-Static image export requires Kaleido:
-
-```bash
-uv pip install kaleido
-```
-
-Kaleido v1+ requires Chrome/Chromium on your system.
-
-### Supported Formats
-
-- **Raster**: PNG, JPEG, WebP
-- **Vector**: SVG, PDF
-
-### Writing to File
-
-```python
-import plotly.express as px
-
-fig = px.scatter(df, x='x', y='y')
-
-# Format inferred from extension
-fig.write_image('chart.png')
-fig.write_image('chart.pdf')
-fig.write_image('chart.svg')
-
-# Explicit format
-fig.write_image('chart', format='png')
-```
-
-### Converting to Bytes
-
-```python
-# Get image as bytes
-img_bytes = fig.to_image(format='png')
-
-# Display in Jupyter
-from IPython.display import Image
-Image(img_bytes)
-
-# Save to file manually
-with open('chart.png', 'wb') as f:
- f.write(img_bytes)
-```
-
-### Customizing Export
-
-```python
-fig.write_image(
- 'chart.png',
- format='png',
- width=1200,
- height=800,
- scale=2 # Higher resolution
-)
-```
-
-### Setting Export Defaults
-
-```python
-import plotly.io as pio
-
-pio.kaleido.scope.default_format = 'png'
-pio.kaleido.scope.default_width = 800
-pio.kaleido.scope.default_height = 600
-pio.kaleido.scope.default_scale = 2
-```
-
-### Exporting Multiple Figures
-
-```python
-import plotly.io as pio
-
-# Kaleido v1+ only
-pio.write_images(
- fig=[fig1, fig2, fig3],
- file=['chart1.png', 'chart2.png', 'chart3.png']
-)
-```
-
-## Interactive HTML Export
-
-### Basic Export
-
-```python
-# Full standalone HTML
-fig.write_html('interactive_chart.html')
-
-# Open in browser
-fig.show()
-```
-
-### File Size Control
-
-```python
-# Full library embedded (~5MB file)
-fig.write_html('chart.html', include_plotlyjs=True)
-
-# CDN reference (~2KB file, requires internet)
-fig.write_html('chart.html', include_plotlyjs='cdn')
-
-# Local reference (requires plotly.min.js in same directory)
-fig.write_html('chart.html', include_plotlyjs='directory')
-
-# No library (for embedding in existing HTML with Plotly.js)
-fig.write_html('chart.html', include_plotlyjs=False)
-```
-
-### HTML Configuration
-
-```python
-fig.write_html(
- 'chart.html',
- config={
- 'displayModeBar': True,
- 'displaylogo': False,
- 'toImageButtonOptions': {
- 'format': 'png',
- 'filename': 'custom_image',
- 'height': 800,
- 'width': 1200,
- 'scale': 2
- }
- }
-)
-```
-
-### Embedding in Templates
-
-```python
-# Get only the div (no full HTML structure)
-html_div = fig.to_html(
- full_html=False,
- include_plotlyjs='cdn',
- div_id='my-plot'
-)
-
-# Use in Jinja2 template
-template = """
-<html>
-<body>
- <h1>My Dashboard</h1>
- {{ plot_div | safe }}
-</body>
-</html>
-"""
-```
-
-## Interactivity Features
-
-### Built-in Interactions
-
-Plotly figures automatically support:
-
-- **Hover tooltips** - Display data on hover
-- **Pan and zoom** - Click and drag to pan, scroll to zoom
-- **Box/lasso select** - Select multiple points
-- **Legend toggling** - Click to hide/show traces
-- **Double-click** - Reset axes
-
-### Hover Customization
-
-```python
-# Hover mode
-fig.update_layout(
- hovermode='closest' # 'x', 'y', 'closest', 'x unified', False
-)
-
-# Custom hover template
-fig.update_traces(
- hovertemplate='<b>%{x}</b><br>' +
- 'Value: %{y:.2f}<br>' +
- 'Extra: %{customdata[0]}<br>' +
- '<extra></extra>'
-)
-
-# Hover data in Plotly Express
-fig = px.scatter(
- df, x='x', y='y',
- hover_data={
- 'extra_col': True, # Show column
- 'x': ':.2f', # Format column
- 'hidden': False # Hide column
- },
- hover_name='name_column' # Bold title
-)
-```
-
-### Click Events (Dash/FigureWidget)
-
-For web applications, use Dash or FigureWidget for click handling:
-
-```python
-# With FigureWidget in Jupyter
-import plotly.graph_objects as go
-
-fig = go.FigureWidget(data=[go.Scatter(x=[1, 2, 3], y=[4, 5, 6])])
-
-def on_click(trace, points, selector):
- print(f'Clicked on points: {points.point_inds}')
-
-fig.data[0].on_click(on_click)
-fig
-```
-
-### Zoom and Pan
-
-```python
-# Disable zoom/pan
-fig.update_xaxes(fixedrange=True)
-fig.update_yaxes(fixedrange=True)
-
-# Set initial zoom
-fig.update_xaxes(range=[0, 10])
-fig.update_yaxes(range=[0, 100])
-
-# Constrain zoom
-fig.update_xaxes(
- range=[0, 10],
- constrain='domain'
-)
-```
-
-### Rangeslider (Time Series)
-
-```python
-fig = px.line(df, x='date', y='value')
-
-# Add rangeslider
-fig.update_xaxes(rangeslider_visible=True)
-
-# Customize rangeslider
-fig.update_xaxes(
- rangeslider=dict(
- visible=True,
- thickness=0.05,
- bgcolor='lightgray'
- )
-)
-```
-
-### Range Selector Buttons
-
-```python
-fig.update_xaxes(
- rangeselector=dict(
- buttons=list([
- dict(count=1, label='1m', step='month', stepmode='backward'),
- dict(count=6, label='6m', step='month', stepmode='backward'),
- dict(count=1, label='YTD', step='year', stepmode='todate'),
- dict(count=1, label='1y', step='year', stepmode='backward'),
- dict(step='all', label='All')
- ]),
- x=0.0,
- y=1.0,
- xanchor='left',
- yanchor='top'
- )
-)
-```
-
-### Buttons and Dropdowns
-
-```python
-fig.update_layout(
- updatemenus=[
- dict(
- type='buttons',
- direction='left',
- buttons=list([
- dict(
- args=[{'type': 'scatter'}],
- label='Scatter',
- method='restyle'
- ),
- dict(
- args=[{'type': 'bar'}],
- label='Bar',
- method='restyle'
- )
- ]),
- x=0.1,
- y=1.15
- )
- ]
-)
-```
-
-### Sliders
-
-```python
-fig.update_layout(
- sliders=[
- dict(
- active=0,
- steps=[
- dict(
- method='update',
- args=[{'visible': [True, False]},
- {'title': 'Dataset 1'}],
- label='Dataset 1'
- ),
- dict(
- method='update',
- args=[{'visible': [False, True]},
- {'title': 'Dataset 2'}],
- label='Dataset 2'
- )
- ],
- x=0.1,
- y=0,
- len=0.9
- )
- ]
-)
-```
-
-## Animations
-
-### Using Plotly Express
-
-```python
-fig = px.scatter(
- df, x='gdp', y='life_exp',
- animation_frame='year', # Animate over this column
- animation_group='country', # Group animated elements
- size='population',
- color='continent',
- hover_name='country',
- log_x=True,
- range_x=[100, 100000],
- range_y=[25, 90]
-)
-
-# Customize animation speed
-fig.layout.updatemenus[0].buttons[0].args[1]['frame']['duration'] = 1000
-fig.layout.updatemenus[0].buttons[0].args[1]['transition']['duration'] = 500
-```
-
-### Using Graph Objects
-
-```python
-import plotly.graph_objects as go
-
-fig = go.Figure(
- data=[go.Scatter(x=[1, 2], y=[1, 2])],
- layout=go.Layout(
- updatemenus=[dict(
- type='buttons',
- buttons=[dict(label='Play',
- method='animate',
- args=[None])]
- )]
- ),
- frames=[
- go.Frame(data=[go.Scatter(x=[1, 2], y=[1, 2])]),
- go.Frame(data=[go.Scatter(x=[1, 2], y=[2, 3])]),
- go.Frame(data=[go.Scatter(x=[1, 2], y=[3, 4])])
- ]
-)
-```
-
-## Displaying Figures
-
-### In Jupyter
-
-```python
-# Default renderer
-fig.show()
-
-# Specific renderer
-fig.show(renderer='notebook') # or 'jupyterlab', 'colab', 'kaggle'
-```
-
-### In Web Browser
-
-```python
-fig.show() # Opens in default browser
-```
-
-### In Dash Applications
-
-```python
-import dash
-from dash import dcc, html
-import plotly.express as px
-
-app = dash.Dash(__name__)
-
-fig = px.scatter(df, x='x', y='y')
-
-app.layout = html.Div([
- dcc.Graph(figure=fig)
-])
-
-app.run_server(debug=True)
-```
-
-### Saving and Loading
-
-```python
-# Save as JSON
-fig.write_json('figure.json')
-
-# Load from JSON
-import plotly.io as pio
-fig = pio.read_json('figure.json')
-
-# Save as HTML
-fig.write_html('figure.html')
-```
-
-## Configuration Options
-
-### Display Config
-
-```python
-config = {
- 'displayModeBar': True, # Show toolbar
- 'displaylogo': False, # Hide Plotly logo
- 'modeBarButtonsToRemove': ['pan2d', 'lasso2d'], # Remove buttons
- 'toImageButtonOptions': {
- 'format': 'png',
- 'filename': 'custom_image',
- 'height': 500,
- 'width': 700,
- 'scale': 1
- },
- 'scrollZoom': True, # Enable scroll zoom
- 'editable': True, # Enable editing
- 'responsive': True # Responsive sizing
-}
-
-fig.show(config=config)
-fig.write_html('chart.html', config=config)
-```
-
-### Available Config Options
-
-- `displayModeBar`: Show/hide toolbar ('hover', True, False)
-- `displaylogo`: Show Plotly logo
-- `modeBarButtonsToRemove`: List of buttons to hide
-- `modeBarButtonsToAdd`: Custom buttons
-- `scrollZoom`: Enable scroll to zoom
-- `doubleClick`: Double-click behavior ('reset', 'autosize', 'reset+autosize', False)
-- `showAxisDragHandles`: Show axis drag handles
-- `editable`: Allow editing
-- `responsive`: Responsive sizing
diff --git a/scientific-skills/plotly/references/graph-objects.md b/scientific-skills/plotly/references/graph-objects.md
deleted file mode 100644
index 5f2cbd90..00000000
--- a/scientific-skills/plotly/references/graph-objects.md
+++ /dev/null
@@ -1,302 +0,0 @@
-# Graph Objects - Low-Level API
-
-The `plotly.graph_objects` module provides fine-grained control over figure construction through Python classes representing Plotly components.
-
-## Core Classes
-
-- **`go.Figure`** - Main figure container
-- **`go.FigureWidget`** - Jupyter-compatible interactive widget
-- **Trace types** - 40+ chart types (Scatter, Bar, Heatmap, etc.)
-- **Layout components** - Axes, annotations, shapes, etc.
-
-## Key Advantages
-
-1. **Data validation** - Helpful error messages for invalid properties
-2. **Built-in documentation** - Accessible via docstrings
-3. **Flexible syntax** - Dictionary or attribute access
-4. **Convenience methods** - `.add_trace()`, `.update_layout()`, etc.
-5. **Magic underscore notation** - Compact nested property access
-6. **Integrated I/O** - `.show()`, `.write_html()`, `.write_image()`
-
-## Basic Figure Construction
-
-### Creating Empty Figure
-
-```python
-import plotly.graph_objects as go
-
-fig = go.Figure()
-```
-
-### Adding Traces
-
-```python
-# Method 1: Add traces one at a time
-fig = go.Figure()
-fig.add_trace(go.Scatter(x=[1, 2, 3], y=[4, 5, 6], name='Line 1'))
-fig.add_trace(go.Scatter(x=[1, 2, 3], y=[2, 3, 4], name='Line 2'))
-
-# Method 2: Pass data to constructor
-fig = go.Figure(data=[
- go.Scatter(x=[1, 2, 3], y=[4, 5, 6], name='Line 1'),
- go.Scatter(x=[1, 2, 3], y=[2, 3, 4], name='Line 2')
-])
-```
-
-## Common Trace Types
-
-### Scatter (Lines and Markers)
-
-```python
-fig.add_trace(go.Scatter(
- x=[1, 2, 3, 4],
- y=[10, 11, 12, 13],
- mode='lines+markers', # 'lines', 'markers', 'lines+markers', 'text'
- name='Trace 1',
- line=dict(color='red', width=2, dash='dash'),
- marker=dict(size=10, color='blue', symbol='circle')
-))
-```
-
-### Bar
-
-```python
-fig.add_trace(go.Bar(
- x=['A', 'B', 'C'],
- y=[1, 3, 2],
- name='Bar Chart',
- marker=dict(color='lightblue'),
- text=[1, 3, 2],
- textposition='auto'
-))
-```
-
-### Heatmap
-
-```python
-fig.add_trace(go.Heatmap(
- z=[[1, 2, 3], [4, 5, 6], [7, 8, 9]],
- x=['A', 'B', 'C'],
- y=['X', 'Y', 'Z'],
- colorscale='Viridis'
-))
-```
-
-### 3D Scatter
-
-```python
-fig.add_trace(go.Scatter3d(
- x=[1, 2, 3],
- y=[4, 5, 6],
- z=[7, 8, 9],
- mode='markers',
- marker=dict(size=5, color='red')
-))
-```
-
-## Layout Configuration
-
-### Update Layout
-
-```python
-fig.update_layout(
- title='Figure Title',
- title_font_size=20,
- xaxis_title='X Axis',
- yaxis_title='Y Axis',
- width=800,
- height=600,
- template='plotly_white',
- showlegend=True,
- hovermode='closest' # 'x', 'y', 'closest', 'x unified', False
-)
-```
-
-### Magic Underscore Notation
-
-Compact way to set nested properties:
-
-```python
-# Instead of:
-fig.update_layout(title=dict(text='Title', font=dict(size=20)))
-
-# Use underscores:
-fig.update_layout(
- title_text='Title',
- title_font_size=20
-)
-```
-
-### Axis Configuration
-
-```python
-fig.update_xaxes(
- title='X Axis',
- range=[0, 10],
- showgrid=True,
- gridwidth=1,
- gridcolor='lightgray',
- type='log', # 'linear', 'log', 'date', 'category'
- tickformat='.2f',
- dtick=1 # Tick spacing
-)
-
-fig.update_yaxes(
- title='Y Axis',
- zeroline=True,
- zerolinewidth=2,
- zerolinecolor='black'
-)
-```
-
-## Updating Traces
-
-```python
-# Update all traces
-fig.update_traces(
- marker=dict(size=10, opacity=0.7)
-)
-
-# Update specific trace
-fig.update_traces(
- marker=dict(color='red'),
- selector=dict(name='Line 1')
-)
-
-# Update by position
-fig.data[0].marker.size = 15
-```
-
-## Adding Annotations
-
-```python
-fig.add_annotation(
- x=2, y=5,
- text='Important Point',
- showarrow=True,
- arrowhead=2,
- arrowsize=1,
- arrowwidth=2,
- arrowcolor='red',
- ax=40, # Arrow x offset
- ay=-40 # Arrow y offset
-)
-```
-
-## Adding Shapes
-
-```python
-# Rectangle
-fig.add_shape(
- type='rect',
- x0=1, y0=2, x1=3, y1=4,
- line=dict(color='red', width=2),
- fillcolor='lightblue',
- opacity=0.3
-)
-
-# Line
-fig.add_shape(
- type='line',
- x0=0, y0=0, x1=5, y1=5,
- line=dict(color='green', width=2, dash='dash')
-)
-
-# Convenience methods for horizontal/vertical lines
-fig.add_hline(y=5, line_dash='dash', line_color='red')
-fig.add_vline(x=3, line_dash='dot', line_color='blue')
-```
-
-## Figure Structure
-
-Figures follow a tree hierarchy:
-
-```python
-fig = go.Figure(data=[trace1, trace2], layout=go.Layout(...))
-
-# Access via dictionary syntax
-fig['layout']['title'] = 'New Title'
-fig['data'][0]['marker']['color'] = 'red'
-
-# Or attribute syntax
-fig.layout.title = 'New Title'
-fig.data[0].marker.color = 'red'
-```
-
-## Complex Chart Types
-
-### Candlestick
-
-```python
-fig.add_trace(go.Candlestick(
- x=df['date'],
- open=df['open'],
- high=df['high'],
- low=df['low'],
- close=df['close'],
- name='Stock Price'
-))
-```
-
-### Sankey Diagram
-
-```python
-fig = go.Figure(data=[go.Sankey(
- node=dict(
- label=['A', 'B', 'C', 'D'],
- color='blue'
- ),
- link=dict(
- source=[0, 1, 0, 2],
- target=[2, 3, 3, 3],
- value=[8, 4, 2, 8]
- )
-)])
-```
-
-### Surface (3D)
-
-```python
-fig = go.Figure(data=[go.Surface(
- z=z_data, # 2D array
- x=x_data,
- y=y_data,
- colorscale='Viridis'
-)])
-```
-
-## Working with DataFrames
-
-Build traces from pandas DataFrames:
-
-```python
-import pandas as pd
-
-df = pd.DataFrame({
- 'x': [1, 2, 3, 4],
- 'y': [10, 11, 12, 13]
-})
-
-fig = go.Figure()
-for group_name, group_df in df.groupby('category'):
- fig.add_trace(go.Scatter(
- x=group_df['x'],
- y=group_df['y'],
- name=group_name,
- mode='lines+markers'
- ))
-```
-
-## When to Use Graph Objects
-
-Use graph_objects when:
-- Creating chart types not available in Plotly Express
-- Building complex multi-trace figures from scratch
-- Need precise control over individual components
-- Creating specialized visualizations (3D mesh, isosurface, custom shapes)
-- Building subplots with mixed chart types
-
-Use Plotly Express when:
-- Creating standard charts quickly
-- Working with tidy DataFrame data
-- Want automatic styling and legends
diff --git a/scientific-skills/plotly/references/layouts-styling.md b/scientific-skills/plotly/references/layouts-styling.md
deleted file mode 100644
index 9c03b25e..00000000
--- a/scientific-skills/plotly/references/layouts-styling.md
+++ /dev/null
@@ -1,457 +0,0 @@
-# Layouts, Styling, and Customization
-
-## Subplots
-
-### Creating Subplots
-
-```python
-from plotly.subplots import make_subplots
-import plotly.graph_objects as go
-
-# Basic grid
-fig = make_subplots(rows=2, cols=2)
-
-# Add traces to specific positions
-fig.add_trace(go.Scatter(x=[1, 2, 3], y=[4, 5, 6]), row=1, col=1)
-fig.add_trace(go.Bar(x=['A', 'B', 'C'], y=[1, 3, 2]), row=1, col=2)
-fig.add_trace(go.Scatter(x=[1, 2, 3], y=[2, 3, 4]), row=2, col=1)
-```
-
-### Subplot Options
-
-```python
-fig = make_subplots(
- rows=2, cols=2,
-
- # Titles
- subplot_titles=('Plot 1', 'Plot 2', 'Plot 3', 'Plot 4'),
-
- # Custom dimensions
- column_widths=[0.7, 0.3],
- row_heights=[0.4, 0.6],
-
- # Spacing
- horizontal_spacing=0.1,
- vertical_spacing=0.15,
-
- # Shared axes
- shared_xaxes=True, # or 'columns', 'rows', 'all'
- shared_yaxes=False,
-
- # Trace types (optional, for mixed types)
- specs=[[{'type': 'scatter'}, {'type': 'bar'}],
- [{'type': 'surface'}, {'type': 'table'}]]
-)
-```
-
-### Mixed Subplot Types
-
-```python
-from plotly.subplots import make_subplots
-import plotly.graph_objects as go
-
-# 2D and 3D subplots
-fig = make_subplots(
- rows=1, cols=2,
- specs=[[{'type': 'scatter'}, {'type': 'scatter3d'}]]
-)
-
-fig.add_trace(go.Scatter(x=[1, 2], y=[3, 4]), row=1, col=1)
-fig.add_trace(go.Scatter3d(x=[1, 2], y=[3, 4], z=[5, 6]), row=1, col=2)
-```
-
-### Customizing Subplot Axes
-
-```python
-# Update specific subplot axes
-fig.update_xaxes(title_text='X Label', row=1, col=1)
-fig.update_yaxes(title_text='Y Label', range=[0, 100], row=2, col=1)
-
-# Update all x-axes
-fig.update_xaxes(showgrid=True, gridcolor='lightgray')
-```
-
-### Shared Colorscale
-
-```python
-fig = make_subplots(rows=1, cols=2)
-fig.add_trace(go.Bar(x=['A', 'B'], y=[1, 2],
- marker=dict(color=[1, 2], coloraxis='coloraxis')),
- row=1, col=1)
-fig.add_trace(go.Bar(x=['C', 'D'], y=[3, 4],
- marker=dict(color=[3, 4], coloraxis='coloraxis')),
- row=1, col=2)
-
-fig.update_layout(coloraxis=dict(colorscale='Viridis'))
-```
-
-## Templates and Themes
-
-### Built-in Templates
-
-```python
-import plotly.express as px
-import plotly.io as pio
-
-# Available templates
-templates = [
- 'plotly', # Default
- 'plotly_white', # White background
- 'plotly_dark', # Dark theme
- 'ggplot2', # ggplot2 style
- 'seaborn', # Seaborn style
- 'simple_white', # Minimal white
- 'presentation', # For presentations
- 'xgridoff', # No x grid
- 'ygridoff', # No y grid
- 'gridon', # Grid on
- 'none' # No styling
-]
-
-# Use in Plotly Express
-fig = px.scatter(df, x='x', y='y', template='plotly_dark')
-
-# Use in graph_objects
-fig.update_layout(template='seaborn')
-
-# Set default template for session
-pio.templates.default = 'plotly_white'
-```
-
-### Custom Templates
-
-```python
-import plotly.graph_objects as go
-import plotly.io as pio
-
-# Create custom template
-custom_template = go.layout.Template(
- layout=go.Layout(
- font=dict(family='Arial', size=14),
- plot_bgcolor='#f0f0f0',
- paper_bgcolor='white',
- colorway=['#1f77b4', '#ff7f0e', '#2ca02c'],
- title_font_size=20
- )
-)
-
-# Register template
-pio.templates['custom'] = custom_template
-
-# Use it
-fig = px.scatter(df, x='x', y='y', template='custom')
-```
-
-## Styling with Plotly Express
-
-### Built-in Arguments
-
-```python
-fig = px.scatter(
- df, x='x', y='y',
-
- # Dimensions
- width=800,
- height=600,
-
- # Title
- title='Figure Title',
-
- # Labels
- labels={'x': 'X Axis Label', 'y': 'Y Axis Label'},
-
- # Colors
- color='category',
- color_discrete_sequence=px.colors.qualitative.Set2,
- color_discrete_map={'A': 'red', 'B': 'blue'},
- color_continuous_scale='Viridis',
-
- # Ordering
- category_orders={'category': ['A', 'B', 'C']},
-
- # Template
- template='plotly_white'
-)
-```
-
-### Setting Defaults
-
-```python
-import plotly.express as px
-
-# Session-wide defaults
-px.defaults.template = 'plotly_white'
-px.defaults.width = 800
-px.defaults.height = 600
-px.defaults.color_continuous_scale = 'Viridis'
-```
-
-## Color Scales
-
-### Discrete Colors
-
-```python
-import plotly.express as px
-
-# Named color sequences
-color_sequences = [
- px.colors.qualitative.Plotly,
- px.colors.qualitative.D3,
- px.colors.qualitative.G10,
- px.colors.qualitative.Set1,
- px.colors.qualitative.Pastel,
- px.colors.qualitative.Dark2,
-]
-
-fig = px.scatter(df, x='x', y='y', color='category',
- color_discrete_sequence=px.colors.qualitative.Set2)
-```
-
-### Continuous Colors
-
-```python
-# Named continuous scales
-continuous_scales = [
- 'Viridis', 'Plasma', 'Inferno', 'Magma', 'Cividis', # Perceptually uniform
- 'Blues', 'Greens', 'Reds', 'YlOrRd', 'YlGnBu', # Sequential
- 'RdBu', 'RdYlGn', 'Spectral', 'Picnic', # Diverging
-]
-
-fig = px.scatter(df, x='x', y='y', color='value',
- color_continuous_scale='Viridis')
-
-# Reverse scale
-fig = px.scatter(df, x='x', y='y', color='value',
- color_continuous_scale='Viridis_r')
-
-# Custom scale
-fig = px.scatter(df, x='x', y='y', color='value',
- color_continuous_scale=['blue', 'white', 'red'])
-```
-
-### Colorbar Customization
-
-```python
-fig.update_coloraxes(
- colorbar=dict(
- title='Value',
- tickmode='linear',
- tick0=0,
- dtick=10,
- len=0.7, # Length relative to plot
- thickness=20,
- x=1.02 # Position
- )
-)
-```
-
-## Layout Customization
-
-### Title and Fonts
-
-```python
-fig.update_layout(
- title=dict(
- text='Main Title',
- font=dict(size=24, family='Arial', color='darkblue'),
- x=0.5, # Center title
- xanchor='center'
- ),
-
- font=dict(
- family='Arial',
- size=14,
- color='black'
- )
-)
-```
-
-### Margins and Size
-
-```python
-fig.update_layout(
- width=1000,
- height=600,
-
- margin=dict(
- l=50, # left
- r=50, # right
- t=100, # top
- b=50, # bottom
- pad=10 # padding
- ),
-
- autosize=True # Auto-resize to container
-)
-```
-
-### Background Colors
-
-```python
-fig.update_layout(
- plot_bgcolor='#f0f0f0', # Plot area
- paper_bgcolor='white' # Figure background
-)
-```
-
-### Legend
-
-```python
-fig.update_layout(
- showlegend=True,
-
- legend=dict(
- title='Legend Title',
- orientation='h', # 'h' or 'v'
- x=0.5, # Position
- y=-0.2,
- xanchor='center',
- yanchor='top',
- bgcolor='rgba(255, 255, 255, 0.8)',
- bordercolor='black',
- borderwidth=1,
- font=dict(size=12)
- )
-)
-```
-
-### Axes
-
-```python
-fig.update_xaxes(
- title='X Axis Title',
- title_font=dict(size=16, family='Arial'),
-
- # Range
- range=[0, 10],
- autorange=True, # Auto range
-
- # Grid
- showgrid=True,
- gridwidth=1,
- gridcolor='lightgray',
-
- # Ticks
- showticklabels=True,
- tickmode='linear',
- tick0=0,
- dtick=1,
- tickformat='.2f',
- tickangle=-45,
-
- # Zero line
- zeroline=True,
- zerolinewidth=2,
- zerolinecolor='black',
-
- # Scale
- type='linear', # 'linear', 'log', 'date', 'category'
-)
-
-fig.update_yaxes(
- title='Y Axis Title',
- # ... same options as xaxes
-)
-```
-
-### Hover Behavior
-
-```python
-fig.update_layout(
- hovermode='closest', # 'x', 'y', 'closest', 'x unified', False
-)
-
-# Customize hover template
-fig.update_traces(
- hovertemplate='<b>%{x}</b><br>Value: %{y:.2f}<extra></extra>'
-)
-```
-
-### Annotations
-
-```python
-fig.add_annotation(
- text='Important Note',
- x=2,
- y=5,
- showarrow=True,
- arrowhead=2,
- arrowsize=1,
- arrowwidth=2,
- arrowcolor='red',
- ax=40, # Arrow x offset
- ay=-40, # Arrow y offset
- font=dict(size=14, color='black'),
- bgcolor='yellow',
- opacity=0.8
-)
-```
-
-### Shapes
-
-```python
-# Rectangle
-fig.add_shape(
- type='rect',
- x0=1, y0=2, x1=3, y1=4,
- line=dict(color='red', width=2),
- fillcolor='lightblue',
- opacity=0.3
-)
-
-# Circle
-fig.add_shape(
- type='circle',
- x0=0, y0=0, x1=1, y1=1,
- line_color='purple'
-)
-
-# Convenience methods
-fig.add_hline(y=5, line_dash='dash', line_color='red',
- annotation_text='Threshold')
-fig.add_vline(x=3, line_dash='dot')
-fig.add_vrect(x0=1, x1=2, fillcolor='green', opacity=0.2)
-fig.add_hrect(y0=4, y1=6, fillcolor='red', opacity=0.2)
-```
-
-## Update Methods
-
-### Update Layout
-
-```python
-fig.update_layout(
- title='New Title',
- xaxis_title='X',
- yaxis_title='Y'
-)
-```
-
-### Update Traces
-
-```python
-# Update all traces
-fig.update_traces(marker=dict(size=10, opacity=0.7))
-
-# Update with selector
-fig.update_traces(
- marker=dict(color='red'),
- selector=dict(mode='markers', name='Series 1')
-)
-```
-
-### Update Axes
-
-```python
-fig.update_xaxes(showgrid=True, gridcolor='lightgray')
-fig.update_yaxes(type='log')
-```
-
-## Responsive Design
-
-```python
-# Auto-resize to container
-fig.update_layout(autosize=True)
-
-# Responsive in HTML
-fig.write_html('plot.html', config={'responsive': True})
-```
diff --git a/scientific-skills/plotly/references/plotly-express.md b/scientific-skills/plotly/references/plotly-express.md
deleted file mode 100644
index bc700196..00000000
--- a/scientific-skills/plotly/references/plotly-express.md
+++ /dev/null
@@ -1,213 +0,0 @@
-# Plotly Express - High-Level API
-
-Plotly Express (px) is a high-level interface for creating data visualizations with minimal code (typically 1-5 lines).
-
-## Installation
-
-```bash
-uv pip install plotly
-```
-
-## Key Advantages
-
-- Concise syntax for common chart types
-- Automatic color encoding and legends
-- Works seamlessly with pandas DataFrames
-- Smart defaults for layout and styling
-- Returns graph_objects.Figure for further customization
-
-## Basic Usage Pattern
-
-```python
-import plotly.express as px
-import pandas as pd
-
-# Most functions follow this pattern
-fig = px.chart_type(
- data_frame=df,
- x="column_x",
- y="column_y",
- color="category_column", # Auto-color by category
- size="size_column", # Size by values
- title="Chart Title"
-)
-fig.show()
-```
-
-## 40+ Chart Types
-
-### Basic Charts
-- `px.scatter()` - Scatter plots with optional trendlines
-- `px.line()` - Line charts for time series
-- `px.bar()` - Bar charts (vertical/horizontal)
-- `px.area()` - Area charts
-- `px.pie()` - Pie charts
-
-### Statistical Charts
-- `px.histogram()` - Histograms with automatic binning
-- `px.box()` - Box plots for distributions
-- `px.violin()` - Violin plots
-- `px.strip()` - Strip plots
-- `px.ecdf()` - Empirical cumulative distribution
-
-### Maps
-- `px.scatter_geo()` - Geographic scatter plots
-- `px.choropleth()` - Choropleth maps
-- `px.scatter_mapbox()` - Mapbox scatter plots
-- `px.density_mapbox()` - Density heatmaps on maps
-
-### Specialized
-- `px.sunburst()` - Hierarchical sunburst charts
-- `px.treemap()` - Treemap visualizations
-- `px.funnel()` - Funnel charts
-- `px.parallel_coordinates()` - Parallel coordinates
-- `px.scatter_matrix()` - Scatter matrix (SPLOM)
-- `px.density_heatmap()` - 2D density heatmaps
-- `px.density_contour()` - Density contours
-
-### 3D Charts
-- `px.scatter_3d()` - 3D scatter plots
-- `px.line_3d()` - 3D line plots
-
-## Common Parameters
-
-All Plotly Express functions support these styling parameters:
-
-```python
-fig = px.scatter(
- df, x="x", y="y",
- # Dimensions
- width=800,
- height=600,
-
- # Labels
- title="Figure Title",
- labels={"x": "X Axis", "y": "Y Axis"},
-
- # Colors
- color="category",
- color_discrete_map={"A": "red", "B": "blue"},
- color_continuous_scale="Viridis",
-
- # Ordering
- category_orders={"category": ["A", "B", "C"]},
-
- # Theming
- template="plotly_dark" # or "simple_white", "seaborn", "ggplot2"
-)
-```
-
-## Data Format
-
-Plotly Express works with:
-- **Long-form data** (tidy): One row per observation
-- **Wide-form data**: Multiple columns as separate traces
-
-```python
-# Long-form (preferred)
-df_long = pd.DataFrame({
- 'fruit': ['apple', 'orange', 'apple', 'orange'],
- 'contestant': ['A', 'A', 'B', 'B'],
- 'count': [1, 3, 2, 4]
-})
-fig = px.bar(df_long, x='fruit', y='count', color='contestant')
-
-# Wide-form
-df_wide = pd.DataFrame({
- 'fruit': ['apple', 'orange'],
- 'A': [1, 3],
- 'B': [2, 4]
-})
-fig = px.bar(df_wide, x='fruit', y=['A', 'B'])
-```
-
-## Trendlines
-
-Add statistical trendlines to scatter plots:
-
-```python
-fig = px.scatter(
- df, x="x", y="y",
- trendline="ols", # "ols", "lowess", "rolling", "ewm", "expanding"
- trendline_options=dict(log_x=True) # Additional options
-)
-```
-
-## Faceting (Subplots)
-
-Create faceted plots automatically:
-
-```python
-fig = px.scatter(
- df, x="x", y="y",
- facet_row="category_1", # Separate rows
- facet_col="category_2", # Separate columns
- facet_col_wrap=3 # Wrap columns
-)
-```
-
-## Animation
-
-Create animated visualizations:
-
-```python
-fig = px.scatter(
- df, x="gdp", y="life_exp",
- animation_frame="year", # Animate over this column
- animation_group="country", # Group animated elements
- size="population",
- color="continent",
- hover_name="country"
-)
-```
-
-## Hover Data
-
-Customize hover tooltips:
-
-```python
-fig = px.scatter(
- df, x="x", y="y",
- hover_data={
- "extra_col": True, # Add column
- "x": ":.2f", # Format existing
- "hidden_col": False # Hide column
- },
- hover_name="name_column" # Bold title in hover
-)
-```
-
-## Further Customization
-
-Plotly Express returns a `graph_objects.Figure` that can be further customized:
-
-```python
-fig = px.scatter(df, x="x", y="y")
-
-# Use graph_objects methods
-fig.update_layout(
- title="Custom Title",
- xaxis_title="X Axis",
- font=dict(size=14)
-)
-
-fig.update_traces(
- marker=dict(size=10, opacity=0.7)
-)
-
-fig.add_hline(y=0, line_dash="dash")
-```
-
-## When to Use Plotly Express
-
-Use Plotly Express when:
-- Creating standard chart types quickly
-- Working with pandas DataFrames
-- Need automatic color/size encoding
-- Want sensible defaults with minimal code
-
-Use graph_objects when:
-- Building custom chart types not in px
-- Need fine-grained control over every element
-- Creating complex multi-trace figures
-- Building specialized visualizations