engineering-figure-agent
Use when the user needs engineering or research-paper figures: system architecture diagrams, algorithm workflows, hardware schematics, benchmark charts, ablation plots, figure briefs, redraws, image edits, or exact publication-style plots from numeric data. Covers Gemini, Nano Banana, OpenAI image models, and local plotting workflows.
含まれるファイル(86)
- SKILL.md4.5 KB
- .github/workflows/ci.yml1.1 KB
- .gitignore252 B
- adapters/claude-code/README.md1.0 KB
- adapters/claude-code/skills/engineering-figure-agent/SKILL.md2.6 KB
- adapters/claude-code/skills/engineering-figure-agent/templates/figure-brief.md600 B
- adapters/README.md463 B
- agents/openai.yaml431 B
- assets/prompt-templates/engineering-figure-templates.json6.5 KB
- assets/prompt-templates/materials-science-figure-templates.json9.5 KB
- docs/examples/benchmark-plot-request.json1.4 KB
- docs/examples/benchmark-plot.png163.2 KB
- docs/examples/briefs/benchmark-plot.md560 B
- docs/examples/briefs/cooperative-object-tracking.md552 B
- docs/examples/briefs/federated-open-vocab-driving.md558 B
- docs/examples/briefs/health-monitoring-early-warning.md692 B
- docs/examples/briefs/linux-kernel-system.md518 B
- docs/examples/briefs/multi-agent-safety-overview.md540 B
- docs/examples/cooperative-object-tracking-2k-1.png4.6 MB
- docs/examples/cooperative-object-tracking-prompt.txt1.6 KB
- docs/examples/federated-open-vocab-driving-2k-1.png5.4 MB
- docs/examples/federated-open-vocab-driving-prompt.txt1.7 KB
- docs/examples/health-monitoring-early-warning-note.txt699 B
- docs/examples/health-monitoring-early-warning-reference.jpg195.0 KB
- docs/examples/linux-kernel-system-1.jpg770.8 KB
- docs/examples/linux-kernel-system-diagram-prompt.txt2.5 KB
- docs/examples/multi-agent-safety-overview-2k-1.png5.6 MB
- docs/examples/multi-agent-safety-overview-prompt.txt1.5 KB
- docs/examples/README.md2.0 KB
- docs/platform-adapters.md1.9 KB
- docs/prompt-pack.md2.5 KB
- docs/showcase.md1.5 KB
- examples/figure-briefs/algorithm-workflow-en.md913 B
- examples/figure-briefs/benchmark-plot-request.md1.8 KB
- examples/figure-briefs/engineering-pipeline-zh.md429 B
- examples/figure-briefs/system-architecture-en.md1022 B
- examples/figure-briefs/system-architecture-zh.md580 B
- LICENSE1.0 KB
- providers.md5.0 KB
- README.en.md4.3 KB
- README.md7.7 KB
- README.zh-CN.md4.2 KB
- references/api-reference.md3.0 KB
- references/chinese-labels.md1.5 KB
- references/editable-figure-handoff.md1.3 KB
- references/engineering-figure-templates.md1.7 KB
- references/figure-brief-spec.md3.2 KB
- references/highres-policy.md1.0 KB
- references/materials-science-figure-template.md9.9 KB
- references/natural-language-plot-workflow.md4.1 KB
- references/prompt-templates.md2.4 KB
- references/provider-selection.md2.3 KB
- references/publication-chart-patterns.md2.4 KB
- references/publication-figure-design.md2.4 KB
- references/publication-plot-api.md5.6 KB
- requirements.txt81 B
- schemas/figure-brief.schema.json1.2 KB
- schemas/plot-request.schema.json1.1 KB
- scripts/build_engineering_figure_prompt.py2.8 KB
- scripts/build_materials_figure_prompt.py2.9 KB
- scripts/build_plot_spec.py8.2 KB
- scripts/check_docs_links.py1.6 KB
- scripts/check_runtime_package.py2.8 KB
- scripts/check_setup.ps18.5 KB
- scripts/efa.py4.7 KB
- scripts/generate_image.js12.4 KB
- scripts/generate_image.py26.4 KB
- scripts/install_and_test.ps14.0 KB
- scripts/install_skill.ps13.1 KB
- scripts/load_nanobanana_env.ps12.1 KB
- scripts/plot_publication_figure.py15.6 KB
- scripts/sync_codex_skill.py2.5 KB
- scripts/validate_prompt_templates.py4.3 KB
- scripts/validate_skill.py1.1 KB
- scripts/validate_text_encoding.py1.8 KB
- scripts/wizard.ps13.9 KB
- secrets/nanobanana_api_key.txt.example51 B
- secrets/nanobanana.env.example1.6 KB
- secrets/openai_api_key.txt.example47 B
- templates/figure-brief/figure-brief.en.md929 B
- templates/figure-brief/figure-brief.json633 B
- templates/figure-brief/figure-brief.zh-CN.md912 B
- tests/test_cli.py1.2 KB
- tests/test_plot_workflow.py3.6 KB
- tests/test_prompt_builder.py2.2 KB
- tests/test_provider_safety.py3.0 KB
SKILL.md(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Engineering Figure Agent
Use this skill after the figure goal is already reasonably clear.
Boundary
Good fit:
- Turn a figure brief into a conceptual diagram, workflow figure, schematic, or exact publication plot.
- Choose between
image,plot, andmixedmode. - Build prompts, render plots, and refine existing briefs.
Not the main tool for:
- Deciding from scratch what claim the paper should visualize.
- Full paper-argument or reviewer-style critique.
If the user is still deciding the figure claim, panel logic, or caption argument, use an available research-writing or paper-analysis skill upstream first.
Core Decision
imagemode: conceptual figures, architecture diagrams, algorithm workflows, graphical abstracts, schematics, reference-inspired redraws.plotmode: exact bar charts, trend curves, heatmaps, scatter plots, ablation plots, benchmark summaries.mixedmode: render quantitative panels locally first, then use image generation only for conceptual panels.
Never use image generation for exact values, axes, or benchmark geometry.
Default Workflow
- Inspect the user input and decide whether a figure brief is already present.
- If needed, create a brief using
references/figure-brief-spec.md. - Choose
image,plot, ormixedmode. - For conceptual figures, prefer the prompt-builder scripts; read template references only when you need to inspect or customize template wording.
- For exact plots, create a concise plot request and render it locally.
- Keep labels short, claims source-grounded, and outputs publication-oriented.
- Save prompt/spec/output paths when files are produced.
- Before finishing, run only the checks needed for the touched path.
Reference Loading
Read only what is needed:
references/figure-brief-spec.md: brief structure and mode rules.references/publication-figure-design.md: publication styling defaults.references/provider-selection.md: Gemini/Banana/OpenAI setup.references/highres-policy.md: high-resolution and fail-closed rules.references/chinese-labels.md: Chinese label readability rules.references/engineering-figure-templates.mdandreferences/materials-science-figure-template.md: template wording when script output needs customization.references/publication-chart-patterns.md,references/natural-language-plot-workflow.md, andreferences/publication-plot-api.md: exact or plot-heavy workflows.references/editable-figure-handoff.md: optional editable SVG handoff.
Scripts
- Build a prompt without network calls:
python scripts/build_engineering_figure_prompt.py --figure-template system-architecture --lang en "technical background"
python scripts/build_materials_figure_prompt.py --materials-figure mechanism-figure --lang en "scientific background"
- Generate or edit a conceptual image:
python scripts/generate_image.py --provider openai --figure-template system-architecture --lang en "technical background"
python scripts/generate_image.py --provider openai --materials-figure mechanism-figure --lang en "scientific background"
- Render an exact plot:
python scripts/build_plot_spec.py request.json --out spec.json
python scripts/plot_publication_figure.py spec.json --out-path output/figure --formats png pdf svg
- Use the unified CLI:
python scripts/efa.py prompt --figure-template system-architecture "technical background"
python scripts/efa.py prompt --materials-figure mechanism-figure "scientific background"
python scripts/efa.py plot request.json --out-path output/figure
python scripts/efa.py check
Quality Rules
- Do not fabricate measurements, benchmark values, hardware specs, or unsupported causal claims.
- Keep arrows, reading order, and module hierarchy explicit.
- Favor white backgrounds, publication-style spacing, and readable labels.
- Use prompt-first workflows when layout fidelity matters.
- For high-resolution requests, follow
references/highres-policy.md. - For third-party providers, require explicit opt-in before sending keys or user files.
- For Chinese figures, preserve standard technical notation when it improves clarity.
レビュー
まだレビューはありません。使ってみた感想をお寄せください。