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.
npx agentmods add skills/zhoy0409-debug/polish-sci-figures/standardize-sci-imagesnpx skills add zhoy0409-debug/polish-sci-figures --skill standardize-sci-imagesgit clone --depth 1 https://github.com/zhoy0409-debug/polish-sci-figuresWrote 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.
[](https://agentmods.dev/skills/zhoy0409-debug/polish-sci-figures/standardize-sci-images)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.01075 |
| Opus 5 | $0.00042 | $0.00537 |
| Sonnet 5 | $0.00017 | $0.00215 |
| Haiku 4.5 | $0.00008 | $0.00108 |
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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 61 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, andlutsettings 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.
What ships with it
9 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.
- agents/openai.yaml 285 B
- assets/README.md 200 B
- examples/README.md 376 B
- references/image_contract.md 2.1 KB
- references/integrity_and_layout.md 2.3 KB
- references/professional_basis.md 1.9 KB
- scripts/make_example_data.py 1.9 KB runs code
- scripts/standardize_images.py 20 KB runs code
- scripts/test_standardize_images.py 4.4 KB runs code
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.
- 6d ago First seen · 61 lines · 83 tokens per session scan A 95787941184f
standardize-sci-images is a skill published in the GitHub repository zhoy0409-debug/polish-sci-figures (4 stars, last pushed 12d ago), licensed MIT. It adds 83 tokens to every session and 1,075 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.
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…
xiaobei-skill-academic-paper-to-ppt
Use for 小北在读研 / XiaoBei academic paper-to-PPT workflows: generate thesis-defense or project-report decks from uploaded papers, literature, reports, technical documents, and optional PPTX visual templates. Produces a source-grounded outline, an imagegen visual scheme, one complete bitmap per slide, an imagegen…
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.
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…
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…
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…