polish-sci-figures

polish-sci-figures is a skill for Codex from zhoy0409-debug/polish-sci-figures. It costs 102 tokens per session (4,713 once invoked), scanned A, original, MIT.

A final review and preparation workflow for scientific figures, including charts, image panels, manuscripts, slides, and posters.

In plain words
What is it for?
Use it to polish existing SVG, PDF, or PNG figures and multipanel layouts, inspect the exported result, and package portable source files.
Why use it?
It helps catch problems in alignment, labels, overlaps, readability at the final size, editability, and delivery before a figure is published or presented.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

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.

agentmods
npx agentmods add skills/zhoy0409-debug/polish-sci-figures/polish-sci-figures
Any agent
npx skills add zhoy0409-debug/polish-sci-figures --skill polish-sci-figures
Clone the repo
git clone --depth 1 https://github.com/zhoy0409-debug/polish-sci-figures

Made for: 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 polish-sci-figures

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhoy0409-debug/polish-sci-figures/polish-sci-figures.svg)](https://agentmods.dev/skills/zhoy0409-debug/polish-sci-figures/polish-sci-figures)
Your own site
<a href="https://agentmods.dev/skills/zhoy0409-debug/polish-sci-figures/polish-sci-figures"><img src="https://agentmods.dev/badge/skills/zhoy0409-debug/polish-sci-figures/polish-sci-figures.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,713 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00102 $0.04713
Opus 5 $0.00051 $0.02357
Sonnet 5 $0.00020 $0.00943
Haiku 4.5 $0.00010 $0.00471

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

Security

Grade A, and why

polish-sci-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 6d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (examples/example_figure.py, scripts/check_source_portability.py, scripts/check_svg_canvas.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.

skills/polish-sci-figures/SKILL.md · 220 lines

How it starts

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

Polish Scientific Figures

Deliver the near-final figure in one internal pass: establish the claim and final placement, trace the authoritative data, compare the existing and proposed forms, draw, export, inspect at real size, correct, and package. Do not make the user rediscover alignment, canvas, font, overlap, scientific-label, or editability defects.

Use the bundled resources

  • Use $make-sci-data-figures first when the input is raw CSV/TSV/XLSX data or the user needs statistical design checks, several chart forms from the same data, or palette-only rerendering.
  • When the user cites a template number from the audited 1-124 collection or asks for template-based alternatives, run scripts/template_router.py resolve --template NUMBER. Use its upgraded scientific family and input contract; never copy ornamental styling or redistribute the source PDF/Prism files.
  • Use $standardize-sci-images first when the input is microscopy, fluorescence, histology, or electron-microscopy imagery that needs locked batch display settings, equal dimensions, calibrated scale bars, or a processing audit.
  • Return the selected outputs from either companion skill to this skill for final canvas, typography, overlap, editability, and real-container QA.
  • Load assets/sci_style.mplstyle as a baseline; override it for a verified journal, deck, or user requirement.
  • Do not add panel letters or serial labels by default. Use scripts/panel_labels.py only when the user or verified target explicitly requires them, preferably at final composite assembly.
  • Use scripts/figure_text_qa.py as an authoring-time release gate before accepting Matplotlib exports; block delivery on grid-geometry drift, unrequested panel titles, collisions, or common baseline scientific notation. Run the skill copy from the agent/test harness, not by making the delivered plotting source search for or import the installed skill.
  • Run scripts/check_source_portability.py on every delivered plotting source. Treat skill/plugin runtime paths, home-directory support lookups, and machine-specific absolute private paths as release failures. Dynamic imports, sys.path mutation, and external processes are advisory unless the user or delivery contract explicitly requires a fully self-contained source; only then add --strict.
  • Use scripts/make_montage.py to compare a figure series.
  • Run scripts/check_svg_canvas.py on every independently editable SVG series intended for one grid or repeated slot.
  • Run scripts/check_svg_editability.py --require-fully-editable when fully editable SVG is requested.
  • Run scripts/figure_accessibility_qa.py for SVG external-resource, embedded-raster DPI, grayscale separation, basic contrast, and manual review flags.
  • Use scripts/render_doc_pages.py after insertion into an existing DOCX, PPTX, or PDF.
  • Read references/canvas_profiles.md whenever delivering multiple standalone panels, a manuscript composite assembled later, or figures that will be placed into PPT slots.
  • Read references/journal_specs.md for a submission and verify the current official instructions.

Read the full file on GitHub · 220 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. 6d ago First seen · 220 lines · 102 tokens per session scan A d77d1da80680

Subscribe to this mod's changes

polish-sci-figures is a skill published in the GitHub repository zhoy0409-debug/polish-sci-figures (4 stars, last pushed 11d ago), licensed MIT. It adds 102 tokens to every session and 4,713 once invoked, about $0.0005 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

xiaobei-skill-image-to-vba

Use when users want XiaoBei skill / xiaobei-skill / 小北在读研 style academic image-to-VBA reconstruction: convert academic figures, scientific diagrams, slides, screenshots, or other images into VBA, Office drawing code, PowerPoint/Excel/Word shapes, editable shape reconstruction, 1:1 recreation, pixel-like approximation…

xiao24bei/xiaobei-skill · 86 tokens

xiaobei-skill-rebuild-image-in-powerpoint

Use when a user wants Codex to directly operate PowerPoint and reconstruct an entire reference image as editable PowerPoint objects while preserving its full layout, labels, connectors, and visual relationships. Do not use for paper-to-deck generation or VBA-only output.

xiao24bei/xiaobei-skill · 62 tokens

elsevier-figure-style

Generate, revise, and audit source-backed quantitative manuscript figures, and visually audit exported schematic/conceptual figures and graphical abstracts without redrawing them in v0.1. Use for Elsevier-style manuscript figure generation, matplotlib or ggplot2 result plots, line charts, heatmaps, bar charts, scatter…

guhou-hvi/elsevier-figure-style · 105 tokens

academic-figure

Create, advise on, or audit academic figures in four modes. advise profiles the data and recommends a chart type when none is fixed. journal-spec creates or reviews publication-ready figures for journal submission specs using matplotlib, seaborn, plotly, industrytslib, or the optional pubfig backend. from-data fills a…

bahayonghang/my-ai-cli-toolkit · 225 tokens

figmirror

FigMirror mirrors the visual style of a top-conference paper figure (NeurIPS / ICML / ICLR / Nature family) onto the user's own data. Takes dirty data plus a reference figure screenshot (cropped or uncropped), preprocesses the reference crop, runs a Drawer/Reviewer loop, and outputs a camera-ready PDF plus a…

VILA-Lab/FigMirror · 83 tokens

figmirror

This FigMirror skill should be used when the user asks to "mirror this figure's style", "copy this figure's style", "make a chart that looks like this paper", "reproduce this figure with my data", "match this paper's aesthetic", "I want a NeurIPS-quality version of this", or any variant where they hand over a cropped…

VILA-Lab/FigMirror · 140 tokens