Works with the AI Agents you already use

    Static Site SEO & AI-Search Fixer: llms.txt, sitemap, robots

    by Alejandro Berdonces

    1

    Your agent scans a static site folder, fixes canonical, hreflang, Open Graph and JSON-LD errors, and updates robots.txt, sitemap.xml and llms.txt, with a backup first.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    What it does

    • Backs up your site folder, then scans every HTML page for broken technical SEO
    • Fixes canonical, hreflang, Open Graph and JSON-LD errors directly in your files
    • Finds images, CSS and scripts that pages reference but are not in the folder
    • Rebuilds sitemap.xml with honest dates and leaves out pages that should not be indexed
    • Checks robots.txt for blocked AI search crawlers without replacing your rules
    • Shows a before and after comparison and a short report of every change

    Who it's for

    Developers with a static or hand-coded site

    Re-check the technical SEO layer after every change without doing it by hand.

    Try asking: “Fix the SEO of this site: ./public”

    Freelancers who build sites for clients

    Hand over a site with clean canonicals, sitemap and share cards, plus a report for the client.

    Try asking: “Check this client site before I deliver it and fix what is broken”

    Site owners who just added a language

    Pairs each page with its translation and repairs hreflang links that do not point both ways.

    Try asking: “I just added the English version. Check my hreflang”

    Static Site SEO & AI-Search Fixer: llms.txt, sitemap, robots

    Static Site SEO & AI-Search Fixer: llms.txt, sitemap, robots

    Example session with this skill installed

    Fix the SEO of this site: ./bakery-site. I just added the English version.

    • Read your context and instructions
    • Compiled the static site seo
    • Generated the image

    Backup: ./bakery-site-seo-backups/2026-12-04_1556/site

    Pages scanned: 6. Before: 8 critical, 3 warning. After: 3 critical, 2 warning.

    Changes applied

    • index.html: link class="canonical" -> rel="canonical" (the tag did nothing before)
    • index.html: og:image pointed to og.png, which is not in the folder -> og.jpg
    • index.html: hero image: removed loading="lazy", added width="640" height="360"
    • en/about.html: hreflang "en" pointed to the English home -> now the page itself
    • en/about.html: JSON-LD had a trailing comma and was being ignored -> valid

    robots.txt, sitemap.xml, llms.txt

    • robots.txt: Sitemap line added; every existing line kept. No AI search crawler is blocked.
    • AI training crawlers: kept as they were (GPTBot stays blocked by your existing rule).
    • sitemap.xml: 2 -> 5 URLs. Left out: 404.html, thanks.html (noindex). The home keeps its 2026-03-02 date because only tags changed.
    • llms.txt: first line is now a heading and links use the standard format.

    Open issues (need your decision)

    • index.html loads assets/missing.png, which is not in the folder. Remove the image or add the file?
    • en/about.html declares a Spanish version at /sobre.html, which does not exist. Is the page elsewhere, or should the entry go?
    • llms.txt has a line that gives an order to the model. It does not work and can look bad. May I remove it?

    Nothing was published or pushed. Upload the folder when you are ready.

    index.html

    PNG · 1536×1024

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    An audit tells you what is wrong on a live URL. This skill works on the folder with your HTML files and fixes it there.

    Every time a static site changes (a new page, a new language, an edited template) small technical things break: a canonical written as class instead of rel, an og:image that points to a file with another extension, an hreflang link that does not point back, a sitemap that still lists last year's pages.

    How it works

    1. Backup. It copies your site folder to a sibling folder before touching anything, and records title, canonical, hreflang, h1 and other key tags of every page.
    2. Scan. A script reads every HTML page and lists what is broken (critical), what should be fixed (warning) and what is worth a look (info).
    3. Fix. Your agent edits the pages: canonical, hreflang, Open Graph, JSON-LD syntax, wrong asset paths, image width and height read from the real file.
    4. Root files. robots.txt is merged, never replaced: your rules stay, the Sitemap line is added if missing, and you decide what to do with AI training crawlers. sitemap.xml is rebuilt from the pages that should be indexed. llms.txt is checked and its format fixed.
    5. Verify. It scans again and compares before and after, so an accidental change to an h1 or a canonical shows up in red.
    6. Report. What changed, file by file, and what is left for you to decide.

    What makes it careful

    • It never rewrites your visible text, creates pages or moves URLs. It suggests those in the report.
    • It asks before removing anything a visitor would notice: an image whose file is missing, a language version that does not exist, a line in llms.txt.
    • Sitemap dates do not move when only tags were fixed. A date changes when the text, the links or the structured data of a page changed.
    • A crawler that is already named in your robots.txt is never changed.
    • It does not push, deploy or send anything over the network. It ends with local files and a report.
    • It does not promise rankings or mentions in AI answers. It removes technical obstacles.

    Works on multilingual sites with several pages per language: it pairs pages by their real two-way links instead of assuming one page per language.

    Static sites in a local folder only: not for WordPress or other database-driven sites, and not for a live URL with no local files. Sites built by a generator are fixed in the output folder, so the changes are lost on the next build unless you apply them to the templates too. It does not write or rewrite page copy, alt text or headings; it suggests them. It does not publish, push or deploy. It cannot check images hosted on another domain or what a CDN in front of the site does with AI crawlers. Content that only appears after JavaScript runs is not read. It does not guarantee rankings, rich results or mentions in AI answers.

    For agents that can read and write files in a local folder and run Python 3.8+ (Claude Code, Codex, Cursor and similar). Three self-contained scripts, standard library only, no network access: site_snapshot.py (backup, snapshot, before/after comparison), scan_site.py (read-only page scan) and build_positioning_files.py (robots.txt check and merge, sitemap.xml rebuild, llms.txt check, optional IndexNow key file; dry run unless --write). Page fixes are made by the agent with its own file-editing tool, following SKILL.md. Reads .html and .htm files, robots.txt, sitemap.xml, llms.txt and CNAME; writes HTML pages, robots.txt, sitemap.xml and, on request, llms.txt and an IndexNow key file. The backup and working files go to a sibling folder named after the site with the suffix -seo-backups. Folders starting with a dot or underscore and node_modules are not scanned, and the scripts say so. Two reference files explain the reason behind each check and give the report template.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    PythonAgent with local file access

    Your agent must be able to read and write files in the site folder and run Python scripts. No packages to install.

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    The scripts read your HTML pages, robots.txt, sitemap.xml and llms.txt, and write the fixes and a backup copy in a sibling folder. They use only the Python standard library and never access the network. With --indexnow the script creates a key file and prints a payload; it sends nothing.

    Listedtoday

    What's inside

    Frequently Asked Questions

    No. It works on a folder of HTML files on your computer. For hosted platforms, use an audit skill instead.

    Yes, on the output folder, to see and fix what is broken. Changes made there are overwritten by the next build, so apply the same fixes to your templates.

    No. It never rewrites visible copy, headings or alt text. When a title or description is missing, it takes it from the page's own heading and first paragraph and lists it in the report for you to review.

    It keeps every existing line. It adds the Sitemap line if it is missing, tells you if an AI search crawler is blocked, and asks whether you want AI training crawlers allowed, blocked or left as they are.

    No one can promise that. The skill removes technical obstacles: pages a crawler cannot pair, share cards with no image, a sitemap with wrong dates. The content still has to earn the rest.

    Before any edit it copies the whole site to a sibling folder and tells you the path, so you can restore it. The scripts have no network access and the skill does not publish, push or deploy.

    New in Marketing & SEO

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Marketing & SEO.