Skip to content
Skillpedia
Images & icons33k Β· #9021

scientific-schematics

What it does

This skill lets your agent generate scientific diagrams with AI image tools, then check their quality and refine them. It is for researchers and students who need figures for papers, grants, or posters.

When to use it

  • βœ“When you need a diagram of a neural network, system, or workflow for a paper.
  • βœ“When you want a biological pathway drawn as a figure.
  • βœ“When you need a flowchart or conceptual diagram for a grant or poster.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/scientific-schematics/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/scientific-schematics/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCreate a publication-quality diagram of a transformer neural network architecture for my conference paper.”

5 new skills a week. 1 minute to read.

How it works

The agent turns your description into an AI-generated image, reviews it against a quality threshold for your document type, and regenerates it only if needed. The final figure is saved in a figures folder.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Scientific Schematics and Diagrams

Overview

Scientific schematics and diagrams transform complex concepts into clear visual representations for publication. This skill uses Nano Banana Pro AI for diagram generation with Gemini 3 Pro quality review.

How it works:

  • Describe your diagram in natural language
  • Nano Banana Pro generates publication-quality images automatically
  • Gemini 3 Pro 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

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 Pro creates it. All diagrams are stored in the figures/ subfolder and referenced in papers/posters.

Quick Start: Generate Any Diagram

Create any scientific diagram by simply describing it. Nano Banana Pro 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 Pro creates initial image following scientific diagram best practices
  2. Review 1: Gemini 3 Pro 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:

  • βœ… Saves API calls if first generation is good enough
  • βœ… Higher quality standards for journal papers
  • βœ… Faster turnaround for presentations/posters
  • βœ… Appropriate quality for each use case

Output: Versioned images plus a detailed review log with quality scores, critiques, and early-stop information.

Configuration

Set your OpenRouter API key:

export OPENROUTER_API_KEY='your_api_key_here'

Get an API key at: https://openrouter.ai/keys

AI Generation Best Practices

Effective Prompts for Scientific Diagrams:

βœ“ Good prompts (specific, detailed):

  • "CONSORT flowchart showing participant flow from screening (n=500) through randomization to final analysis"
  • "Transformer neural network architecture with encoder stack on left, decoder stack on right, showing multi-head attention and cross-attention connections"
  • "Biological signaling cascade: EGFR receptor β†’ RAS β†’ RAF β†’ MEK β†’ ERK β†’ nucleus, with phosphorylation steps labeled"
  • "Block diagram of IoT system: sensors β†’ microcontroller β†’ WiFi module β†’ cloud server β†’ mobile app"

βœ— Avoid vague prompts:

  • "Make a flowchart" (too generic)
  • "Neural network" (which type? what components?)
  • "Pathway diagram" (which pathway? what molecules?)

Key elements to include:

  • Type: Flowchart, architecture diagram, pathway, circuit, etc.
  • Components: Specific elements to include
  • Flow/Direction: How elements connect (left-to-right, top-to-bottom)
  • Labels: Key annotations or text to include
  • Style: Any specific visual requirements

Scientific Quality Guidelines (automatically applied):

  • Clean white/light background
  • High contrast for readability
  • Clear, readable labels (minimu
FAQ

What quality check is used?

The skill uses a review step with a score threshold that depends on the document type, such as journal or poster.

Where are the diagrams saved?

The skill saves them in a figures subfolder so they can be referenced in papers and posters.

Is it good for data charts?

The skill is for diagrams and schematics, while data charts are better handled by a plotting skill.

Details

Original description by the author

Create publication-quality scientific diagrams using Nano Banana Pro AI with smart iterative refinement. Uses Gemini 3 Pro 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.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#9021
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills