sitemap-robots
Skill5 starsChanged 37 days agoMITView on GitHub
Audit robots.txt directives, AI crawler access rules, XML sitemap discovery, sitemap index structures, and crawl coverage using one-step-seo sitemap and audit commands.
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
- image-seoSkill
- internal-linkingSkill
- international-seoSkill
- javascript-seoSkill
- llms-txtSkill
- local-seoSkill
- onpage-optimizationSkill
- schema-validationSkill
- security-hygieneSkill
- seo-auditSkill
- seo-fixSkill
- seo-regressionSkill
- social-metadataSkill
- technical-seoSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 0 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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 13
Verify whether Sitemap: directives in robots.txt resolve properly or whether a <sitemapindex> is properly structured.
- Very specific: line 30
Verify /robots.txt returns 200 OK with valid User-agent: / Allow: / Disallow: groups.
- Very specific: line 31
Check whether G02-ai-blocked fires, and inspect the exact list of blocked AI bot tokens (out of the 25 recognized AI crawlers such as …
- Very specific: line 55
When T06-sitemap fails, specify whether the file was missing (HTTP 404) or returned 200 with zero valid <loc> entries.
- Very specific: line 56
When reporting orphan pages, cite the exact URLs listed under Possibly orphaned pages in index.md.
- Very specific: line 61
Crawler Access Policy: Search engine vs AI crawler permissions (Allow vs Disallow by user-agent).
- Very specific: line 72
Never recommend exposing private admin, API, or user-account paths in robots.txt or sitemap.xml.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
sitemap-robots — Sitemap & Robots Discovery Policy
1. Description & Activation Criteria
Activate sitemap-robots when the user wants to:
- Inspect or troubleshoot
/robots.txtand/sitemap.xmldiscovery (T05-robots,T05-robots-disallow,T06-sitemap,G02-ai-blocked). - Verify whether
Sitemap:directives inrobots.txtresolve properly or whether a<sitemapindex>is properly structured. - Seed a multi-page audit from the XML sitemap (
--crawl sitemap) to uncover unlinked or orphaned pages.
2. Inputs & Prerequisites
- Target: Public
http(s)URL or local build directory containingrobots.txtandsitemap.xml. - Optional flags:
sitemap <url> --json: Fast discovery inspection without running a full page crawl.audit <url> --crawl sitemap --pages <N>: Crawl pages seeded directly from/sitemap.xml(or the firstSitemap:URL inrobots.txt).--skills sitemap-robots: Filter audit findings to robots, sitemap, and crawl-policy rules.
3. Step-by-Step Workflow
- Run discovery diagnostics:
- Execute
npx one-step-seo sitemap <url> --json. - Inspect
robotsFound,robotsSitemaps,sitemapFound,sitemapUrl,sitemapUrls,sitemapTruncated, andllmsFound.
- Execute
- Audit
robots.txtsyntax and crawler permissions (T05-robots,G02-ai-blocked):- Verify
/robots.txtreturns200 OKwith validUser-agent:/Allow:/Disallow:groups. - Check whether
G02-ai-blockedfires, and inspect the exact list of blocked AI bot tokens (out of the 25 recognized AI crawlers such asgptbot,claudebot,perplexitybot,google-extended).
- Verify
- Evaluate XML Sitemap health (
T06-sitemap):- Confirm the sitemap contains valid
<loc>entries (or plaintext URLs) and is not an HTML 404 page served with a200status. - Distinguish a standard
<urlset>(~N URLs) from a<sitemapindex>(~N child sitemaps).
- Confirm the sitemap contains valid
- Compare sitemap inventory against internal link discovery:
- Run
npx one-step-seo audit <url> --crawl sitemap --pages 20 --out ./seo-report. - Inspect the terminal output and
index.md/index.htmlfor Possibly orphaned pages (URLs present insitemap.xmlthat received zero inbound internal links from crawled pages).
- Run
4. Tools & CLI Commands
# Quick JSON check of robots.txt, sitemap.xml, and llms.txt
npx one-step-seo sitemap https://example.com --json
# Audit 20 pages seeded from the XML sitemap
npx one-step-seo audit https://example.com --crawl sitemap --pages 20 --out ./seo-report
# Focused sitemap & robots rule check on a single URL
npx one-step-seo page https://example.com --skills sitemap-robots --out ./seo-report5. Evidence Requirements
- Quote
report.site.robots,report.site.sitemap,report.site.sitemapUrls, andreport.site.llmsfromreport.json(orrobotsFound,robotsSitemaps,sitemapFound,sitemapUrl,sitemapUrls,sitemapTruncated,llmsFoundfromsitemap --json). For blocked AI crawlers, quote theG02-ai-blockedfindingevidencefromreport.findings(orsignals.robotsAiBlocked/signals.blockedBotsfromai --json). - When
T06-sitemapfails, specify whether the file was missing (HTTP 404) or returned 200 with zero valid<loc>entries. - When reporting orphan pages, cite the exact URLs listed under
Possibly orphaned pagesinindex.md.
6. Expected Outputs
- Discovery Status Summary: Status of
/robots.txt,Sitemap:declarations, resolved/sitemap.xmlURL, entry count, and/llms.txt. - Crawler Access Policy: Search engine vs AI crawler permissions (
AllowvsDisallowby user-agent). - Remediation Snippets: Ready-to-use
robots.txtorsitemap.xmlstructure fixes.
7. Limitations & External Data
- Same-origin enforcement: Sitemap URLs and child
<sitemapindex>files are filtered to the audited origin for security; cross-host sitemap seeds are ignored. - Crawl cap:
getSitemapUrlsfollows up to 5 child sitemaps in a<sitemapindex>and caps crawled pages at--pages(max 200). - External data (advisory): Live Google Search Console sitemap submission errors and index coverage ratios require GSC access.
8. Safety & Approval Rules
- Never recommend exposing private admin, API, or user-account paths in
robots.txtorsitemap.xml. - Remind users that
robots.txtDisallowprevents crawling, not indexing of linked URLs — sensitive pages must usenoindexor authentication.
9. Examples
# Inspect sitemap and robots configuration in JSON mode
npx one-step-seo sitemap https://example.com --json
# Audit sitemap-seeded pages and check for orphans
npx one-step-seo audit https://example.com --crawl sitemap --pages 15 --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.

