generate paper figures

generate paper figures is an agent for Claude Code from equinor/neqsim. It costs 74 tokens per session (842 once invoked), scanned A, original, Apache-2.0.

A scientific-figure generator that creates data plots and explanatory diagrams for research papers using Python’s Matplotlib library, with matching PNG and PDF files.

In plain words
What is it for?
It helps make bar charts, scatter plots, heatmaps, line charts, parity plots, architecture diagrams, workflows, and feedback loops from a paper’s content.
Why use it?
It provides a consistent way to turn data or technical processes into figures suitable for academic publication and print.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It helps make bar charts, scatter plots, heatmaps, line charts, parity plots, architecture diagrams, workflows, and feedback loops from a paper’s content.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/equinor/neqsim/figure_generator.paperlab
Install

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.

Clone the repo
git clone --depth 1 https://github.com/equinor/neqsim

Made for: Claude Code.

Wrote 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.

agentmods badge for generate paper figures

README.md
[![agentmods](https://agentmods.dev/badge/agents/equinor/neqsim/figure_generator.paperlab/github.svg)](https://agentmods.dev/agents/equinor/neqsim/figure_generator.paperlab)
Your own site
<a href="https://agentmods.dev/agents/equinor/neqsim/figure_generator.paperlab"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/figure_generator.paperlab/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate paper figures

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 842 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.00842
Opus 5.5 $0.00030 $0.00337
Sonnet 5.5 $0.00015 $0.00168
Haiku 4.5 $0.00007 $0.00084

Measured 2mo ago against content hash 808c1cf43875, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo ago.

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.

neqsim-paperlab/agents/figure_generator.paperlab.md · 84 lines

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:

  1. neqsim-paperlab/skills/generate-publication-figures/SKILL.md — Core patterns, rcParams, color palette, figure sizing, both data plots and conceptual diagrams.

Workflow

  1. Read the paper to understand what each figure must show.
  2. 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)
  3. Use figure_style.py for 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")
    
  4. Generate both PNG and PDF for every figure.
  5. Validate using figure_validator.py or paperflow.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

Read the full file on GitHub · 84 lines

Changes

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.

  1. 2mo ago Changed 808c1cf43875
  2. 2mo ago First seen · 84 lines · 74 tokens per session scan A 194fdd833bbe

Subscribe to this mod's changes

generate paper figures is an agent published in the GitHub repository equinor/neqsim (177 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 842 once invoked, about $0.0003 per session on Opus 5.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.

Related

generate paper figures compared with agents from other repositories

generate paper figures next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate paper figuresequinor/neqsimAgent177todayApache-2.0A74Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code
azure-iac-exportergithub/awesome-copilotAgent42ktodayMITA70Claude Code