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.
Python agent-skillsai-scientistbioinformaticschemoinformaticsclaudeclaude-skillsclaudecodeclinical-researchcomputational-biologydata-analysisdrug-discoverygenomicsmaterials-sciencemetabolomicsproteomicsscientific-computingscientific-visualization
Update skills and documentation: Change AI models from Gemini 3.1 Pro to Gemini 3.6 Flash for improved quality review across various skills, including Generate Image, Infographics, and Clinical Decision Support. Bump version numbers in SKILL.md files to reflect updates.
Timothy Kassis831d49eb77ee
diff --git a/README.md b/README.mdindex b721638c..ea51d7c8 100644--- a/README.md+++ b/README.md@@ -522,7 +522,7 @@ This repository contains **148 scientific and research skills** organized across- Diagrams: Scientific Schematics, Markdown & Mermaid Writing- Infographics: Infographics (10 types, 8 styles, colorblind-safe palettes)- Citations: Citation Management, pyzotero-- Illustration: Generate Image (AI image generation with FLUX.2 Pro and Gemini 3 Pro (Nano Banana Pro))+- Illustration: Generate Image (AI image generation with FLUX.2 Pro and Gemini 3.6 Flash (Nano Banana Pro))#### 🔬 **Scientific Databases & Data Access** (6 skills → 100+ databases total)> A unified database-lookup skill provides deterministic REST API access to 78 public databases across all domains, with retrieval contracts, pagination/count reconciliation, and endpoint provenance. Dedicated skills cover specialized data platforms. Multi-database packages like BioServices (~40 bioinformatics services), BioPython (38 NCBI sub-databases via Entrez), and gget (20+ genomics databases) add further coverage.diff --git a/docs/skills.md b/docs/skills.mdindex b8c38adc..339aa436 100644--- a/docs/skills.md+++ b/docs/skills.md@@ -162,12 +162,12 @@- **BGPT Paper Search** - Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server. Returns 25+ fields per paper including methods, results, sample sizes, quality scores, and conclusions. Use for literature reviews, evidence synthesis, and finding experimental details not available in abstracts alone- **pyzotero** - Python client for the Zotero Web API v3. Programmatically manage Zotero reference libraries: retrieve, create, update, and delete items, collections, tags, and attachments. Export citations as BibTeX, CSL-JSON, and formatted bibliography HTML. Supports user and group libraries, local mode for offline access, paginated retrieval with `everything()`, full-text content indexing, saved search management, and file upload/download. Optional CLI and built-in MCP server (pyzotero 1.12+) for searching local Zotero 7 libraries including full-text PDF search and Semantic Scholar integration. Use cases: building research automation pipelines that integrate with Zotero, bulk importing references, exporting bibliographies programmatically, managing large reference collections, syncing library metadata, enriching bibliographic data, and connecting LLM agents to a local Zotero library.- **Citation Management** - Comprehensive citation management for academic research. Search Google Scholar and PubMed for papers, extract accurate metadata from multiple sources (CrossRef, PubMed, arXiv), validate citations, and generate properly formatted BibTeX entries. Features include converting DOIs, PMIDs, or arXiv IDs to BibTeX, cleaning and formatting bibliography files, finding highly cited papers, checking for duplicates, and ensuring consistent citation formatting. Use cases: building bibliographies for manuscripts, verifying citation accuracy, citation deduplication, and maintaining reference databases-- **Generate Image** - AI-powered image generation and editing for scientific illustrations, schematics, and visualizations using OpenRouter's image generation models. Supports multiple models including google/gemini-3-pro-image-preview (high quality, recommended default) and black-forest-labs/flux.2-pro (fast, high quality). Key features include: text-to-image generation from detailed prompts, image editing capabilities (modify existing images with natural language instructions), automatic base64 encoding/decoding, PNG output with configurable paths, and comprehensive error handling. Requires OpenRouter API key (via .env file or environment variable). Use cases: generating scientific diagrams and illustrations, creating publication-quality figures, editing existing images (changing colors, adding elements, removing backgrounds), producing schematics for papers and presentations, visualizing experimental setups, creating graphical abstracts, and generating conceptual illustrations for scientific communication-- **Infographics** - Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes+- **Generate Image** - AI-powered image generation and editing for scientific illustrations, schematics, and visualizations using OpenRouter's image generation models. Supports multiple models including google/gemini-3.6-flash (high quality, recommended default) and black-forest-labs/flux.2-pro (fast, high quality). Key features include: text-to-image generation from detailed prompts, image editing capabilities (modify existing images with natural language instructions), automatic base64 encoding/decoding, PNG output with configurable paths, and comprehensive error handling. Requires OpenRouter API key (via .env file or environment variable). Use cases: generating scientific diagrams and illustrations, creating publication-quality figures, editing existing images (changing colors, adding elements, removing backgrounds), producing schematics for papers and presentations, visualizing experimental setups, creating graphical abstracts, and generating conceptual illustrations for scientific communication+- **Infographics** - Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3.6 Flash for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes- **LaTeX Posters** - Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication with layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices. Features compliance with conference size requirements (A0, A1, 36×48"), complex multi-column layouts, and integration of figures, tables, equations, and citations. Use cases: conference poster sessions, thesis defenses, symposia presentations, and research group templates- **Market Research Reports** - Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix. Use cases: investment decisions, strategic planning, competitive landscape analysis, market sizing, and market entry evaluation- **PPTX Posters** - Create professional research posters using PowerPoint/HTML formats for researchers who prefer WYSIWYG tools over LaTeX. Features design principles, layout templates, quality checklists, and export guidance for poster sessions. Use cases: conference posters when LaTeX is not preferred, quick poster creation, and collaborative poster design-- **Scientific Schematics** - Create publication-quality scientific diagrams using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review with document-type-specific thresholds (journal: 8.5/10, conference: 8.0/10, poster: 7.0/10). Specializes in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations. Features natural language input, automatic quality assessment, and publication-ready output. Use cases: creating figures for papers, generating workflow diagrams, visualizing experimental designs, and producing graphical abstracts+- **Scientific Schematics** - Create publication-quality scientific diagrams using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3.6 Flash for quality review with document-type-specific thresholds (journal: 8.5/10, conference: 8.0/10, poster: 7.0/10). Specializes in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations. Features natural language input, automatic quality assessment, and publication-ready output. Use cases: creating figures for papers, generating workflow diagrams, visualizing experimental designs, and producing graphical abstracts- **Scientific Slides** - Build slide decks and presentations for research talks using PowerPoint and LaTeX Beamer. Features slide structure, design templates, timing guidance, and visual validation. Emphasizes visual engagement with minimal text, research-backed content with proper citations, and story-driven narrative. Use cases: conference presentations, academic seminars, thesis defenses, grant pitches, and professional talks- **Venue Templates** - Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). Provides ready-to-use templates and detailed specifications for successful academic submissions. Use cases: manuscript preparation, conference papers, research posters, and grant proposals with venue-specific formattingdiff --git a/skills/citation-management/SKILL.md b/skills/citation-management/SKILL.mdindex fbdb1f0d..b8b678ef 100644--- a/skills/citation-management/SKILL.md+++ b/skills/citation-management/SKILL.md@@ -4,7 +4,7 @@ description: Comprehensive citation management for academic research. Search Gooallowed-tools: Read Write Edit Bashlicense: MIT Licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for LLM-powered citation steps.", "required_for": "optional features"}, {"name": "NCBI_EMAIL", "prompt": "Email for NCBI Entrez identification.", "required_for": "optional features"}, {"name": "NCBI_API_KEY", "prompt": "NCBI API key to raise Entrez rate limits.", "required_for": "optional features"}]-metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for LLM-powered citation steps."}, {"name": "NCBI_EMAIL", "required": false, "description": "Email for NCBI Entrez identification."}, {"name": "NCBI_API_KEY", "required": false, "description": "NCBI API key to raise Entrez rate limits."}]}}+metadata: {"version": "1.3", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for LLM-powered citation steps."}, {"name": "NCBI_EMAIL", "required": false, "description": "Email for NCBI Entrez identification."}, {"name": "NCBI_API_KEY", "required": false, "description": "NCBI API key to raise Entrez rate limits."}]}}---# Citation Managementdiff --git a/skills/citation-management/scripts/generate_schematic.py b/skills/citation-management/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/citation-management/scripts/generate_schematic.py+++ b/skills/citation-management/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/citation-management/scripts/generate_schematic_ai.py b/skills/citation-management/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/citation-management/scripts/generate_schematic_ai.py+++ b/skills/citation-management/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/clinical-decision-support/SKILL.md b/skills/clinical-decision-support/SKILL.mdindex c51709ae..a323c584 100644--- a/skills/clinical-decision-support/SKILL.md+++ b/skills/clinical-decision-support/SKILL.md@@ -4,7 +4,7 @@ description: Generate professional clinical decision support (CDS) documents forallowed-tools: Read Write Edit Bashlicense: MIT Licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Clinical Decision Support Documentsdiff --git a/skills/clinical-decision-support/scripts/generate_schematic.py b/skills/clinical-decision-support/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/clinical-decision-support/scripts/generate_schematic.py+++ b/skills/clinical-decision-support/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/clinical-decision-support/scripts/generate_schematic_ai.py b/skills/clinical-decision-support/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/clinical-decision-support/scripts/generate_schematic_ai.py+++ b/skills/clinical-decision-support/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/clinical-reports/SKILL.md b/skills/clinical-reports/SKILL.mdindex 2f148839..6925a291 100644--- a/skills/clinical-reports/SKILL.md+++ b/skills/clinical-reports/SKILL.md@@ -4,7 +4,7 @@ description: Write comprehensive clinical reports including case reports (CARE gallowed-tools: Read Write Edit Bashlicense: MIT Licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Clinical Report Writingdiff --git a/skills/clinical-reports/scripts/generate_schematic.py b/skills/clinical-reports/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/clinical-reports/scripts/generate_schematic.py+++ b/skills/clinical-reports/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/clinical-reports/scripts/generate_schematic_ai.py b/skills/clinical-reports/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/clinical-reports/scripts/generate_schematic_ai.py+++ b/skills/clinical-reports/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/hypothesis-generation/SKILL.md b/skills/hypothesis-generation/SKILL.mdindex c13ca177..09c0bb22 100644--- a/skills/hypothesis-generation/SKILL.md+++ b/skills/hypothesis-generation/SKILL.md@@ -4,7 +4,7 @@ description: Structured hypothesis formulation from observations. Use when you hallowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Scientific Hypothesis Generationdiff --git a/skills/hypothesis-generation/scripts/generate_schematic.py b/skills/hypothesis-generation/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/hypothesis-generation/scripts/generate_schematic.py+++ b/skills/hypothesis-generation/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/hypothesis-generation/scripts/generate_schematic_ai.py b/skills/hypothesis-generation/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/hypothesis-generation/scripts/generate_schematic_ai.py+++ b/skills/hypothesis-generation/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/infographics/SKILL.md b/skills/infographics/SKILL.mdindex 5e15ff41..17c09edf 100644--- a/skills/infographics/SKILL.md+++ b/skills/infographics/SKILL.md@@ -1,22 +1,22 @@---name: infographics-description: "Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes."+description: "Create professional infographics using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3.6 Flash for quality review. Integrates research-lookup and web search for accurate data. Supports 10 infographic types, 8 industry styles, and colorblind-safe palettes."allowed-tools: Read Write Edit Bashrequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Infographics## Overview-Infographics are visual representations of information, data, or knowledge designed to present complex content quickly and clearly. **This skill uses Nano Banana Pro AI for infographic generation with Gemini 3 Pro quality review and Perplexity Sonar for research.**+Infographics are visual representations of information, data, or knowledge designed to present complex content quickly and clearly. **This skill uses Nano Banana Pro AI for infographic generation with Gemini 3.6 Flash quality review and Perplexity Sonar for research.****How it works:**- (Optional) **Research phase**: Gather accurate facts and statistics using Perplexity Sonar- Describe your infographic in natural language- Nano Banana Pro generates publication-quality infographics automatically-- **Gemini 3 Pro reviews quality** against document-type thresholds+- **Gemini 3.6 Flash reviews quality** against document-type thresholds- **Smart iteration**: Only regenerates if quality is below threshold- Professional-ready output in minutes- No design skills required@@ -68,7 +68,7 @@ python skills/infographics/scripts/generate_infographic.py \**What happens behind the scenes:**1. **(Optional) Research**: Perplexity Sonar gathers accurate facts, statistics, and data2. **Generation 1**: Nano Banana Pro creates initial infographic following design best practices-3. **Review 1**: **Gemini 3 Pro** evaluates quality against document-type threshold+3. **Review 1**: **Gemini 3.6 Flash** evaluates quality against document-type threshold4. **Decision**: If quality >= threshold → **DONE** (no more iterations needed!)5. **If below threshold**: Improved prompt based on critique, regenerate6. **Repeat**: Until quality meets threshold OR max iterations reached@@ -363,7 +363,7 @@ python skills/infographics/scripts/generate_infographic.py \┌─────────────────────────────────────────────────────┐│ 1. Generate infographic with Nano Banana Pro ││ ↓ │-│ 2. Review quality with Gemini 3 Pro │+│ 2. Review quality with Gemini 3.6 Flash ││ ↓ ││ 3. Score >= threshold? ││ YES → DONE! (early stop) │@@ -375,7 +375,7 @@ python skills/infographics/scripts/generate_infographic.py \### Quality Review Criteria-Gemini 3 Pro evaluates each infographic on:+Gemini 3.6 Flash evaluates each infographic on:1. **Visual Hierarchy & Layout** (0-2 points)- Clear visual hierarchydiff --git a/skills/infographics/scripts/generate_infographic.py b/skills/infographics/scripts/generate_infographic.pyindex 828bc318..ab26dcad 100755--- a/skills/infographics/scripts/generate_infographic.py+++ b/skills/infographics/scripts/generate_infographic.py@@ -3,8 +3,8 @@Generate professional infographics using Nano Banana Pro.This script generates infographics with smart iterative refinement:-- Uses Nano Banana Pro (Gemini 3 Pro Image Preview) for generation-- Uses Gemini 3 Pro for quality review+- Uses Nano Banana Pro (Gemini 3.6 Flash Image Preview) for generation+- Uses Gemini 3.6 Flash for quality review- Only regenerates if quality is below threshold- Supports 10 infographic types and industry style presets@@ -106,7 +106,7 @@ How it works:2. Describe your infographic in natural language3. Nano Banana Pro generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3 Pro+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Professional-quality outputdiff --git a/skills/infographics/scripts/generate_infographic_ai.py b/skills/infographics/scripts/generate_infographic_ai.pyindex 3c92b6a1..8790b4ca 100644--- a/skills/infographics/scripts/generate_infographic_ai.py+++ b/skills/infographics/scripts/generate_infographic_ai.py@@ -5,7 +5,7 @@ AI-powered infographic generation using Nano Banana Pro.This script uses a smart iterative refinement approach:1. (Optional) Research phase - gather facts and data using Perplexity Sonar2. Generate initial infographic with Nano Banana Pro-3. AI quality review using Gemini 3.1 Pro for infographic critique+3. AI quality review using Gemini 3.6 Flash for infographic critique4. Only regenerate if quality is below threshold for document type5. Repeat until quality meets standards (max iterations)@@ -249,7 +249,7 @@ PALETTE_PRESETS = {class InfographicGenerator:"""Generate infographics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated infographic doesn't meet thequality threshold for the target document type."""@@ -334,9 +334,9 @@ IMPORTANT - NO META CONTENT:self._last_error = Noneself.base_url = "https://openrouter.ai/api/v1"# Nano Banana Pro for image generation- self.image_model = "google/gemini-3-pro-image-preview"- # Gemini 3.1 Pro for quality review- self.review_model = "google/gemini-3.1-pro-preview"+ self.image_model = "google/gemini-3.6-flash"+ # Gemini 3.6 Flash for quality review+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -787,7 +787,7 @@ Incorporate specific numbers, percentages, and dates from the research."""iteration: int, doc_type: str = "default",max_iterations: int = 3) -> Tuple[str, Optional[float], bool]:"""- Review generated infographic using Gemini 3.1 Pro for quality analysis.+ Review generated infographic using Gemini 3.6 Flash for quality analysis.Evaluates the infographic on multiple criteria specific to goodinfographic design and determines if regeneration is needed.@@ -1117,8 +1117,8 @@ Generate an improved version that:f.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro- print(f"Reviewing with Gemini 3.1 Pro...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, infographic_type, i, doc_type, iterations)diff --git a/skills/latex-posters/SKILL.md b/skills/latex-posters/SKILL.mdindex 7706b3d9..943b4927 100644--- a/skills/latex-posters/SKILL.md+++ b/skills/latex-posters/SKILL.md@@ -3,7 +3,7 @@ name: latex-postersdescription: "Create professional research posters in LaTeX using beamerposter, tikzposter, or baposter. Support for conference presentations, academic posters, and scientific communication. Includes layout design, color schemes, multi-column formats, figure integration, and poster-specific best practices for visual communication."allowed-tools: Read Write Edit Bashrequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# LaTeX Research Postersdiff --git a/skills/latex-posters/scripts/generate_schematic.py b/skills/latex-posters/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/latex-posters/scripts/generate_schematic.py+++ b/skills/latex-posters/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/latex-posters/scripts/generate_schematic_ai.py b/skills/latex-posters/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/latex-posters/scripts/generate_schematic_ai.py+++ b/skills/latex-posters/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/literature-review/SKILL.md b/skills/literature-review/SKILL.mdindex f225605a..ad3912e0 100644--- a/skills/literature-review/SKILL.md+++ b/skills/literature-review/SKILL.md@@ -4,7 +4,7 @@ description: Conduct comprehensive, systematic literature reviews using multipleallowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.3", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Literature Reviewdiff --git a/skills/literature-review/scripts/generate_schematic.py b/skills/literature-review/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/literature-review/scripts/generate_schematic.py+++ b/skills/literature-review/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/literature-review/scripts/generate_schematic_ai.py b/skills/literature-review/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/literature-review/scripts/generate_schematic_ai.py+++ b/skills/literature-review/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/markitdown/SKILL.md b/skills/markitdown/SKILL.mdindex 830e9082..fcdf3bf9 100644--- a/skills/markitdown/SKILL.md+++ b/skills/markitdown/SKILL.md@@ -4,7 +4,7 @@ description: Convert files and office documents to Markdown. Supports PDF, DOCX,allowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# MarkItDown - File to Markdown Conversiondiff --git a/skills/markitdown/references/api_reference.md b/skills/markitdown/references/api_reference.mdindex bade33d6..77eab26a 100644--- a/skills/markitdown/references/api_reference.md+++ b/skills/markitdown/references/api_reference.md@@ -247,7 +247,7 @@ result = md.convert("presentation.pptx")Popular models with vision support:- `anthropic/claude-opus-4.5` - **Recommended for scientific vision**-- `google/gemini-3-pro-preview` - Gemini Pro Vision+- `google/gemini-3.6-flash` - Gemini Flash VisionSee https://openrouter.ai/models for the complete list.diff --git a/skills/markitdown/scripts/convert_with_ai.py b/skills/markitdown/scripts/convert_with_ai.pyindex 9eb84406..b2865f1a 100755--- a/skills/markitdown/scripts/convert_with_ai.py+++ b/skills/markitdown/scripts/convert_with_ai.py@@ -168,7 +168,7 @@ Environment Variables:Popular Models (use with --model):anthropic/claude-opus-4.5 - Recommended for scientific vision- google/gemini-3-pro-preview - Gemini Pro Vision+ google/gemini-3.6-flash - Gemini Flash Vision""")diff --git a/skills/markitdown/scripts/generate_schematic.py b/skills/markitdown/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/markitdown/scripts/generate_schematic.py+++ b/skills/markitdown/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/markitdown/scripts/generate_schematic_ai.py b/skills/markitdown/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/markitdown/scripts/generate_schematic_ai.py+++ b/skills/markitdown/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/peer-review/SKILL.md b/skills/peer-review/SKILL.mdindex 2d8c80ed..d468959d 100644--- a/skills/peer-review/SKILL.md+++ b/skills/peer-review/SKILL.md@@ -4,7 +4,7 @@ description: Structured manuscript/grant review with checklist-based evaluation.allowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.3", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Scientific Critical Evaluation and Peer Reviewdiff --git a/skills/peer-review/scripts/generate_schematic.py b/skills/peer-review/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/peer-review/scripts/generate_schematic.py+++ b/skills/peer-review/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/peer-review/scripts/generate_schematic_ai.py b/skills/peer-review/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/peer-review/scripts/generate_schematic_ai.py+++ b/skills/peer-review/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/pptx-posters/SKILL.md b/skills/pptx-posters/SKILL.mdindex 4b5a1656..f6ed5c5c 100644--- a/skills/pptx-posters/SKILL.md+++ b/skills/pptx-posters/SKILL.md@@ -4,7 +4,7 @@ description: Create research posters using HTML/CSS that can be exported to PDFallowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# PPTX Research Posters (HTML-Based)diff --git a/skills/pptx-posters/scripts/generate_schematic.py b/skills/pptx-posters/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/pptx-posters/scripts/generate_schematic.py+++ b/skills/pptx-posters/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/pptx-posters/scripts/generate_schematic_ai.py b/skills/pptx-posters/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/pptx-posters/scripts/generate_schematic_ai.py+++ b/skills/pptx-posters/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/scholar-evaluation/SKILL.md b/skills/scholar-evaluation/SKILL.mdindex 9d85511e..8111f00f 100644--- a/skills/scholar-evaluation/SKILL.md+++ b/skills/scholar-evaluation/SKILL.md@@ -3,7 +3,7 @@ name: scholar-evaluationdescription: Systematically evaluate scholarly work using the ScholarEval framework, providing structured assessment across research quality dimensions including problem formulation, methodology, analysis, and writing with quantitative scoring and actionable feedback.license: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Scholar Evaluationdiff --git a/skills/scholar-evaluation/scripts/generate_schematic.py b/skills/scholar-evaluation/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/scholar-evaluation/scripts/generate_schematic.py+++ b/skills/scholar-evaluation/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/scholar-evaluation/scripts/generate_schematic_ai.py b/skills/scholar-evaluation/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/scholar-evaluation/scripts/generate_schematic_ai.py+++ b/skills/scholar-evaluation/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/scientific-schematics/SKILL.md b/skills/scientific-schematics/SKILL.mdindex d630b9b3..66caf067 100644--- a/skills/scientific-schematics/SKILL.md+++ b/skills/scientific-schematics/SKILL.md@@ -1,22 +1,22 @@---name: scientific-schematics-description: Create publication-quality scientific diagrams using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.1 Pro Preview for quality review. Only regenerates if quality is below threshold for your document type. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations.+description: Create publication-quality scientific diagrams using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.6 Flash for quality review. Only regenerates if quality is below threshold for your document type. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations.allowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Scientific Schematics and Diagrams## Overview-Scientific schematics and diagrams transform complex concepts into clear visual representations for publication. **This skill uses Nano Banana 2 AI for diagram generation with Gemini 3.1 Pro Preview quality review.**+Scientific schematics and diagrams transform complex concepts into clear visual representations for publication. **This skill uses Nano Banana 2 AI for diagram generation with Gemini 3.6 Flash quality review.****How it works:**- Describe your diagram in natural language- Nano Banana 2 generates publication-quality images automatically-- **Gemini 3.1 Pro Preview reviews quality** against document-type thresholds+- **Gemini 3.6 Flash reviews quality** against document-type thresholds- **Smart iteration**: Only regenerates if quality is below threshold- Publication-ready output in minutes- No coding, templates, or manual drawing required@@ -56,7 +56,7 @@ python scripts/generate_schematic.py "Complex circuit diagram with op-amp, resis**What happens behind the scenes:**1. **Generation 1**: Nano Banana 2 creates initial image following scientific diagram best practices-2. **Review 1**: **Gemini 3.1 Pro Preview** evaluates quality against document-type threshold+2. **Review 1**: **Gemini 3.6 Flash** evaluates quality against document-type threshold3. **Decision**: If quality >= threshold → **DONE** (no more iterations needed!)4. **If below threshold**: Improved prompt based on critique, regenerate5. **Repeat**: Until quality meets threshold OR max iterations reached@@ -150,7 +150,7 @@ python scripts/generate_schematic.py "your diagram description" -o output.png----# AI Generation Mode (Nano Banana 2 + Gemini 3.1 Pro Preview Review)+# AI Generation Mode (Nano Banana 2 + Gemini 3.6 Flash Review)## Smart Iterative Refinement Workflow@@ -162,7 +162,7 @@ The AI generation system uses **smart iteration** - it only regenerates if quali┌─────────────────────────────────────────────────────┐│ 1. Generate image with Nano Banana 2 ││ ↓ │-│ 2. Review quality with Gemini 3.1 Pro Preview │+│ 2. Review quality with Gemini 3.6 Flash ││ ↓ ││ 3. Score >= threshold? ││ YES → DONE! (early stop) │@@ -180,9 +180,9 @@ Scientific diagram guidelines + User request**Output:** `diagram_v1.png`-### Quality Review by Gemini 3.1 Pro Preview+### Quality Review by Gemini 3.6 Flash-Gemini 3.1 Pro Preview evaluates the diagram on:+Gemini 3.6 Flash evaluates the diagram on:1. **Scientific Accuracy** (0-2 points) - Correct concepts, notation, relationships2. **Clarity and Readability** (0-2 points) - Easy to understand, clear hierarchy3. **Label Quality** (0-2 points) - Complete, readable, consistent labels@@ -219,10 +219,10 @@ VERDICT: ACCEPTABLE (for poster, threshold 7.0)### Subsequent Iterations (Only If Needed)If quality is below threshold, the system:-1. Extracts specific issues from Gemini 3.1 Pro Preview's review+1. Extracts specific issues from Gemini 3.6 Flash's review2. Enhances the prompt with improvement instructions3. Regenerates with Nano Banana 2-4. Reviews again with Gemini 3.1 Pro Preview+4. Reviews again with Gemini 3.6 Flash5. Repeats until threshold met or max iterations reached### Review Logdiff --git a/skills/scientific-schematics/scripts/generate_schematic.py b/skills/scientific-schematics/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/scientific-schematics/scripts/generate_schematic.py+++ b/skills/scientific-schematics/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/scientific-schematics/scripts/generate_schematic_ai.py b/skills/scientific-schematics/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/scientific-schematics/scripts/generate_schematic_ai.py+++ b/skills/scientific-schematics/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/scientific-slides/SKILL.md b/skills/scientific-slides/SKILL.mdindex 8b62dab1..ea5a0567 100644--- a/skills/scientific-slides/SKILL.md+++ b/skills/scientific-slides/SKILL.md@@ -4,7 +4,7 @@ description: Build slide decks and presentations for research talks. Use this foallowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Scientific Slidesdiff --git a/skills/scientific-slides/scripts/generate_schematic.py b/skills/scientific-slides/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/scientific-slides/scripts/generate_schematic.py+++ b/skills/scientific-slides/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/scientific-slides/scripts/generate_schematic_ai.py b/skills/scientific-slides/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/scientific-slides/scripts/generate_schematic_ai.py+++ b/skills/scientific-slides/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/scientific-slides/scripts/generate_slide_image.py b/skills/scientific-slides/scripts/generate_slide_image.pyindex 9bdf4ece..08f2aa9c 100644--- a/skills/scientific-slides/scripts/generate_slide_image.py+++ b/skills/scientific-slides/scripts/generate_slide_image.py@@ -39,7 +39,7 @@ How it works:Describe your slide or visual in natural language.Nano Banana Pro generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3 Pro+ - Quality review by Gemini 3.6 Flash- Publication-ready outputModes:diff --git a/skills/scientific-slides/scripts/generate_slide_image_ai.py b/skills/scientific-slides/scripts/generate_slide_image_ai.pyindex b6cbc88a..a1de2120 100644--- a/skills/scientific-slides/scripts/generate_slide_image_ai.py+++ b/skills/scientific-slides/scripts/generate_slide_image_ai.py@@ -10,7 +10,7 @@ Supports attaching reference images for context (e.g., "create a slide about thiUses smart iterative refinement:1. Generate initial image with Nano Banana Pro-2. Quality review using Gemini 3 Pro+2. Quality review using Gemini 3.6 Flash3. Only regenerate if quality is below threshold4. Repeat until quality meets standards (max iterations)@@ -171,9 +171,9 @@ STYLE:self._last_error = Noneself.base_url = "https://openrouter.ai/api/v1"# Nano Banana Pro for image generation- self.image_model = "google/gemini-3-pro-image-preview"- # Gemini 3 Pro for quality review- self.review_model = "google/gemini-3-pro"+ self.image_model = "google/gemini-3.6-flash"+ # Gemini 3.6 Flash for quality review+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -381,7 +381,7 @@ STYLE:def review_image(self, image_path: str, original_prompt: str,iteration: int, visual_only: bool = False,max_iterations: int = 2) -> Tuple[str, float, bool]:- """Review generated image using Gemini 3 Pro."""+ """Review generated image using Gemini 3.6 Flash."""image_data_url = self._image_to_base64(image_path)threshold = self.QUALITY_THRESHOLD@@ -597,7 +597,7 @@ Generate a high-quality {'visual/figure' if visual_only else 'presentation slidef.write(image_data)print(f"✓ Generated image (iteration {i})")- print(f"Reviewing image with Gemini 3 Pro...")+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(temp_path), user_prompt, i, visual_only, iterations)diff --git a/skills/scientific-writing/SKILL.md b/skills/scientific-writing/SKILL.mdindex 47ddf739..58ea4613 100644--- a/skills/scientific-writing/SKILL.md+++ b/skills/scientific-writing/SKILL.md@@ -4,7 +4,7 @@ description: Core skill for the deep research and writing tool. Write scientificallowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Scientific Writingdiff --git a/skills/scientific-writing/scripts/generate_schematic.py b/skills/scientific-writing/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/scientific-writing/scripts/generate_schematic.py+++ b/skills/scientific-writing/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/scientific-writing/scripts/generate_schematic_ai.py b/skills/scientific-writing/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/scientific-writing/scripts/generate_schematic_ai.py+++ b/skills/scientific-writing/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)diff --git a/skills/treatment-plans/SKILL.md b/skills/treatment-plans/SKILL.mdindex 892ddb3a..33286f28 100644--- a/skills/treatment-plans/SKILL.md+++ b/skills/treatment-plans/SKILL.md@@ -4,7 +4,7 @@ description: Generate concise (3-4 page), focused medical treatment plans in LaTallowed-tools: Read Write Edit Bashlicense: MIT licenserequired_environment_variables: [{"name": "OPENROUTER_API_KEY", "prompt": "OpenRouter API key for the skill's LLM-powered steps.", "required_for": "optional features"}]-metadata: {"version": "1.1", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}+metadata: {"version": "1.2", "skill-author": "K-Dense Inc.", "openclaw": {"primaryEnv": "OPENROUTER_API_KEY", "envVars": [{"name": "OPENROUTER_API_KEY", "required": false, "description": "OpenRouter API key for the skill's LLM-powered steps."}]}}---# Treatment Plan Writingdiff --git a/skills/treatment-plans/scripts/generate_schematic.py b/skills/treatment-plans/scripts/generate_schematic.pyindex 6843e0a1..43331870 100644--- a/skills/treatment-plans/scripts/generate_schematic.py+++ b/skills/treatment-plans/scripts/generate_schematic.py@@ -6,7 +6,7 @@ Generate any scientific diagram by describing it in natural language.Nano Banana 2 handles everything automatically with smart iterative refinement.Smart iteration: Only regenerates if quality is below threshold for your document type.-Quality review: Uses Gemini 3.1 Pro Preview for professional scientific evaluation.+Quality review: Uses Gemini 3.6 Flash for professional scientific evaluation.Usage:# Generate for journal paper (highest quality threshold)@@ -36,7 +36,7 @@ How it works:Simply describe your diagram in natural languageNano Banana 2 generates it automatically with:- Smart iteration (only regenerates if quality is below threshold)- - Quality review by Gemini 3.1 Pro Preview+ - Quality review by Gemini 3.6 Flash- Document-type aware quality thresholds- Publication-ready outputdiff --git a/skills/treatment-plans/scripts/generate_schematic_ai.py b/skills/treatment-plans/scripts/generate_schematic_ai.pyindex 52170753..651b6c76 100644--- a/skills/treatment-plans/scripts/generate_schematic_ai.py+++ b/skills/treatment-plans/scripts/generate_schematic_ai.py@@ -4,7 +4,7 @@ AI-powered scientific schematic generation using Nano Banana 2.This script uses a smart iterative refinement approach:1. Generate initial image with Nano Banana 2-2. AI quality review using Gemini 3.1 Pro Preview for scientific critique+2. AI quality review using Gemini 3.6 Flash for scientific critique3. Only regenerate if quality is below threshold for document type4. Repeat until quality meets standards (max iterations)@@ -52,7 +52,7 @@ def _load_env_file():class ScientificSchematicGenerator:"""Generate scientific schematics using AI with smart iterative refinement.- Uses Gemini 3.1 Pro Preview for quality review to determine if regeneration is needed.+ Uses Gemini 3.6 Flash for quality review to determine if regeneration is needed.Multiple passes only occur if the generated schematic doesn't meet thequality threshold for the target document type."""@@ -145,10 +145,10 @@ IMPORTANT - NO FIGURE NUMBERS:self._last_error = None # Track last error for better reportingself.base_url = "https://openrouter.ai/api/v1"# Nano Banana 2 - Google's advanced image generation model- # https://openrouter.ai/google/gemini-3-pro-image-preview+ # https://openrouter.ai/google/gemini-3.6-flashself.image_model = "google/gemini-3.1-flash-image-preview"- # Gemini 3.1 Pro Preview for quality review - excellent vision and reasoning- self.review_model = "google/gemini-3.1-pro-preview"+ # Gemini 3.6 Flash for quality review - excellent vision and reasoning+ self.review_model = "google/gemini-3.6-flash"def _log(self, message: str):"""Log message if verbose mode is enabled."""@@ -400,9 +400,9 @@ IMPORTANT - NO FIGURE NUMBERS:iteration: int, doc_type: str = "default",max_iterations: int = 2) -> Tuple[str, float, bool]:"""- Review generated image using Gemini 3.1 Pro Preview for quality analysis.+ Review generated image using Gemini 3.6 Flash for quality analysis.- Uses Gemini 3.1 Pro Preview's superior vision and reasoning capabilities to+ Uses Gemini 3.6 Flash's superior vision and reasoning capabilities toevaluate the schematic quality and determine if regeneration is needed.Args:@@ -415,7 +415,7 @@ IMPORTANT - NO FIGURE NUMBERS:Returns:Tuple of (critique text, quality score 0-10, needs_improvement bool)"""- # Use Gemini 3.1 Pro Preview for review - excellent vision and analysis+ # Use Gemini 3.6 Flash for review - excellent vision and analysisimage_data_url = self._image_to_base64(image_path)# Get quality threshold for this document type@@ -491,7 +491,7 @@ If score < {threshold}, mark as NEEDS_IMPROVEMENT with specific suggestions."""]try:- # Use Gemini 3.1 Pro Preview for high-quality review+ # Use Gemini 3.6 Flash for high-quality reviewresponse = self._make_request(model=self.review_model,messages=messages@@ -656,8 +656,8 @@ Generate a publication-quality scientific diagram that meets all the guidelinesf.write(image_data)print(f"✓ Saved: {iter_path}")- # Review image using Gemini 3.1 Pro Preview- print(f"Reviewing image with Gemini 3.1 Pro Preview...")+ # Review image using Gemini 3.6 Flash+ print(f"Reviewing image with Gemini 3.6 Flash...")critique, score, needs_improvement = self.review_image(str(iter_path), user_prompt, i, doc_type, iterations)