polish-sci-figures

polish-sci-figures is a skill for Codex from zhoy0409-debug/polish-sci-figures. It costs 107 tokens per session (7,252 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: reads ~/.codex paths; mentions Codex; $skill-name invocation.

Good fit Use it to polish existing SVG, PDF, or PNG figures and multipanel layouts, inspect the exported result, and package portable source files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zhoy0409-debug/polish-sci-figures/polish-sci-figures
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 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/github.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/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 polish-sci-figures

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,252 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.00107 $0.07252
Opus 5.5 $0.00043 $0.02901
Sonnet 5.5 $0.00021 $0.01450
Haiku 4.5 $0.00011 $0.00725

Measured 4d ago against content hash 4fa03c9fe20b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 4d ago.

The scan reads SKILL.md. This mod also ships 44 executable files (assets/figure-studio/alignment-icons.js, assets/figure-studio/axis-editing.js, assets/figure-studio/axis-settings-ui.js, …), 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 · 280 lines

How it starts

The opening of the file, as written. The whole thing — 280 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.

Accept everyday requests such as “帮我把这张表画成适合论文的图”. Inspect the input first, present a few suitable candidates with plain-language explanations, and ask only for consequential facts the data cannot establish. Let users make routine appearance changes directly in Studio without another model call; do not require specialist vocabulary or a structured prompt.

Verify the agent's Python runtime first

Before running a bundled Python script, choose and verify an existing interpreter yourself. Prefer the current project's .venv/Scripts/python.exe (Windows) or .venv/bin/python, then a runtime exposed by the host's dependency tools; only then inspect registered Python launchers or python3. Do not assume that bare python is Python 3, or that a host-bundled interpreter includes scientific packages. Read-only checks should try the next available candidate before asking the user to install anything.

First run the candidate with -c "import sys; print(sys.executable); print(sys.version); sys.exit(0 if (3,10) <= sys.version_info[:2] <= (3,12) else 2)". For a supported interpreter, actually import numpy, pandas, scipy, matplotlib, openpyxl and PIL; a package-directory listing is not a successful import. If the full suite is present, run that interpreter's sci_figures.py doctor --font SELECTED_FONT --json for the remaining font and environment checks. Reuse the verified executable for every command and subprocess, with -X utf8 on Windows; python in examples means this verified executable.

If no candidate passes, identify the specific missing runtime/package and propose a task-local environment or the installed Figure Studio option. Do not modify PATH, install into the global interpreter, or ask a novice to guess executable paths. Runtime checks are the agent's work; the user's ordinary-language request is sufficient.

Read the full file on GitHub · 280 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago Changed · +8 lines 4fa03c9fe20b
  2. 6d ago Changed · +4 lines ea631331745b
  3. 7d ago Changed · +12 lines · +8 tokens per session f3311ce0256b
  4. 8d ago Changed · +32 lines · -3 tokens per session 1d28ee429064
  5. 17d ago Changed · +4 lines 9655bbe92752
  6. 1mo 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 (58 stars, last pushed 2d ago), licensed MIT. It adds 107 tokens to every session and 7,252 once invoked, about $0.0004 per session on Opus 5.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-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

xiaobei-skill-image-to-vba

An image-to-VBA skill that converts academic figures, diagrams, screenshots, and slides into Office drawing code and editable shapes. VBA is the programming language built into Microsoft Office.

xiao24bei/xiaobei-skill · 86 tokens

xiaobei-skill-academic-paper-to-ppt

A workflow that turns academic papers, reports, and technical documents into presentation slides, optionally following a supplied PowerPoint template. It creates a written outline, full-slide images, and a PowerPoint file.

xiao24bei/xiaobei-skill · 101 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-plotting

Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates data-driven figures via matplotlib/seaborn.…

brycewang-stanford/Auto-Empirical-Research-Skills · 68 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 · 255 tokens