image-seo
Skill5 starsChanged 36 days agoMITView on GitHub
Audit image SEO, descriptive alt attributes, width/height Cumulative Layout Shift (CLS) prevention, image count budgets, passive mixed-content images, and Open Graph preview images.
- Reads credentials
6 other projects use a version of this.
Adopted by
Most recently taken up by
- mozex/iminify-plugintheir own version, first seen Nov 1, 2026
- nowork-studio/notfair-plugintheir own version, first seen Oct 14, 2026
- arturseo-geo/cowork-wordpress-publishertheir own version, first seen Oct 13, 2026
- Vendbuddy/vendbuddy-skillstheir own version, first seen Oct 11, 2026
- nowork-studio/topranktheir own version, first seen Oct 8, 2026
- keupera/seo-skillstheir own version, first seen Sep 7, 2026
Used with
Projects with it also use programmatic-seo.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillprogrammatic-seo
When the user wants to create SEO-driven pages at scale using templates and data. Also use when the user mentions "programmatic SEO," "template pages," "pages at scale," "directory pages," "location pages," "[keyword] + [city] pages," "comparison pages," "integration pages," or "building many pages for SEO." For auditing existing SEO issues, see seo-audit.
Also in 3 projects that use this
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- nowork-studio/toprank★ 4.1ksame name
- nowork-studio/notfair-plugin★ 4.1ksame name
- arturseo-geo/cowork-wordpress-publisher★ 2same name
- mozex/iminify-plugin★ 1same name
- keupera/seo-skills★ 0same name
- Vendbuddy/vendbuddy-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- one-step-seoSkill
- accessibility-seoSkill
- answer-engine-optimizationSkill
- content-qualitySkill
- core-web-vitalsSkill
- duplicate-contentSkill
- ecommerce-seoSkill
- entity-optimizationSkill
- geo-optimizationSkill
- http-statusSkill
- internal-linkingSkill
- international-seoSkill
- javascript-seoSkill
- llms-txtSkill
- local-seoSkill
- onpage-optimizationSkill
- schema-validationSkill
- security-hygieneSkill
- seo-auditSkill
- seo-fixSkill
- seo-regressionSkill
- sitemap-robotsSkill
- social-metadataSkill
- technical-seoSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 0 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Run a focused media audit via --skills image-seo (aliases: images, media-seo).
- Very specific: line 30
Write concise, accurate alt descriptions for informative photos, charts, diagrams, and product shots.
- Very specific: line 32
Add intrinsic width and height attributes (or CSS aspect-ratio) to every <img> tag so browsers reserve layout space before images download.
- Very specific: line 34
When P02-img-count (P2) fires (> 20 images), add loading="lazy" and decoding="async" to below-the-fold images, serve modern AVIF/WebP with …
- Very specific: line 53
If report.page.psi is present, cite report.page.psi lab/field LCP and CLS alongside O09-img-dims and P02-img-count.
- Very specific: line 67
Never fabricate width/height pixel values without reading the actual image asset dimensions on disk or in the repo — wrong aspect ratios …
- Very specific: line 68
Never stuff keywords into alt attributes.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
image-seo — Image Optimization, Alt Text & Visual Stability
1. Description & Activation Criteria
Activate image-seo when the user wants to:
- Audit image search discoverability, screen-reader accessibility, and visual layout stability across landing pages, blogs, or product catalogs.
- Remediate missing
altattributes (O08-altP1), missingwidth/heightdimensions causing Cumulative Layout Shift (O09-img-dimsP2), excessive unoptimized<img>counts (P02-img-countP2,> 20images), missingog:image(O06-ogP2), orhttp://passive mixed-content images (T13-mixedP2). - Run a focused media audit via
--skills image-seo(aliases:images,media-seo).
2. Inputs & Prerequisites
- Target: Live URL or local HTML file/directory.
- Calibrated thresholds (
lib/checks.mjs):O08-alt(P1): Fires when1+<img>tags lack analtattribute (alt=""is valid for decorative images; omittingaltentirely fails).O09-img-dims(P2): Fires when more than50%of<img>tags lack explicitwidthandheightattributes.P02-img-count(P2): Fires when a page embeds> 20<img>elements (THRESHOLDS.imgCountMax = 20).
3. Step-by-Step Workflow
- Run an image-focused audit:
- Execute
npx one-step-seo page <url> --skills image-seo --out ./seo-report(add--psiwhenPSI_API_KEYis set to measure live LCP and CLS impact).
- Execute
- Fix missing
altattributes (O08-alt):- Inspect
report.page.imagesandO08-alt(P1) inreport.findings. - Write concise, accurate
altdescriptions for informative photos, charts, diagrams, and product shots; set explicit emptyalt=""on purely decorative icons or dividers.
- Inspect
- Eliminate image-driven CLS (
O09-img-dims):- Add intrinsic
widthandheightattributes (or CSSaspect-ratio) to every<img>tag so browsers reserve layout space before images download.
- Add intrinsic
- Optimize image count, format & loading priority (
P02-img-count,T13-mixed):- When
P02-img-count(P2) fires (> 20images), addloading="lazy"anddecoding="async"to below-the-fold images, serve modernAVIF/WebPwith responsivesrcset/sizes, and never putloading="lazy"on the above-the-fold LCP hero image (usefetchpriority="high"on the hero image instead). - Upgrade any
http://image URLs flagged byT13-mixed(P2) tohttps://.
- When
4. Tools & CLI Commands
# Single-page image SEO & CLS risk audit
npx one-step-seo page https://example.com --skills image-seo --out ./seo-report
# Multi-page crawl across media-heavy galleries or product pages
npx one-step-seo audit https://example.com --pages 20 --skills images --out ./seo-report
# Combine image HTML checks with live PageSpeed Insights LCP & CLS metrics
PSI_API_KEY=your_key npx one-step-seo page https://example.com --psi --skills image-seo,core-web-vitals5. Evidence Requirements
- Report
report.page.imagesalongside exact ratios fromO08-alt(X/Y images missing alt),O09-img-dims(X/Y without width+height),P02-img-count(N <img>),O06-og, andT13-mixedinreport.findings. - If
report.page.psiis present, citereport.page.psilab/field LCP and CLS alongsideO09-img-dimsandP02-img-count.
6. Expected Outputs
- Image Health & Stability Summary: Total
<img>count,altcoverage, intrinsic dimension coverage, HTTPS hygiene, andog:imagepresence. - Concrete
<img>/<picture>Snippets: Corrected tags with descriptivealt, intrinsicwidth/height,fetchpriority="high"for hero LCP images, andloading="lazy"for below-the-fold assets.
7. Limitations & External Data
- HTML markup vs binary byte inspection: Without
--psi,one-step-seoinspects HTML<img>attributes (alt,width,height,srcscheme, count) without downloading image binaries to check compression ratios or pixel dimensions. Pass--psi(PSI_API_KEY) for live Lighthouse image byte-savings and LCP/CLS diagnostics. - Offline support: 100% supported offline (
--offline).
8. Safety & Approval Rules
- Never fabricate
width/heightpixel values without reading the actual image asset dimensions on disk or in the repo — wrong aspect ratios distort rendered images! - Never stuff keywords into
altattributes; describe what a human viewer actually sees in the image.
9. Examples
# Inspect the image-seo skill definition
npx one-step-seo skills image-seo
# Audit an offline static build for missing alt text and missing image dimensions
npx one-step-seo audit ./dist --pages 20 --skills image-seo --offline --out ./seo-reportDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

