/figures:figure-qafrom figures
QA scientific figures for journal compliance, alignment, palette correctness, and text legibility. Dispatches on SVG, raster, Python plot script, or composed-figure directory input types.
Ships in figures. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Routes a scientific figure to an independent, fresh-context QA reviewer that detects the input type, runs the deterministic checks (fonts, palette, geometry, alpha, resolution, rendered text) with the helper scripts, and adds a vision-language model (VLM) rubric judgment for the aesthetic dimensions.
This skill is a thin dispatcher: the detection logic, exit-code contract, VLM rubric, report shape, and the iterate loop all live in references/, and the deterministic engine lives in the figures plugin's agents/figure-qa-scripts/.
Activate when a figure needs a journal-submission QA pass, or after a figures skill (figures:scientific-figure, figures:svg-figure, figures:svg-primitives, figures:transparent-icons, figures:ai-full-figure, figures:plot-styling) produces output, unless the caller passes no-qa.
Every dispatch carries the same briefing, so the right checks run:
nature, science, cell, pnas, poster, slide, or generic)figures/theme.json) so palette compliance is judged against the project bible rather than a fixed allow-listA QA pass is more trustworthy from a reviewer that did not just author the figure.
Run it in a separate context and pass only the briefing above.
On tools without subagents, run the procedure inline.
For several candidates, issue one dispatch per candidate in a single message so they run in parallel on the worker tier (Opus at medium effort).
In every branch the reviewer follows references/figure-qa-procedure.md (strict separation: scripts own ground-truth measurements, the VLM owns aesthetic judgment).
Agent(subagent_type: "figures:figure-qa", ...) with the briefing above. Honor a no-qa opt-out by returning immediately.${CLAUDE_PLUGIN_ROOT}/agents/templates/figure-qa.toml (the plugin's agents/templates/ directory) to ~/.codex/agents/ or .codex/agents/, then invoke that configured agent if the current Codex surface supports /agent. If no Codex subagent is configured or available, use the fallback branch..github/plugin/plugin.json, the .agent.md reviewer in agents/templates/. Invoke that configured agent when the current Copilot surface supports custom agents. If running outside a plugin install, copy agents/templates/figure-qa.agent.md to .github/agents/ or ~/.copilot/agents/. If no custom agent is available, use the fallback branch.$CLAUDE_PLUGIN_ROOT/skills/figure-qa/references, else find . -type d -path '*/skills/figure-qa/references' | head -1); if it cannot be found, stop and tell the user to install the figures plugin rather than guessing checks. Then follow references/figure-qa-procedure.md directly.The report keeps its markdown sections and ends with one fenced JSON block: status (ship, revise, block), findings[] each with check, severity, message, action (regenerate, edit, overlay, rescale, recolor, none) and a hint, plus measurements and the five VLM scores.
Generation skills branch on that block.
references/iterate-loop.md defines the generate, QA, fix, regenerate loop (N candidates in parallel, one targeted change per iteration, stop at ship or after three iterations) that figures:ai-full-figure follows.
references/figure-qa-procedure.md: no-qa opt-out, script location, type detection, per-branch checks including the raster text check and theme palette compliance, exit-code contract, VLM rubric, the exact report shape, and the finding-to-action table.references/iterate-loop.md: the candidate, QA, fix loop with its worker briefing and stopping conditions.agents/figure-qa-scripts/check_{svg,raster,plot_script}.py (in the figures plugin): the deterministic engine, kept in place so other skills can call it directly. check_raster.py --json --expect-text "..." --palette figures/theme.json --width-mm 89 --journal nature is the text and palette check; check_svg.py --json --palette figures/theme.json covers SVG geometry, fonts, and palette.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub neuromechanist/research-skills --plugin figures8 skills in this plugin
/ai-full-figureUse this skill when the user asks to "generate an AI figure", "make an AI-generated figure", "make a poster figure", "make a presentation figure", "generate a figure with AI", "generate figure panels with Codex", "make a multi-panel AI figure", "AI background for a figure", or wants a pictorial figure or panel (brain scene, apparatus, anatomy, pipeline illustration) rendered by gpt-image-2 through the Codex CLI with large verbatim titles and panel letters, then QA'd and iterated until it passes. Expects a theme from figures:figure-bible. Data plots, axes, numerals, and equations go to figures:plot-styling or figures:svg-primitives instead./figure-bibleUse this skill when the user asks to "make a figure bible", "set up a style bible", "create a figure theme", "make a theme for my figures", "set up a figure style", "palette for my paper figures", or wants a consistent figure style. Scaffolds and validates figures/theme.json; run before any figures skill generates images./plot-stylingThis skill should be used when the user asks to "plot data", "make a plot for a paper", "make a publication plot", "create a journal-quality plot", "matplotlib for a figure", "use seaborn", "use plotnine", "use ggplot in Python", "improve plot quality", "style my plot", "clean up my figure", "my matplotlib plot looks ugly", "apply journal style to existing script", "fix matplotlib defaults", "use SciencePlots", "make a Nature-style plot", "make an IEEE-style plot", "make a paper-ready chart", "which plotting library should I use", or wants guidance on choosing between matplotlib / seaborn / plotnine / plotly / pyvista and applying journal-quality defaults. Produces SVG-output Python scripts whose panels are consumed by the scientific-figure composer./scientific-figureThis skill should be used when the user asks to "create a figure", "make a scientific figure", "create a paper figure", "make a figure for my paper", "make a figure for my manuscript", "compose figure panels", "assemble figure panels", "combine figure panels", "make a multi-panel figure", "figure composition", "export a figure", "generate a PDF figure", "create a Nature-style figure", "make a journal figure", "make a publication figure", or "create a figure for my grant". The skill composes multi-panel figures at exact journal dimensions (Nature 89/183 mm, Science 55/120 mm, Cell 85/174 mm, PNAS 87/180 mm) using svgutils, validates font sizes against journal minima before export, and writes PDF/PNG via Inkscape when available or cairosvg otherwise./svg-figureThis skill should be used when the user asks to "create an SVG figure", "make a schematic", "draw a diagram", "create a schematic diagram", "draw a flowchart", "draw a process flow", "draw a workflow", "draw a workflow diagram", "make an SVG schematic", "create a process diagram", "create a pipeline diagram", "create a block diagram", "draw a system diagram", "system architecture diagram", "make this SVG editable in Illustrator", "prepare an SVG for Affinity Designer", "editor handoff", "Illustrator-friendly SVG", "hand off a figure to a designer", or wants a hand-authored or programmatic SVG with shapes, arrows, and labels that the figure-qa agent can verify. **For new Python-driven figures, route to `figures:svg-primitives` instead**, this skill is the conventions and hand-authoring reference. Outputs are SVG files that can be loaded as panel sources by the scientific-figure composer; `scripts/editor_prep.py` rewrites any finished SVG into the editor-safe dialect for Illustrator/Affinity handoff./svg-primitivesUse when the user asks to build a programmatic SVG schematic in Python: flowcharts, boxes and arrows, auto-fit SVG text, mm-precise diagrams, edge-snapped arrows, tangent-correct curve arrowheads, orthogonal or Manhattan routing, deterministic z-order layers, labeled groups, bracket groupings, leader-line annotations, or strict Canvas.save validation for text overflow. Use figure-qa instead for after-the-fact validation of arbitrary hand-authored or exported SVGs. Built on drawsvg, svgpathtools, and fontTools; output SVGs can be composed by scientific-figure.Other plugins' skills for the same job