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.
mdr add tinh2/skills-hub-registry/image-storage-optimization@v2.1.0Pins 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
mdr add tinh2/skills-hub-registry/image-storage-optimization@sha256:3c21ef98274b0cd6The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.1.0 latest | 2026-03-18 | 851800b | 9,048 B | A | view · diff |
| v1.1.0 | 2026-03-06 | 9365a24 | 7,287 B | A | view · diff |
| v1.1.0 | 2026-03-01 | 83c0d44 | 7,283 B | A | view · diff |
| v1.1.0 | 2026-03-01 | 6a87792 | 7,283 B | A | view · diff |
| v1.0.0 | 2026-02-28 | db7ffac | 3,400 B | A | view |
Audit of the latest version
- 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
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.