agentleFS
sitetillersitetiller/ai-visibility-skills/skills/images/SKILL.md

images

Skill0 starsChanged 3 days agoMITView on GitHub

Audit and fix image SEO and image performance on a page: alt text (missing versus decorative alt=\"\"), descriptive file names, width and height to stop layout shift, the lazy-loaded LCP image mistake, WebP/AVIF alternatives, srcset for phones, og:image for shared links and AI answer cards, byte sizes, and when an image sitemap helps. Use when the user asks 'image SEO', 'alt text', 'images not in Google Images', 'are my images too big', 'CLS from images', 'should I lazy load', 'WebP', 'og:image missing', or 'why no preview when I share a link'. Uses sitetiller images (and crawl for the whole site).

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check the whole site for the alt problem: npx sitetiller crawl https://example.com --max 100 --json reports images-without-alt per page.

    line 20
  2. Very specific:

    Never mark a meaningful image alt="" to silence a warning, and never stuff keywords into alt text: Google says it can be seen as spam.

    line 43
  3. Very specific:

    Do not lazy-load the hero or LCP image.

    line 44
  4. Distinctive:

    Do not rename image files on pages the user did not ask about.

    line 46

“Common” is measured: kept by at least 6 in 10 of the 3 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Images

Goal: every content image can be found, understood and loaded fast; every page has a preview image. Fix the issues that cost the most first: a lazy-loaded LCP image and missing dimensions hurt every visitor, a vague file name hurts only image search.

Steps

  1. Audit one page (start with the most visited template):
    npx sitetiller images https://example.com/guide --json
    npx sitetiller images https://example.com/guide --sizes 20 --json   # adds HEAD requests for byte sizes
    Output: images, issueCounts, ogImage, pageIssues, and list[] with src, alt, format, lazy, width, height, firstContentImage, issues[] (id, severity, detail). With --sizes: sizes[] with kb and tooLarge (over 200 KB, a review threshold of this tool, not a Google limit).
  2. Check the whole site for the alt problem: npx sitetiller crawl https://example.com --max 100 --json reports images-without-alt per page.
  3. Fix in this order:
Issue idWhy it mattersFix
lazy-lcp-candidate (high)If the first content image is the LCP element, loading="lazy" delays it (web.dev)Remove loading="lazy" from it; add fetchpriority="high"; keep lazy-loading below-the-fold images
no-dimensionsSpace is not reserved, so the layout shifts (CLS)Add width and height attributes or CSS aspect-ratio
alt-missingNo text alternative for screen readers or searchWrite alt text that describes the image in the page's context; use alt="" only for purely decorative images
legacy-format, no-srcset, tooLargeHeavier downloads, slower LCP on phonesServe WebP or AVIF via <picture> with a JPEG/PNG fallback in src; add srcset/sizes; resize to the displayed size
generic-filenameFile names give Google a weak clue about the subjectblack-kitten-sleeping.jpg, not IMG00023.JPG; keep the extension true to the file type
alt-is-filename, alt-redundant-prefix, alt-longLow-value alt textDescribe what the image shows and why it is on the page; no keyword lists
no-og-image (page)Shared links and some answer cards show no imageAdd og:image (1200x630 works widely) and an image in the page's structured data
  1. Images Google cannot see: CSS background-image is not indexed; images must be in <img src> (also inside <picture>). Keep a plain src fallback when you use srcset.
  2. Image sitemap: worth it when important images are loaded by JavaScript or sit on a CDN host; Google supports listing images on other domains. Verify the CDN host in Search Console to see crawl errors.
  3. Choosing the preview image Google shows: mark it with primaryImageOfPage, an image on the main entity, or og:image; prefer a representative, high-resolution photo over a logo or an image of text.
  4. Re-run images after the fix and compare issueCounts. For LCP impact, wait for field data (core-web-vitals, npx sitetiller crux-history).

Alt text examples

  • Bad: missing. Worse: alt="puppy dog baby dog pup pups puppies doggies". Good: alt="Dalmatian puppy playing fetch" (Google's own example).
  • Charts: say what the chart shows ("Monthly signups rose from 120 to 410 between January and June 2026"), and put the numbers in nearby text or a table too.

Guardrails

  • Never mark a meaningful image alt="" to silence a warning, and never stuff keywords into alt text: Google says it can be seen as spam.
  • Do not lazy-load the hero or LCP image; do not add fetchpriority="high" to more than one or two images.
  • Byte-size and "large file" flags are review prompts from this tool, not Google thresholds; say so.
  • Do not rename image files on pages the user did not ask about; renaming breaks existing image URLs unless redirected.
  • HEAD requests are one at a time and only to public hosts; do not raise --sizes above what the user needs.

References

  • examples/images.json: real output of this skill's command on sitetiller.com (2026-11-13), see examples/README.md.
  • references/sources.md: Google image SEO best practices, web.dev LCP and CLS guidance, checked 2026-11-13.

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.