Skip to content
Back to skills

Scientific Schematics

ASecurity

Create or refine publication-quality technical diagrams, scientific workflows, architectures, and biological schematics

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
researchpythongoshellapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned September 28, 2026

npx -y skills add FOURTEEN1416/academic-agent-toolkit --skill scientific-schematics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scientific Schematics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scientific Schematics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fourteen1416-scientific-schematics/badge)](https://www.skillsdirectory.com/skills/fourteen1416-scientific-schematics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scientific-schematics
description: "Create or refine publication-quality technical diagrams, scientific workflows, architectures, and biological schematics"
category: visualization
allowed-tools: [Read, Write, Edit, generate_image]
---

# Scientific schematics


## Step 0: 多模态 LLM 后端检测(强制,不可跳过)

**本技能是"多模态 LLM 专属技能":没有图像生成后端就无法工作。开工前必须:**

1. 运行环境检测:`python tools/plotting_env_check.py`(本仓库根/academic-toolkit下);
2. 图像**生成**必须具备图像生成模型后端(如 OpenRouter 的 `OPENROUTER_API_KEY` → 图像生成模型系列;或宿主原生 `generate_image` 后端)——文首提到的具体型号是上游原文示例,实际后端以 env/比赛时配置为准,仓库不预设;
3. 质量**评审**由宿主独立窗口的视觉能力 LLM 执行(host-vision/independent-window,与产图窗口隔离,无需任何 API key);
4. **检测不通过时**:停止执行,向用户明确说明"本技能需要多模态 LLM 图像生成后端",并给出上方检测器的 `setup_hint` 配置指引。**禁止**用占位图、假图或纯本地绘图冒充 AI 生成结果;
5. 成本纪律:外部 API 调用须经高风险确认并计入 C5 成本指标。

---


Use this skill for technical figures whose scientific structure matters: model
architectures, experimental workflows, study diagrams, biological pathways,
mechanistic illustrations, and conceptual schematics.

## 执行与产出

使用当前执行会话完成本步工作;产物路径按当前步骤合同。程序采集真实操作、输入输出、版本与运行清单,模型只负责实质成果和领域质量。

建议额外记录:图像生成后端与模型名、脚本 generate_schematic.py 参数;外部 API 调用须经高风险确认并计入成本。

## Scope

- Follow the user's requested figure count, subject, and document context.
- When refining an existing paper, inspect the manuscript and current figure
  first. Preserve the paper's claims and unaffected figures.
- Do not expand a figure-editing request into literature review, citation audit,
  peer review, or new experiments unless the user asks for that work.
- For plots derived from numeric data, use the local analysis/plotting tool that
  produced the data. Do not use an image model to invent measurements.

## Native workflow

1. Read the target manuscript, caption, or source figure when one exists.
2. Identify the figure's scientific claim, required components, labels, reading
   order, and output dimensions.
3. Call `generate_image` directly. It resolves connected OpenRouter BYOK or a
   funded OpenScience managed route without exposing credentials to shell code.
4. Inspect the generated file. If a concrete defect remains, make one focused
   edit with `generate_image` using the existing image as the reference.
5. Save the accepted figure in the active session or project workspace and
   update the manuscript only when requested.

Do not invoke bundled Python or CLI image wrappers inside OpenScience. Do not
ask the user to paste a key into chat. If `generate_image` reports that no route
is connected, explain the connection requirement once and offer a deterministic
local diagram only with the user's agreement.

## Prompt contract

Include:

- figure purpose and target audience;
- exact components and relationships;
- reading direction and visual hierarchy;
- every required label, symbol, legend, and panel marker;
- restrained, colorblind-safe styling and a clean background;
- aspect ratio and space for the intended caption or page layout;
- instructions to avoid decorative, unsupported, or fabricated scientific
  details.

Example:

```json
{
  "prompt": "Conference-paper schematic of a protein-language-model analysis. Left-to-right flow: aligned protein sequences, frozen encoder, sparse feature extraction, mutation intervention, and held-out functional validation. Label every stage and distinguish observed data from hypotheses. Clean white background, restrained colorblind-safe palette, readable typography, no decorative elements.",
  "output_path": "figures/method_overview.png",
  "model": "google/gemini-3-pro-image",
  "aspect_ratio": "16:9"
}
```

## Acceptance check

Before finishing, confirm that labels are legible, arrows and causal direction
are unambiguous, the caption matches the image, and the figure does not imply
evidence stronger than the underlying study. Report any unresolved visual or
scientific uncertainty plainly.

Files in this skill

  • LICENSE11.1 KB
  • QUICK_REFERENCE.md4.7 KB
  • README.md8.5 KB
  • SKILL.md4.7 KB
  • example_usage.sh3 KB
  • references/UPSTREAM.md631 B
  • references/best_practices.md15.5 KB
  • scripts/generate_schematic.py4.5 KB
  • scripts/generate_schematic_ai.py32.8 KB
  • test_ai_generation.py7.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…