web-assets-optimization SKILL.md skillA
web-assets-optimization from firzus/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add firzus/agent-skills/web-assets-optimization@git:20261023.0c1e1f2Pins git:20261023.0c1e1f2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- firzus/agent-skills
- Path
skills/web/web-assets-optimization/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261023.0c1e1f2, committed Oct 23, 2026
- First version recorded
- Jul 22, 2026
- Size
- 13,504 bytes
- Repository stars
- 4
- License
- MIT
Audits and optimizes all web-app assets for performance: images (Sharp AVIF/WebP variants, responsive `img`/`picture`/`srcset`/`sizes`), video (ffmpeg H.264/VP9/AV1 encoding, posters, lazy loading), animated GIF replacement with video or animated WebP/AVIF, web fonts (WOFF2 subsetting, font-display, preload), and SVG (SVGO, sprites, currentColor). Builds a per-asset delivery strategy from importance, viewport placement, and LCP status (fetchpriority, lazy loading, preload, caching, CLS). Use…
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
# Web Assets Optimization Optimize the assets the app actually ships: images, video, animated media, fonts, and SVG. Prefer safe, measurable wins: smaller files, modern formats, responsive markup, stable layout, deliberate loading order, and framework-compatible delivery. Leading words for this skill: - **pipeline** — extend the project's existing asset tooling; do not replace a working optimizer. - **clean** — write final asset paths only; leave no temp folders, task-created variants, or ffmpeg two-pass logs, and no orphaned heavy sources except those the user chose to keep. - **strategy** — every asset gets a deliberate decision from the matrix in Step 3 (importance x placement x loading context); no blanket policies. - **LCP** — treat LCP candidates (hero image, video poster, CSS background) as highest priority; never lazy-load them. ## When not to use - The user wants generated artwork from prompts → use an image-generation skill. - The ask is a visual redesign with no asset-performance work. - Assets are already transformed by a CMS/CDN pipeline, unless the task is markup or config around that CDN. …
Read the whole file at its exact version.
How to install
mdr add firzus/agent-skills/web-assets-optimization@sha256:7c51ab79c63d19f1The line at the top of this page pins the label git:20261023.0c1e1f2, 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_tp4d2lrq43tvtmno)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 22, 2026 and Oct 23, 2026, about one every 46 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261023.0c1e1f2 latest | 2026-10-23 | 0c1e1f2 | 13,504 B | A | view · diff |
| git:20261023.e4fc288 | 2026-10-23 | e4fc288 | 13,376 B | A | view · diff |
| git:20260722.b16c457 | 2026-07-22 | b16c457 | 13,303 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 (13504 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
firzus/agent-skills · 4 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tp4d2lrq43tvtmno GET https://markdownregistry.com/api/v1/resolve?ref=firzus/agent-skills/web-assets-optimization GET https://markdownregistry.com/api/v1/blob/7c51ab79c63d19f149e32f5d7d5e278ba340d627cffb035f7de5c312be18b01a
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.