image-storage-optimization SKILL.md skillA

image-storage-optimization from tinh2/skills-hub-registry is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tinh2/skills-hub-registry/image-storage-optimization@v2.1.0

Pins v2.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tinh2/skills-hub-registry
Path
analysis/image-storage-optimization/SKILL.md
Versions recorded
5
Latest version
v2.1.0, committed Mar 18, 2026
First version recorded
Feb 28, 2026
Size
9,048 bytes
Repository stars
22
License
none declared

Audits and implements mandatory image resizing and compression for all uploaded user images to reduce storage costs while preserving visual quality.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

You are an image storage optimization agent. Do NOT ask the user questions.

You enforce a MANDATORY image storage optimization policy:
**PRODUCT RULE: Full-resolution original images must NEVER be stored.**

============================================================
TARGET: $ARGUMENTS
============================================================

- If $ARGUMENTS contains a file path or directory, audit that specific area for image handling code.
- If $ARGUMENTS contains a technology name (e.g., "firebase", "s3", "cloudinary"), tailor the implementation to that storage backend.
- If $ARGUMENTS is empty, scan the entire codebase for image upload/storage code and audit all of it.

============================================================
PHASE 1: DISCOVERY
============================================================

1. Scan the codebase for all image upload and storage related code:
   - Search for file upload handlers, multer/formidable/busboy middleware
   - Search for storage SDK usage (Firebase Storage, S3, GCS, Cloudinary)
   - Search for image processing libraries (sharp, jimp, Pillow, ImageMagick)
   - Search for content-type checks for image MIME types
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tinh2/skills-hub-registry/image-storage-optimization@sha256:3c21ef98274b0cd6

The line at the top of this page pins the label v2.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_iypej5n2biv6gm3m.svg)](https://markdownregistry.com/a/art_iypej5n2biv6gm3m)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Feb 28, 2026 and Mar 18, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
v2.1.0 latest2026-03-18 851800b 9,048 BA view · diff
v1.1.02026-03-06 9365a24 7,287 BA view · diff
v1.1.02026-03-01 83c0d44 7,283 BA view · diff
v1.1.02026-03-01 6a87792 7,283 BA view · diff
v1.0.02026-02-28 db7ffac 3,400 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9048 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

tinh2/skills-hub-registry · 22 stars · license none declared · pushed 2026-10-28 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_iypej5n2biv6gm3m
GET https://markdownregistry.com/api/v1/resolve?ref=tinh2/skills-hub-registry/image-storage-optimization
GET https://markdownregistry.com/api/v1/blob/3c21ef98274b0cd6eee6906c0475186226d4aedb6cbb6999ef6ac4001c2ccd41

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from tinh2/skills-hub-registry

508-audit SKILL.md skill
tinh2/skills-hub-registry · analysis/508-audit/SKILL.md · Run a full Section 508 + WCAG 2.2 Level AA accessibility audit on a federal / .gov / public-sector website or ICT…
v1.0.1 · audit A · 22 stars
actuarial-modeling SKILL.md skill
tinh2/skills-hub-registry · analysis/actuarial-modeling/SKILL.md · Analyzes actuarial modeling systems for loss reserving accuracy, premium pricing methodology, mortality/morbidity…
v2.0.1 · audit A · 22 stars
ad-yield-optimization SKILL.md skill
tinh2/skills-hub-registry · analysis/ad-yield-optimization/SKILL.md · Analyzes advertising yield across programmatic and direct-sold inventory including CPM/CPC/CPA performance, header…
v2.0.1 · audit A · 22 stars
affordable-housing SKILL.md skill
tinh2/skills-hub-registry · analysis/affordable-housing/SKILL.md · Analyzes affordable housing management software for unit allocation algorithms, waitlist management, income…
v2.0.1 · audit A · 22 stars
ai-citation-optimizer SKILL.md skill
tinh2/skills-hub-registry · analysis/ai-citation-optimizer/SKILL.md · Rewrites existing landing pages, blog posts, and documentation so AI search engines (Google AI Overviews, ChatGPT…
v1.0.1 · audit B · 22 stars
ai-citation-tracker SKILL.md skill
tinh2/skills-hub-registry · analysis/ai-citation-tracker/SKILL.md · Track brand mentions, URL citations, and share-of-voice across the 2026 AI search surface — ChatGPT (with browsing)…
v1.0.1 · audit A · 22 stars
alert-prioritization SKILL.md skill
tinh2/skills-hub-registry · analysis/alert-prioritization/SKILL.md · Analyzes SIEM alert pipelines for rule optimization, alert fatigue reduction, criticality scoring, asset-based…
v2.0.1 · audit A · 22 stars
analyze SKILL.md skill
tinh2/skills-hub-registry · analysis/analyze/SKILL.md · Deep cross-layer consistency audit for any codebase. Traces every feature from UI to database, finds broken wiring…
v2.0.0 · audit A · 22 stars
api-surface SKILL.md skill
tinh2/skills-hub-registry · analysis/api-surface/SKILL.md · Maps the entire API surface of a codebase -- route definitions, middleware chains, auth requirements, request/response…
v2.0.1 · audit A · 22 stars
app-size-optimizer SKILL.md skill
tinh2/skills-hub-registry · analysis/app-size-optimizer/SKILL.md · Analyzes mobile app binary size -- asset audit for unused images and font subsetting, code stripping with ProGuard and…
v2.0.1 · audit A · 22 stars
app-store-optimization SKILL.md skill
tinh2/skills-hub-registry · analysis/app-store-optimization/SKILL.md · Analyzes App Store and Play Store listing optimization -- keyword research, title optimization, screenshot conversion…
v2.0.1 · audit A · 22 stars
apparel-demand SKILL.md skill
tinh2/skills-hub-registry · analysis/apparel-demand/SKILL.md · Analyzes apparel demand prediction systems for trend forecasting, size curve optimization, color and style analytics…
v2.0.1 · audit A · 22 stars

Every file in tinh2/skills-hub-registry

Browse by kind, by grade A, or by owner.