scientific-schematics
できること
論文、発表資料、報告書のための科学的な図の下書きを作成するツールです。見たい図の内容を説明すると、AIが画像を生成します。
使う場面
- ✓論文に載せるフローチャートが必要なとき。
- ✓ニューラルネットワークの構造を視覚化したいとき。
- ✓発表資料を作成していて図が必要なとき。
スキルのリンク
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/scientific-schematics/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“スクリーニングされた参加者500名、除外された参加者150名を示すCONSORT参加者フローチャートを作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
図の内容をテキストで説明します。1つ目のAIが画像を作成します。2つ目のAIがその品質を確認し、必要に応じて改善を求めます。納得のいくものになるまで、新しいバージョンが生成されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.7 Flash quality review.
How it works:
- Describe your diagram in natural language
- Nano Banana 2 generates a PNG draft from the specified components and relationships
- Gemini 3.7 Flash reviews quality against document-type thresholds
- Smart iteration: Refines when the score or verdict requests improvement
- Saved drafts and a review log for manual verification
- No coding, templates, or manual drawing required
Local review thresholds by document type (heuristics chosen by this helper, not publisher acceptance criteria):
| 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 |
Save diagrams under figures/ using -o figures/name.png, then inspect every label and relationship before including them in a paper or poster. The output location is the path you choose.
What the output is: a raster PNG at whatever resolution the image model returns. This skill has no vector path and no DPI control — if a journal demands PDF, EPS, or 300 dpi TIFF, convert the PNG downstream and check the result at final print size.
Quick Start: Generate Any Diagram
Run from this skill directory with requests installed and OPENROUTER_API_KEY set. The following paid-generation examples are illustrative; the request contracts are tested offline. Supply source-backed labels and relationships rather than asking the image model to invent them:
# 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:
- Generation 1: Nano Banana 2 creates initial image following scientific diagram best practices
- Review 1: Gemini 3.7 Flash evaluates quality against document-type threshold
- Decision: If quality >= threshold and no improvement verdict → DONE (no more iterations needed!)
- If below threshold or improvement requested: Improved prompt based on critique, regenerate
- 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 (name_v1.png, name_v2.png), a copy of the latest successful version at the path you
asked for, and name_review_log.json with the score, critique, and any early-stop reason.
When the review cannot run — a rate limit, a content filter, a reviewer that answers in some
unexpected shape — the image is still generated and saved, but no score is invented for it. The log
records "score": null with the reason in "review_error". "reviewed": false means the reviewer did not return a usable response; a prose answer with no parsable score can have "reviewed": true. "final_reviewed" remains false without a numeric score, and the run
prints Review unavailable - image kept, quality not verified. Treat that image as unchecked and
…
よくある質問
最終的な画像は高解像度ですか?
画像はPNG形式で生成されます。PDFや特定の高解像度(DPI)の形式が必要な場合は、後から変換する必要があります。
機密データを使用してもよいですか?
いいえ。依頼内容はAIに送信されるため、外部に共有できない情報は使用しないでください。
AIは図の作り直しを何回まで試みますか?
最初のバージョンが十分でない場合や、レビューで改善が求められた場合、AIは最大2回まで作り直しを試みます。
詳細
作者による元の説明
Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.7 Flash for quality review. Refines when the review requests improvement, with at most two generations. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations.
人気
- GitHubのスター
- 51k
- ランキング
- #3563
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
13c-metabolic-flux
51k炭素13同位体トレーシングのデータを使って代謝フラックスを推定します。細胞の代謝や生化学経路の分析に役立ちます。
adaptyv
51kAdaptyv APIを使ってタンパク質の特性評価実験を設計します。コストの見積もり、配列の提出、ラボの結果の監視を支援します。
aeon
51k時系列データに対して機械学習のタスクを実行します。逐次データの分類、予測、異常検知、パターンの発見に役立ちます。
alphagenome
51k遺伝的変異に対して、事前に計算されたゲノム上の効果を検索します。スコアと説明を提供し、変異がゲノムに与える影響を理解するのに役立ちます。