agentleFS
mavrin-xvmavrin-xv/seo-operator/skills/site-health/SKILL.md

site-health

Skill0 starsChanged 13 days agoMITView on GitHub

Checks the technical health of a website and says what is broken, in order of cost. It crawls the site and sitemap, then probes the live site for the failures a crawl report hides, such as soft 404s, robots.txt groups per crawler, AI crawlers blocked at the CDN, redirect chains and pages that render only in JavaScript. It also finds near-duplicate pages where only a town or product name was swapped. Use when the user asks for a technical SEO audit, "why is this page not indexed", "are AI bots blocked", "check robots.txt", "find broken links", or after a migration or redesign.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. arturseo-geo/cowork-wordpress-publisher★ 2same 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 repository7 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Read AI crawler rows by job: Search and user-fetch crawlers must be allowed: blocking them removes the site from AI answers.

    line 20
  2. Very specific:

    Check for swapped-name pages: when the site has many location or product pages: python3 scripts/overlap.py pages/ --names …

    line 21
  3. Distinctive:

    Do not call orphans zero on a capped crawl.

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Site health

Find what stops search engines and AI assistants from reading the site, and fix it in cost order. Every check ends in FAIL, ok, or not checked with a reason. A check that could not run is never reported as fine.

Inputs

  • The site's home URL, and the state folder if the seo-operator loop runs on this site.
  • Optional: specific URLs to trace (old URLs after a migration, a money page).
  • Optional: a folder of page files (markdown or HTML) to test for near-duplicates.

Steps

  1. Crawl. python3 ../seo-operator/scripts/seo_crawl.py <site> --max 300 writes health/<date>.json (from the repo root: skills/seo-operator/scripts/seo_crawl.py). On a site with more pages than the cap, raise --max or accept that orphans are reported as not measured.
  2. Probe the live site. python3 scripts/site_probe.py https://acme-coffee.com/ --snapshot .seo/acme-coffee/health/2026-11-18.json --url https://acme-coffee.com/old-page. The probe adds the checks a crawl cannot make (soft 404, robots groups per crawler, edge blocks, JavaScript-only pages, redirect chains) and reads the snapshot's issue lists. Check IDs and what each one means: references/check-ids.md.
  3. Read AI crawler rows by job. Search and user-fetch crawlers must be allowed: blocking them removes the site from AI answers. Training crawlers are a policy choice for the owner. Which bot does what: references/ai-crawlers.md.
  4. Check for swapped-name pages when the site has many location or product pages: python3 scripts/overlap.py pages/ --names "Downtown,Riverside,Uptown". Pairs above the threshold (default 0.30 of the smaller page's sentences shared) are near-duplicates. Merge them or give each page its own facts.
  5. Order the fixes by cost to traffic:
    1. site-wide blocks (robots Disallow: / for a search bot, an edge block, noindex on the home page);
    2. money pages broken, redirected, or noindexed;
    3. canonicals to bad targets, noindex pages in the sitemap, sitemap URLs not 200;
    4. internal links to redirects and redirect chains;
    5. orphans, depth, missing descriptions, missing schema;
    6. speed and weight, only after 3 crawls agree.
  6. Write the fix list with the exact change per item (the line to remove from robots.txt, the link to repoint). If the seo-operator loop runs, register each fix: seo_register.py add <site> --target /path --kind link-fix (or sitemap, schema, internal-link, speed). Link-fix and sitemap actions verify from the next crawl.

Gates

  • Report "not checked" with the reason for every check that could not run (a 403 to the probe, a timeout, a capped crawl). Never fold it into "ok".
  • An edge block counts only when the bot gets 401, 403, 429 or 503 and the browser request gets 200 on the same URL in the same run.
  • Do not call orphans zero on a capped crawl.
  • A user-agent string can be spoofed by anyone, and the CDN may treat a real crawler differently from this probe. Confirm a suspected edge block in the CDN's bot logs or firewall events before you change rules.
  • Robots rules are read per group: a bot with its own group ignores the * group entirely.

Output

FAIL (1)
  internal_links_to_redirects  1 page(s), first: https://acme-coffee.com/wholesale
Checked, fine (31)
  soft_404                     made-up URL answers 404
  robots_groups                GPTBot (training): blocked via own group
  ai_blocked_at_edge           OAI-SearchBot gets 200 (browser 200)
  ...
Not checked (0)

Then the fix list in cost order, one line each: check, URL, exact change, who applies it. Full example: examples/acme-coffee/site-probe.txt (run against the fixture site in examples/acme-coffee/site).

Failure modes

TrapWhat it looks likeInstead
Allowed in robots, blocked at the CDNrobots.txt is fine, yet AI answers never cite the siteai_blocked_at_edge compares bot and browser status
Blocking all AI bots at onceone rule for GPTBot, OAI-SearchBot and ChatGPT-Usersplit by job; block training if the owner wants, keep search and user-fetch
Soft 404deleted pages answer 200 with "not found" textthe made-up URL probe catches it; return 404 or 410
JavaScript-only pageraw HTML has a few words, content arrives by scriptserver-render or pre-render the main text
Trailing-slash redirect on every link/wholesale links to /wholesale/ with a 301link to the final URL directly
Fixing speed from one crawlone slow run after a deploywait for 3 crawls
Swapped-name pages20 town pages share most sentencesmerge, or give each page real local facts

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.