standardize-sci-images

standardize-sci-images is a skill for Codex from zhoy0409-debug/polish-sci-figures. It costs 94 tokens per session (1,817 once invoked), scanned A, original, MIT.

A batch-processing workflow for preparing scientific images for comparison and publication. It handles microscopy, fluorescence, histology, pathology, and electron-microscopy images while keeping the original files unchanged.

In plain words
What is it for?
Use it with CSV, TSV, or XLSX manifests to create standardized rasters, labelled previews, editable SVG panels, montages, scale bars, and CSV/JSON records of source hashes and processing steps.
Why use it?
It applies documented, consistent display settings and dimensions across a batch, reducing misleading visual differences and preserving an audit trail of what changed.

Skill for Codex

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

Good fit Use it with CSV, TSV, or XLSX manifests to create standardized rasters, labelled previews, editable SVG panels, montages, scale bars, and CSV/JSON records of source hashes and processing steps.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhoy0409-debug/polish-sci-figures/standardize-sci-images/github.svg)](https://agentmods.dev/skills/zhoy0409-debug/polish-sci-figures/standardize-sci-images)
Your own site
<a href="https://agentmods.dev/skills/zhoy0409-debug/polish-sci-figures/standardize-sci-images"><img src="https://agentmods.dev/badge/skills/zhoy0409-debug/polish-sci-figures/standardize-sci-images/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 standardize-sci-images

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhoy0409-debug/polish-sci-figures/standardize-sci-images"><img src="https://agentmods.dev/badge/skills/zhoy0409-debug/polish-sci-figures/standardize-sci-images.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,817 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.00094 $0.01817
Opus 5.5 $0.00038 $0.00727
Sonnet 5.5 $0.00019 $0.00363
Haiku 4.5 $0.00009 $0.00182

Measured 1mo ago against content hash 594a0d863b37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

standardize-sci-images 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 1mo ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/make_example_data.py, scripts/standardize_images.py, scripts/test_standardize_images.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/standardize-sci-images/SKILL.md · 86 lines

How it starts

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

Standardize Scientific Images

Prepare comparable scientific images as a documented batch. Preserve raw files, apply only declared global operations, and fail when an honest scale bar or comparable display cannot be produced.

Start with the manifest

Read references/image_contract.md, then create a CSV manifest. At minimum it needs file, output_name, and um_per_pixel when a scale bar is requested. Add batch when images were acquired under different settings. The same comparison batch must share calibration and display settings.

python scripts/standardize_images.py manifest.csv \
  --outdir standardized --scale-bar-um 20

The command center-crops every image to a common pixel canvas and writes three practical derivatives: an unannotated display raster, a labelled preview, and an SVG panel whose faithful raster content remains embedded while scale bars and text stay editable vector/live layers. It also builds a montage and writes CSV/JSON audits containing source hashes and every operation. It never overwrites the source.

The requested overlay font defaults to Arial and must be installed. Use --allow-font-fallback only for draft previews; the audit records requested font, actual font, font file, fallback status, and whether the output is allowed for final delivery.

By default, the SVG physical width is set to the largest size that preserves 300 dpi. Use --panel-width-mm only for a known final slot; the command refuses a width that would fall below 300 dpi instead of inventing pixels.

For automatic fit into a physical slot, add --fit-box-mm WIDTH HEIGHT. This sets the largest proportional placement inside both maxima while retaining at least 300 dpi. It records the achieved dimensions and effective dpi in the audit. The manifest crop and display rules still apply. If the intended result needs the entire field, keep a matching full-frame canvas or separate the images into compatible batches before fitting.

Western blot and native intensity

Read the full file on GitHub · 86 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. 1mo ago Changed · +8 lines · +3 tokens per session 594a0d863b37
  2. 1mo ago Changed · +5 lines 09222f95135c
  3. 1mo ago Changed · +12 lines · +8 tokens per session 84ae4419902f
  4. 3mo ago First seen · 61 lines · 83 tokens per session scan A 95787941184f

Subscribe to this mod's changes

standardize-sci-images is a skill published in the GitHub repository zhoy0409-debug/polish-sci-figures (134 stars, last pushed 10d ago), licensed MIT. It adds 94 tokens to every session and 1,817 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

standardize-sci-images compared with skills from other repositories

standardize-sci-images next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
standardize-sci-imageszhoy0409-debug/polish-sci-figuresSkill13410d agoMITA94Codex
xiaobei-skill-image-to-vbaxiao24bei/xiaobei-skillSkill66510d agoApache-2.0A86Codex
xiaobei-skill-academic-paper-to-pptxiao24bei/xiaobei-skillSkill66510d agoApache-2.0A202Codex
xiaobei-skill-rebuild-image-in-powerpoint-swarmxiao24bei/xiaobei-skillSkill66510d agoApache-2.0A73Codex
xiaobei-skill-rebuild-image-in-powerpointxiao24bei/xiaobei-skillSkill66510d agoApache-2.0A62Codex
elsevier-figure-styleguhou-hvi/elsevier-figure-styleSkill881mo agoMITA105Codex
academic-figurebahayonghang/my-ai-cli-toolkitSkill172d agoMITA258Claude Code, Codex