paperFig

paperFig is a skill for Claude Code, Codex from WUBING2023/PaperSpine. It costs 126 tokens per session (2,034 once invoked), scanned A, original, MIT.

A workflow for creating and checking publication-quality scientific figures from references, plotting code, and real research data. It covers figure structure, model diagrams, multi-panel layouts, source tracing, and visual checks.

In plain words
What is it for?
Use it to create or improve academic plots, model architecture diagrams, reference-based figures, and complex multi-panel scientific graphics.
Why use it?
It helps ensure that a research figure accurately represents its data and can be traced back to the code and inputs that produced it.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the paper-spine plugin — 2 skills, 1 command shipped together

Good fit Use it to create or improve academic plots, model architecture diagrams, reference-based…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wubing2023/paperspine/02_paperfig_skill
About the project

PaperSpine is an academic writing system that guides an agent through studying strong papers, defining a manuscript's contribution, planning its structure, and revising the resulting document. It supports writing tasks such as journal papers, conference papers, reports, reviews, and competition essays, with outputs including LaTeX, PDF, and Word. The catalogue entries package its workflow for supported agent hosts.

WUBING2023/PaperSpine · 5,122 stars · on GitHub

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.

Any agent
npx skills add WUBING2023/PaperSpine --skill 02_paperfig_skill
Clone the repo
git clone --depth 1 https://github.com/WUBING2023/PaperSpine

Made for: Claude Code, Codex.

Or install paper-spine, the plugin that ships this one along with the rest of its 2 skills, 1 command.

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 paperFig

README.md
[![agentmods](https://agentmods.dev/badge/skills/wubing2023/paperspine/02_paperfig_skill.svg)](https://agentmods.dev/skills/wubing2023/paperspine/02_paperfig_skill)
Your own site
<a href="https://agentmods.dev/skills/wubing2023/paperspine/02_paperfig_skill"><img src="https://agentmods.dev/badge/skills/wubing2023/paperspine/02_paperfig_skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,034 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.00126 $0.02034
Opus 5 $0.00063 $0.01017
Sonnet 5 $0.00025 $0.00407
Haiku 4.5 $0.00013 $0.00203

Measured 7d ago against content hash bd477f5bb207, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

paperFig 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 7d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (assets/comparison_atlas_builder.py, scripts/inspect_figure_project.py, scripts/validate_research_figures.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

paperspine5/core/02_PaperFigure/02_paperFig_skill/SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.

paperFig

Create scientifically faithful, publication-quality figures through a repeatable process from evidence inventory to final render QA.

This skill governs the research-figure process only. It does not include anonymization, data perturbation, synthetic replacement, identifier removal, or privacy guarantees. If the user separately requests those operations, treat them as an additional workflow with an explicit data-release contract; do not silently mix them into ordinary scientific plotting.

Mandatory routing

Read the following references before acting:

  • references/research-figure-process.md for the phase-by-phase workflow.
  • references/reference-deconstruction.md before imitating or adapting a reference figure.
  • references/architecture-and-multipanel-design.md for model diagrams or compound figures.
  • references/scientific-visual-qa.md before final generation and delivery.

Use the PDF skill whenever a PDF is read, created, or reviewed. Use the spreadsheets skill when the main source is an XLSX workbook requiring inspection or transformation.

Trigger conditions

Use this skill when the user asks to:

  • create or improve scientific, academic, or paper figures;
  • locate the plotting code and data behind figures in a PDF or directory;
  • reproduce the visual logic of public reference figures with project data;
  • build a model architecture, Transformer diagram, mechanism schematic, or evidence-backed workflow panel;
  • redesign benchmark, ablation, transfer, interpretability, or mechanism figures;
  • assemble a consistent multi-figure suite or reference-vs-redraw atlas;
  • standardize an existing plotting project into a reusable process.

Do not use it for generic illustration, ordinary photo editing, UI design, or privacy/anonymization as the primary objective.

Core principles

  1. Scientific truth before aesthetics. Preserve actual data, statistics, units, pairing, uncertainty, sample size, ordering, and analysis logic.
  2. Reference mechanism, not superficial copying. Identify why the reference persuades and transfer that mechanism to the new scientific claim.
  3. Source traceability. Every final panel must map to plotting code and data inputs, or be explicitly marked as a schematic.
  4. One panel, one job. Each panel answers a distinct scientific question.
  5. Complexity must be earned. Dense figures need a clear reading path and evidence hierarchy; decorative complexity is not rigor.
  6. Render verification is mandatory. A script that runs is not a finished figure until the exported artifact has been visually inspected.

Read the full file on GitHub · 249 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. 7d ago First seen · 249 lines · 126 tokens per session scan A bd477f5bb207

Subscribe to this mod's changes

paperFig is a skill published in the GitHub repository WUBING2023/PaperSpine (5,122 stars, last pushed 9d ago), licensed MIT. It adds 126 tokens to every session and 2,034 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

scientific-schematics

Create publication-quality scientific diagrams using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.6 Flash for quality review. Only regenerates if quality is below threshold for your document type. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and…

K-Dense-AI/scientific-agent-skills · 67 tokens

paper-poster-html

A workflow for building an academic conference poster as one HTML/CSS file and printing it to a PDF at an exact page size. It uses the paper’s real figures and checks layout details before review.

wanshuiyin/Auto-claude-code-research-in-sleep · 107 tokens

latex-posters

Use when creating or revising LaTeX research posters with beamerposter, tikzposter, or baposter, including poster layout, typography, color, print sizing, figure placement, QR codes, compilation, and print-ready PDF checks.

foryourhealth111-pixel/Vibe-Skills · 53 tokens

figure-composer

Compose a publication-grade multi-panel scientific figure from a claim, dataset, or draft result. Use when the task needs panel planning, consistent figure layout, figure review, or final figure assembly.

companion-inc/feynman · 42 tokens

ccf-visual-composer

A visual design assistant for research papers, presentations, posters, and README graphics. It can lay out figures, tables, diagrams, icons, colors, and other visual elements, including editable SVG, PDF, and PPTX outputs.

mikubaka88/CCFA-Skills · 86 tokens

ts-paper-figure

Stage 6 of the ts-paper suite. Fill a Traitement du Signal paper's figure placeholders with real diagrams. Claude DESIGNS a concrete, rich figure and GROUNDS it on a real on-topic top/mid-journal MAIN figure (Claude WebSearches for it, then fetchreferencefigures.py pulls that paper's MAIN figure, passed to the image…

Spark-To-Paper-Skills/spark-to-paper-skills · 340 tokens