brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
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
Claude Code
$ npx -y skills add spacering-net/codeg --skill scientific-schematics --agent claude-code
Codex
$ npx skills add spacering-net/codeg --skill scientific-schematics -a codex -y
Cursor
$ npx skills add spacering-net/codeg --skill scientific-schematics -a cursor -y
Gemini CLI
$ npx skills add spacering-net/codeg --skill scientific-schematics -a gemini-cli -y
GitHub Copilot
$ npx skills add spacering-net/codeg --skill scientific-schematics -a github-copilot -y
OpenCode
$ npx skills add spacering-net/codeg --skill scientific-schematics -a opencode -y
Windsurf
$ npx skills add spacering-net/codeg --skill scientific-schematics -a windsurf -y
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.
allowed-tools: Read Write Edit Bash
license: MIT license
required_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."}]}}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.**
**How it works:**
**Quality Thresholds by Document Type:** | Document Type | Threshold | Description | |---------------|-----------|-------------| | journal | 8.5/10 | Nature, Science, peer-reviewed journals | | conference | 8.0/10 | Conference papers | | thesis | 8.0/10 | Dissertations, theses | | grant | 8.0/10 | Grant proposals | | preprint | 7.5/10 | arXiv, bioRxiv, etc. | | report | 7.5/10 | Technical reports | | poster | 7.0/10 | Academic posters | | presentation | 6.5/10 | Slides, talks | | default | 7.5/10 | General purpose |
**Simply describe what you want, and Nano Banana 2 creates it.** All diagrams are stored in the figures/ subfolder and referenced in papers/posters.
Create any scientific diagram by simply describing it. Nano Banana 2 handles everything automatically with **smart iteration**:
# Generate for journal paper (highest quality threshold: 8.5/10) python scripts/generate_schematic.py "CONSORT participant flow diagram with 500 screened, 150 excluded, 350 randomized" -o figures/consort.png --doc-type journal # Generate for presentation (lower threshold: 6.5/10 - faster) python scripts/generate_schematic.py "Transformer encoder-decoder architecture showing multi-head attention" -o figures/transformer.png --doc-type presentation # Generate for poster (moderate threshold: 7.0/10) python scripts/generate_schematic.py "MAPK signaling pathway from EGFR to gene transcription" -o figures/mapk_pathway.png --doc-type poster # Custom max iterations (max 2) python scripts/generate_schematic.py "Complex circuit diagram with op-amp, resistors, and capacitors" -o figures/circuit.png --iterations 2 --doc-type journal
**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 3. **Decision**: If quality >= threshold → **DONE** (no more iterations needed!) 4. **If below threshold**: Improved prompt based on critique, regenerate 5. **Repeat**: Until quality meets threshold OR max iterations reached
**Smart Iteration Benefits:**
**Output**: Versioned images plus a detailed review log with quality scores, critiques, and early-stop information.
Set your OpenRouter API key:
export OPENROUTER_API_KEY='your_api_key_here'
Get an API key at: https://openrouter.ai/keys
**Effective Prompts for Scientific Diagrams:**
✓ **Good prompts** (specific, detailed):
✗ **Avoid vague prompts**:
**Key elements to include:**
**Scientific Quality Guidelines** (automatically applied):
This skill should be used when:
Collaborative multi-agent AI coding workspace: aggregate sessions from Claude Code, Codex, OpenCode, Pi, Grok Build, etc. Desktop app, self-hosted server, or Docker.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor…
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline…
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically…
Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…
Direct actions on one Orchestrator session or PR: stop or interrupt, resume, merge a PR, start a review, screenshot a session's…
Your capability catalog — read this at boot. Lists the temporal date-range skills and the external integrations (reached via the…