standardize-sci-images

standardize-sci-images is a skill for Codex from zhoy0409-debug/polish-sci-figures. It costs 91 tokens per session (1,334 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 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,334 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.00091 $0.01334
Opus 5.5 $0.00036 $0.00534
Sonnet 5.5 $0.00018 $0.00267
Haiku 4.5 $0.00009 $0.00133

Measured 7d ago against content hash 84ae4419902f, 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 7d 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 · 73 lines

How it starts

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

Scientific integrity rules

  • Treat raw acquisition files as immutable. Write derivatives to a new directory and record source SHA-256 hashes.
  • Never invent a scale bar. Require calibration from image metadata, acquisition software, or an authoritative record.
  • Do not infer calibration from another image unless the acquisition record proves they share it.
  • Apply the same crop policy, intensity window, gamma, and LUT to images in the same comparison batch. Do not tune each experimental group separately.
  • Default to no tone adjustment. If display adjustment is needed, declare fixed display_min, display_max, gamma, and lut settings in the manifest.
  • Keep higher-bit-depth single-channel data at their native depth until display mapping. Require an explicit native-unit display window; never silently cast 16-bit data to 8-bit.
  • Preserve a quantitative image/table separately. Display normalization is not a substitute for quantitative preprocessing.
  • Do not erase, clone, selectively blur, locally enhance, or move biological structures.
  • Do not resample by default. Equalize size by a common crop. If resampling is scientifically justified, perform it in a documented downstream workflow and update calibration.

Read the full file on GitHub · 73 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. 7d ago Changed · +12 lines · +8 tokens per session 84ae4419902f
  2. 1mo 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 (58 stars, last pushed 2d ago), licensed MIT. It adds 91 tokens to every session and 1,334 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-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

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 · 255 tokens

nice-figures

Generate matplotlib figures in the soft-pastel + warm-earth visual register used by AI alignment research blogs (Anthropic-style) — bold sans-serif display titles, scatter overlaid with smoothed trends and shaded confidence bands, minimal axes, '↓better' badges, warm coral/peach/sage/blue palettes, white background by…

Mapika/nice-figures · 183 tokens