audit-scientific-figure

audit-scientific-figure is a skill for Claude Code, Codex from ymo6/illustrator-figure-mcp. It costs 72 tokens per session (1,314 once invoked), scanned A, original, MIT.

A review tool for scientific figures made in Adobe Illustrator. It checks both the figure’s internal structure and its exported image against a reference.

In plain words
What is it for?
Use it to review rebuilt scientific diagrams, verify object alignment and text fit, check connector routes, and detect tracing or flattened artwork.
Why use it?
It helps find hidden layout, text, connector, raster, and editability problems that a visual check or a structural check alone could miss.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review rebuilt scientific diagrams, verify object alignment and text fit, check connector routes, and detect tracing or flattened artwork.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ymo6/illustrator-figure-mcp/audit-scientific-figure
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 ymo6/illustrator-figure-mcp --skill audit-scientific-figure
Clone the repo
git clone --depth 1 https://github.com/ymo6/illustrator-figure-mcp

Made for: Claude Code, Codex.

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 audit-scientific-figure

README.md
[![agentmods](https://agentmods.dev/badge/skills/ymo6/illustrator-figure-mcp/audit-scientific-figure/github.svg)](https://agentmods.dev/skills/ymo6/illustrator-figure-mcp/audit-scientific-figure)
Your own site
<a href="https://agentmods.dev/skills/ymo6/illustrator-figure-mcp/audit-scientific-figure"><img src="https://agentmods.dev/badge/skills/ymo6/illustrator-figure-mcp/audit-scientific-figure/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 audit-scientific-figure

Your own site · 80×15
<a href="https://agentmods.dev/skills/ymo6/illustrator-figure-mcp/audit-scientific-figure"><img src="https://agentmods.dev/badge/skills/ymo6/illustrator-figure-mcp/audit-scientific-figure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,314 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.00072 $0.01314
Opus 5 $0.00036 $0.00657
Sonnet 5 $0.00014 $0.00263
Haiku 4.5 $0.00007 $0.00131

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

Security

Grade A, and why

audit-scientific-figure 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 11d 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.

skills/audit-scientific-figure/SKILL.md · 98 lines

How it starts

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

Audit Scientific Figure

Act as the Reviewer. Read evidence and issue findings; do not draw while reviewing. A successful tool call is not evidence that the figure is correct.

Collect both evidence channels

Neither channel is sufficient alone.

  1. Geometry (deterministic). Run audit_figure. It proves internal correctness: artboard containment, degenerate dimensions, duplicate names, overset text, raster declarations, connector routing and bindings, repeated-series alignment, and trace signatures. Pass declared_object_count from the draw log to enable the bulk trace check.
  2. Appearance (judged). Export with export (format: png, scale: 2) and compare against the matching reference crop at readable resolution. Always re-export; never reuse a stale image.

audit_figure cannot see resemblance, colour intent, font choice, or scientific meaning. The render cannot see structure. A traced figure scores perfectly on appearance and is worthless.

Use get_document_structure or find_objects when a finding needs an object inventory.

Review taxonomy

Review every region, and then the whole figure, for:

  1. scientific semantics, exact readable text, topology, and arrow direction;
  2. editability coverage and meaningful object hierarchy;
  3. raster irreducibility and decomposition metadata;
  4. geometry, repeated alignment, equal spacing, margins, and whitespace;
  5. text fit, wrapping, font hierarchy, and colour consistency;
  6. clipping, unintended overlap, z-order, and object bounds;
  7. arrowhead clearance, connector routes through objects, label intersection, and route crossings;
  8. reference correspondence, or design consistency when there is no reference.

Read the audit report properly

  • passed: true means no hard geometric failure, nothing more. Never report it as "the figure is correct".
  • findings_truncated: true fails the audit: unseen findings may remain.
  • object_counts.untagged_paths > 0 means geometry exists that this session did not build and cannot verify. Investigate before approving.
  • object_counts.tagged at 0 with a populated document means nothing is verifiable at all.
  • Each finding carries evidence, correction, and acceptance. Pass the acceptance condition through to the Corrector unchanged — it is what the next audit checks.

Read the full file on GitHub · 98 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. 11d ago First seen · 98 lines · 72 tokens per session scan A b0a510878b4b

Subscribe to this mod's changes

audit-scientific-figure is a skill published in the GitHub repository ymo6/illustrator-figure-mcp (0 stars, last pushed 15d ago), licensed MIT. It adds 72 tokens to every session and 1,314 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-08-31.

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

paperFig

Design, implement, revise, and validate publication-quality scientific figures from references, existing plotting code, and real project data. Trace every figure to source code and inputs; deconstruct reference figures; plan the scientific story and multi-panel structure; build complex model architecture and…

WUBING2023/PaperSpine · 126 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