site-mapping
Skill136 starsChanged 3 months agoMITView on GitHub
site-mapping — Map out a website's full structure — sitemaps, navigation, URL taxonomy, content inventory.
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
- Distinctive: line 31
Check these in order:
- Very specific: line 38
Use browser_console with JS to fetch and parse XML sitemaps — DO NOT rely on reading rendered HTML tables (they truncate):
- Very specific: line 72
Use document.querySelectorAll('nav .sub-menu li a') and footer a
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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
Site Mapping
Map the complete structure of a website: extract all URLs from sitemaps, analyze navigation hierarchy, classify content by section, and produce a structured overview.
When to Use
- User asks to "map out," "audit," or "review" a website's structure
- Need to understand a site's URL taxonomy, content sections, or SEO footprint
- Preparing competitive analysis, content gap assessment, or migration planning
Workflow
1. Discover sitemaps
Check these in order:
https://site.com/sitemap.xml(may redirect tositemap_index.xml)https://site.com/robots.txt— look forSitemap:directive- Common patterns:
/page-sitemap.xml,/post-sitemap.xml, numbered variants (sitemap2.xml)
2. Extract URLs programmatically
Use browser_console with JS to fetch and parse XML sitemaps — DO NOT rely on reading rendered HTML tables (they truncate):
(async()=>{
const urls=[];
for(const sm of ['page-sitemap.xml','post-sitemap.xml']){
const r=await fetch('https://site.com/'+sm);
const t=await r.text();
const parser=new DOMParser();
const doc=parser.parseFromString(t,'text/xml');
doc.querySelectorAll('loc').forEach(l=>urls.push(l.textContent));
}
return urls;
})()3. Classify by path segments
Group URLs by first/second path segment to identify sections:
const paths={};
urls.forEach(u=>{
const path=u.replace('https://site.com/','');
const parts=path.split('/').filter(Boolean);
// Group by [product][section] pattern
});4. Extract navigation structure
From the homepage, pull:
- Primary nav menu items (expand dropdowns)
- Footer links
- Use
document.querySelectorAll('nav .sub-menu li a')andfooter a
5. Produce structured output
Deliver as a table or hierarchy showing:
- Section name | URL prefix | Page count | Notes
Pitfalls
- Don't guess the URL — if the user says "I have a site" without naming it, ask for the URL first. Do not assume based on context (e.g., assuming
acme.combecause the user works at Acme Corp). - Reddit is not sitemap-mappable in the normal sense —
old.reddit.com/robots.txtcurrently disallows/, and Reddit's useful structure is operational surfaces (old.redditHTML,.jsonendpoints, new Reddit SPA verification), not public XML sitemaps. For Reddit, load a Reddit-specific browsing skill (e.g. reddit-browse-and-post) and use it instead of crawling sitemaps. - Sitemap HTML tables truncate — Yoast-generated sitemaps render as HTML tables but cut off after ~100 rows. Always fetch raw XML via
fetch()+ DOMParser in browser_console. - Image/media URLs pollute counts — filter out
/wp-content/uploads/and similar asset paths when counting "pages." - Multiple sitemap files — Yoast commonly splits into numbered variants (
page-sitemap.xml,page-sitemap2.xml). Check the index file to find all sub-sitemaps. - web_extract on XML returns summarized markdown, not raw data — for sitemaps specifically, use browser_console fetch instead.
Output Format
User expects a concise structured overview — table or hierarchy with section names, URL prefixes, page counts, and brief notes. No narrative preamble beyond the total scale.
Other versions1 project uses a version of this.
Word for word · 1
- AtlasOmnia/hermes-custom-pack★ 75100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository72 other files it gives its agents.
- AGENTS.mdAGENTS.md
- apple-remindersSkill
- imessageSkill
- macos-app-automationSkill
- macos-storage-managementSkill
- hermes-agentSkill
- hermes-config-editingSkill
- hermes-context-optimizationSkill
- hermes-overnight-autonomySkill
- hermes-plugin-evaluationSkill
- hermes-session-maintenanceSkill
- local-model-selectionSkill
- opencodeSkill
- computer-useSkill
- claude-designSkill
- content-styleSkill
- marketing-collateral-designSkill
- dogfoodSkill
- codebase-inspectionSkill
- github-authSkill
- github-code-reviewSkill
- github-issuesSkill
- github-pre-push-gatesSkill
- github-pr-workflowSkill
- github-readme-maintenanceSkill
- github-repo-managementSkill
- github-workflowsSkill
- local-app-github-publishingSkill
- meal-trackerSkill
- hermes-desktop-pluginsSkill
- hermes-mnemosyneSkill
- hermes-self-evaluationSkill
- hermes-starter-onboardingSkill
- messaging-gateway-troubleshootingSkill
- mnemosyne-maintenanceSkill
- hermes-nightly-self-check-decisionsSkill
- hermes-plugin-developmentSkill
- skill-auditorSkill
- hermes-themesSkill
- notes-automation-workflowsSkill
- daily-note-wrapupSkill
- obsidianSkill
- vault-organizationSkill
- product-competitor-analysisSkill
- destination-trip-planningSkill
- discord-connectSkill
- domestic-trip-planningSkill
- google-workspaceSkill
- mapsSkill
- notionSkill
- office-document-reviewSkill
- session-artifact-indexingSkill
- daily-news-digestsSkill
- dynamic-content-extractionSkill
- evidence-based-repliesSkill
- external-model-reviewSkill
- hf-model-card-researchSkill
- local-discoverySkill
- marketplace-purchase-vettingSkill
- source-verificationSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

