# Figure Audit: Catch Figure Problems Before Reviewers Do

> Review your research figures before submission, or a manuscript's as a referee: what misleads, what slows the reader, what fails colour-blind and greyscale readers. Ranked findings with evidence, a minimal fix and a redesign, both redrawn.

Figure Audit: Catch Figure Problems Before Reviewers Do is a paid AI agent skill on Agensi by Aurora Lab, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [Aurora Lab](https://www.agensi.io/creators/aurora-lab)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.1
- Last updated: 2026-10-20
- Security: scan passed (2026-10-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/figure-audit-catch-figure-problems-before-reviewers-do
- Tags: research, matplotlib, scientific-figures, peer-review, dataviz, colour-blind, academic

## About this skill

### What it does
A figure is read before its caption, so a truncated axis or a convenient second y-axis can oversell a result that the text then has to defend. This skill turns your agent into a careful figure reviewer. Point it at a figure (PNG, a PDF page, or the matplotlib script that drew it) and it:

- **Pins down the claim** the figure supports, from the caption and the sentence that cites it, and judges everything against that claim.
- **Audits the plotting script automatically** without overwriting your files: twin y-axes, bars that don't start at zero, legends far from the data, grids, rotated or crowded ticks, missing units and panel letters, error bars that need defining, and text below the minimum at the width the figure will actually print.
- **Checks colour-blind and greyscale readers**: one sheet with greyscale plus simulated protanopia, deuteranopia and tritanopia views, and a pairwise check of the script's data colours with the numbers.
- **Checks the numbers behind the claim** when the data are there: replicates, intervals, how far a truncated axis exaggerates a difference.
- **Ranks every finding by harm** (misleads, slows reading, clutter, polish) with the evidence and a concrete fix, and says which findings came from the automatic audit and which are judgement.
- **Redraws the figure twice** when it has the script and data: **Good**, a minimal fix in your own style, and **Better**, a message-first redesign with one accent colour, direct labels and a caption that says what to see. Both are re-audited and inspected before you see them.

### Reviews figures; doesn't make them from scratch
Figure Audit reviews figures that already exist and the scripts behind them. It pairs well with Aurora Lab's Paper Figures (which designs figures from data) and Figure Editor (which assembles panels into one figure), but needs neither.

### What's included
- `SKILL.md`: the review workflow, a checklist in five groups (integrity, chart form, construction, colour, message), severity bands, report format and how to phrase a critique for a co-author or a referee report
- `scripts/figtools.py`: renders PDF pages, crops panels, makes greyscale and colour-blind views and a comparison sheet, and audits matplotlib scripts headless
- `scripts/plotkit.py`: matplotlib techniques for the redesign (direct labels, accent colour, replicates with mean and 95 % CI, 1-2-5 ticks)
- `examples/`: a deliberately flawed synthetic figure script with its data, and the report, minimal fix and redesign a real run produced

### Part of the Aurora Lab research pipeline
Works entirely on its own. With a `research/` folder it reads figures from `research/figures/` and the manuscript from `research/paper/`, and writes each review to `research/reviews/figure-audit-<figure>/`. No skill calls another.

## Requires

- Python 3.10+
- NumPy
- Pillow
- Matplotlib
- Poppler or PyMuPDF

Poppler's pdftoppm or PyMuPDF is for PDF input.

## Known limitations

It reviews existing figures; it does not design figures from scratch or assemble panels. The automatic script audit covers matplotlib only; for R, Excel, Prism or other tools it reviews the exported image or PDF, and redraws are made in matplotlib. Auditing a script means running it, so audit only scripts you trust; files the script writes other than its figures are not intercepted. Colour-blind views are simulations of full dichromacy (milder colour-vision deficiencies are common and less severe); they are a strong screen, not a test with real readers. With only an image, it describes the redesign and asks for the data rather than reading values off pixels. Judgements about the claim, the caption and the statistics are made by the agent and reported as such. Minimum text sizes differ between venues; check your journal's current author guidelines.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Figure Audit: Catch Figure Problems Before Reviewers Do skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How is this different from Paper Figures and Figure Editor?

Paper Figures designs and draws figures from your data. Figure Editor assembles finished images into one multi-panel figure. Figure Audit reviews figures that already exist (and the scripts behind them), ranks what is wrong and redraws them. Each works on its own.

### What do I need installed?

Python 3.10+ with numpy, Pillow and matplotlib. To review pages of a PDF, also poppler's pdftoppm (brew install poppler, apt install poppler-utils) or the pymupdf package. PNG, JPEG and TIFF figures need neither.

### Which checks are automatic, and which are the agent's judgement?

Automatic: the script audit (twin axes, bars not starting at zero, legends, grids, crowded or rotated ticks, missing units and panel letters, error bars to define, colour pairs that merge for colour-blind readers or in greyscale, text size at the printed width) and the greyscale and colour-blind images. Judgement: what the figure claims, whether the axis range or the statistics support it, the caption, and the redesign. The report says which is which.

### Can it review a figure if I only have the image or the paper's PDF?

Yes. It renders the page, crops panels, runs the colour checks and works through the checklist by eye. Without the data it describes the redesign precisely and asks for the data; it never reads values off pixels and presents them as data.

### Can I use it when refereeing a manuscript?

Yes. It phrases findings as observations with a suggested remedy, ready for a report. The skill itself makes no network calls, but your agent's model provider sees what the agent reads, as with any agent task, so follow your journal's confidentiality rules for manuscripts under review.

### Will it change my figure or script?

No. It writes only into a separate review folder: the report, the check images, and new good.py and better.py scripts with their output. Your files stay untouched.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
