Logo van Standardize Sci Images

Standardize Sci Images

Community
zhoy0409-debug
standardize-sci-images

Standaardisatie van wetenschappelijke afbeeldingen voor batches microscopie-, fluorescentie-, histologie-, pathologie- en elektronenmicroscopiebeelden. Gebruik deze skill wanneer de gebruiker ruwe of bewerkte wetenschappelijke rasterafbeeldingen heeft die niet-destructieve verwerking, vastgelegde tooninstellingen, gelijke afmetingen, gekalibreerde schaalbalken, manifesten, montages, controle op dubbele afbeeldingen, 图片查重 of een audittrail voor afbeeldingen vereisen. Niet gebruiken voor grafieken op basis van ruwe CSV/Excel-data of uitsluitend voor het polijsten van de lay-out van definitieve SVG's.

Add to TypingMind

Overzicht

Uitgeverzhoy0409-debug
Repositorypolish-sci-figures
Skillnaamstandardize-sci-images
Sterren
70
Forks
5
Meegeleverde bestanden
7
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 7

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door zhoy0409-debug op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Standardize Sci Images in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/zhoy0409-debug/polish-sci-figures/tree/main/skills/standardize-sci-images
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zhoy0409-debug/polish-sci-figures.git /tmp/polish-sci-figures
mkdir -p .claude/skills
cp -r /tmp/polish-sci-figures/skills/standardize-sci-images .claude/skills/standardize-sci-images
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Standardize Sci Images in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Standardize Sci Images automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Standardize Sci Images niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

bash
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 references/integrity_and_layout.md before processing fluorescence composites, electron micrographs, unequal calibrations, or images used for quantification.

Layout rules

  • Use one target canvas per comparison set, with identical output pixel dimensions and equal gutters.
  • Use one physical SVG panel size per slot class and verify effective raster dpi at that final size.
  • Use the same scale-bar length and placement within a comparable batch when it fits the shared field of view.
  • Center the scale-bar label over the bar; do not right-align it to the bar endpoint. Keep this alignment and type size identical across the batch.
  • Keep scale bars inside a safety margin and choose black or white from the local background for contrast.
  • Do not add panel letters, serial numbers, per-image titles, or conclusions by default. Add only explicitly requested sample labels that are necessary to interpret the image.
  • Keep captions, acquisition settings, and interpretation outside the image montage.
  • Do not stretch images to make them fit. Crop consistently and record the crop box.
  • Keep scale bars and their labels editable in the SVG delivery layer. Treat the underlying scientific image as faithful raster content, not as a fully vector-editable object.
  • Judge scale-bar and sample-label size in the final panel or montage, not while zoomed into the source. Use one readable label hierarchy and baseline within each slot class.

Check the batch for reused images

When the user asks for image QA or before assembling a batch of scientific images, screen the available source images for accidental reuse using the complete suite from its root:

bash
python sci_figures.py duplicates image-a.png image-b.tif image-c.png --out image-check

Compare 2–60 raster images per batch. For a source-batch check, choose one source per acquired image instead of mixing its raw file with known display derivatives. Supply source images or individual image panels; a flattened montage remains one image and is not automatically divided into panels. SVG-embedded raster images can also be screened. Preserve raw files, calibration and processing records throughout. For larger sets, document which batches were compared; independent batches do not check pairs spanning different batches.

Review exact duplicates and suspected rotated, flipped, resized or cropped overlaps against original files and acquisition records. Related channels and deliberately reused controls can match legitimately. Retain matching evidence and the report; do not automatically delete, alter or relabel images. Report findings as candidates for review, not misconduct determinations, and do not treat no detected matches as a guarantee of uniqueness. See the image duplicate guide.

Finish with the polish skill

Use $polish-sci-figures for final multi-panel grid assembly, font selection, whitespace control, overlap checks, and placement in the manuscript or slide. A visually aligned montage does not pass if calibration, processing provenance, or comparability is unresolved.

Read references/professional_basis.md for the image-integrity, publication-layer, calibration, metadata, and reporting sources behind these safeguards. The implementation is original to this repository.

Acceptance gate

Do not deliver if any raw file was changed, calibration is absent or guessed, comparison-batch display settings differ, crops remove different scientific regions without justification, outputs differ in size, a scale bar is clipped, incorrect, or too small at final size, or unrequested labels/titles/serial numbers appear.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Standardize Sci Images?

Standaardisatie van wetenschappelijke afbeeldingen voor batches microscopie-, fluorescentie-, histologie-, pathologie- en elektronenmicroscopiebeelden. Gebruik deze skill wanneer de gebruiker ruwe of bewerkte wetenschappelijke rasterafbeeldingen heeft die niet-destructieve verwerking, vastgelegde tooninstellingen, gelijke afmetingen, gekalibreerde schaalbalken, manifesten, montages, controle op dubbele afbeeldingen, 图片查重 of een audittrail voor afbeeldingen vereisen. Niet gebruiken voor grafieken op basis van ruwe CSV/Excel-data of uitsluitend voor het polijsten van de lay-out van definitiev...

Waarom Standardize Sci Images gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Standardize Sci Images bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Standardize Sci Images in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/zhoy0409-debug/polish-sci-figures/tree/main/skills/standardize-sci-images. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Standardize Sci Images gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Standardize Sci Images gebruiken?

Zoveel als je wilt. Je kunt Standardize Sci Images gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Standardize Sci Images gratis?

Ja. Deze skill is door zhoy0409-debug op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇