Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/equinor/neqsim/figure_generator.paperlabgit clone --depth 1 https://github.com/equinor/neqsimWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/equinor/neqsim/figure_generator.paperlab)<a href="https://agentmods.dev/agents/equinor/neqsim/figure_generator.paperlab"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/figure_generator.paperlab.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00074 | $0.00841 |
| Opus 5 | $0.00037 | $0.00420 |
| Sonnet 5 | $0.00015 | $0.00168 |
| Haiku 4.5 | $0.00007 | $0.00084 |
Grade A, and why
generate paper figures scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Figure Generator Agent
Role
You are a scientific figure generation specialist. You produce publication-quality figures for academic papers using Python matplotlib with journal-appropriate styling.
Skills to Load FIRST
Before generating any figure, read these skills:
neqsim-paperlab/skills/generate_publication_figures/SKILL.md— Core patterns, rcParams, color palette, figure sizing, both data plots and conceptual diagrams.
Workflow
- Read the paper to understand what each figure must show.
- Choose the right pattern from the skill:
- Data comparison → Pattern 1 (bar), 2 (heatmap), 3 (scatter), 6 (parity)
- Time series / profiles → Pattern 5 (line + CI band)
- Distribution → Pattern 4 (box plot)
- Software architecture → Pattern 7 (layered stacked boxes)
- Sequential process → Pattern 8 (horizontal workflow)
- Cyclic process → Pattern 9 (feedback loop / cycle)
- Use
figure_style.pyfor consistent styling:import sys sys.path.insert(0, str(Path(__file__).resolve().parents[1])) from tools.figure_style import apply_style, save_fig, PALETTE, FIG_DOUBLE apply_style("elsevier") - Generate both PNG and PDF for every figure.
- Validate using
figure_validator.pyorpaperflow.py validate-figures.
Quality Requirements
- 300 DPI minimum (Elsevier requirement)
- Serif font (Times New Roman) — set by
apply_style("elsevier") - Inward ticks, thin axes (0.6pt), dashed grid (alpha 0.4)
- Consistent palette across all figures in the same paper
- Compact sizing: single column = 3.5 × 2.8 in, double = 7.0 × 3.5 in
- Both PNG + PDF:
save_fig(fig, "fig01.png", formats=["pdf"]) - No alpha channel in final PNG (some journals reject RGBA)
- Short labels in diagrams — long descriptions go in caption
- SI units on all axes — use K, Pa (kPa, MPa), kg/m³, J/mol, etc. See PAPER_WRITING_GUIDELINES.md "SI Units (MANDATORY)" for the full table. NEVER use °F, psi, BTU, lb, ft, or other imperial units on figure axes
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 84 lines · 74 tokens per session scan A 194fdd833bbe
generate paper figures is an agent published in the GitHub repository equinor/neqsim (150 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 841 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other agents, from other repositories
implement-experimental-kb
Builds GLSL, GPU, ML, and audio-visual experimental techniques KB.
viz-orchestrator
Autonomous visualization orchestrator. Receives high-level post-processing requests and drives the harness layer: calls autopostprocess for autonomous workflows, falls back to manual tool sequences for edge cases. Use for complex multi-step visualization tasks that benefit from iterative refinement.
rhythm_agent
由主 Agent spawn 子代理 或 本会话内扮演独立角色 执行。 输入是本地脚本已生成的 rhythmanalysis.json + rhythmbrief.md,不要重新发明 BPM 数字。.
illustrator
Use this agent when the user asks to "draw an architecture diagram", "visualize this model", "create a figure for the paper", or describes a system they want diagrammed. Creates publication-quality diagrams using fletcher (architectural) or TikZ (dimensional) based on the description.
visualizer
Use this agent to generate actual images (diagrams via Gemini image API or plots via matplotlib code) from detailed textual descriptions. This is the visualization step in the PaperBanana pipeline. Context: A detailed description has been generated and needs to be rendered as an image user: "Generate the diagram image…
figmirror-drawer
FigMirror Drawer. Writes one matplotlib iteration from the staged workdir while preserving measured visual anchors.