site-foundation-audit
Skill10 starsChanged 7 days agoMITView on GitHub
Audit a live website's technical SEO and AI-search foundation using a deterministic Python script: raw HTML text without JS, live robots.txt (including Cloudflare-managed blocks), live AI search crawlers (OAI-SearchBot, Claude-SearchBot, PerplexityBot, Bingbot) vs training bots (GPTBot, ClaudeBot, Google-Extended), www redirect, canonicals, sitemap, and JSON-LD checks. Use before launching a site, after a CDN/Cloudflare change, or when diagnosing missing AI or Google visibility.
In this repository29 other files it gives its agents.
- ai-brand-factsSkill
- authority-mark-keyword-difficultySkill
- bing-ai-visibilitySkill
- cannibalization-checkSkill
- client-report-writerSkill
- competitor-serp-monitorSkill
- content-decay-monitor-setupSkill
- content-moat-plannerSkill
- content-refresh-briefSkill
- decision-page-writerSkill
- exceed-quality-thresholdSkill
- internal-link-builderSkill
- keyword-opportunity-finderSkill
- keyword-plannerSkill
- live-search-console-dataSkill
- proposal-builderSkill
- refresh-vs-new-contentSkill
- schema-fix-writerSkill
- seo-change-monitorSkill
- seo-content-briefSkill
- seo-content-qaSkill
- seo-growth-loopSkill
- seo-offer-architectSkill
- seo-priority-scoreSkill
- seo-start-hereSkill
- seo-strategySkill
- technical-seo-triageSkill
- title-meta-rewriterSkill
- traffic-decay-detectorSkill
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
- Distinctive: line 8
Run concrete, tool-verified checks on the live site before writing content or running Search Console playbooks.
- Very specific: line 24
Add --json for machine-readable output.
- Very specific: line 39
Audit only first. Change nothing: Run scripts/site_foundation_check.py <url> and present the PASS / WARN / FAIL table with exact status …
≈ “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.
Files
Site Foundation & AI Crawler Audit
Run concrete, tool-verified checks on the live site before writing content or running Search Console playbooks.
Why live checks matter
- Crawlers that do not execute JavaScript see only raw HTML. If your
<h1>and body copy are missing from raw HTML, AI search engines see a blank page. - Training bots are not search bots.
GPTBot,ClaudeBot, andGoogle-Extendedare for model training.OAI-SearchBot,Claude-SearchBot,PerplexityBot, andBingbotpower live search answers. Blocking the second group removes you from AI answers. - Always read the live
robots.txt, not the copy in your Git repo. Cloudflare can inject managed blocks at the top ofrobots.txtor return HTTP 403 via Bot Fight Mode.
Run the deterministic checker
Resolve scripts/site_foundation_check.py relative to this skill directory:
python3 scripts/site_foundation_check.py https://example.comAdd --json for machine-readable output. The script returns exit code 1 if any FAIL check is present and outputs PASS / WARN / FAIL proof items with zero arbitrary /100 score.
What the script verifies
- Homepage status & indexability: HTTP 200 and no
noindexin<meta name="robots">orX-Robots-Tag. - Raw HTML content (no JS): Confirms
<h1>and at least 50 words of body text exist in raw HTML. - Canonical tag: Confirms exactly one
<link rel="canonical">tag is present. - Structured data (JSON-LD): Parses every
<script type="application/ld+json">block, checks valid syntax, fails on deprecatedHowTomarkup, warns on commercialFAQPage, and flagsAggregateRating/Reviewso you verify real reviews appear on the page. www<-> apex redirect: Checks whether the alternate host cleanly 301/308 redirects to the canonical host.- Live
robots.txt& Cloudflare check: Detects Cloudflare Managed Content blocks and evaluates live search bots separately from training bots. - Live crawler HTTP probe: Sends requests as
OAI-SearchBot,Claude-SearchBot,PerplexityBot, andBingbotto confirm HTTP 200 (catches WAF / Bot Fight Mode 403 blocks). - Sitemap check: Fetches the declared
Sitemap:(or/sitemap.xml), verifies HTTP 200, valid XML, and counts<loc>entries.
Workflow
- Audit only first. Change nothing. Run
scripts/site_foundation_check.py <url>and present the PASS / WARN / FAIL table with exact status codes and lines. - Order fixes smallest-first. For each
FAILorWARN, name the exact file or Cloudflare/DNS setting, the proposed change, and how you will re-verify it. - Respect Tier-3 permissions. Show the diff and get explicit human approval before touching
robots.txt, canonicals, redirects, ornoindex. - Re-run the script after each fix to prove the check flipped from
FAILtoPASS.
Next steps
- Snapshot your verified pages before future deploys with
seo-change-monitor. - Connect live Search Console sitemap/coverage checks via
live-search-console-data(30-second RefreshAgent Google sign-in, free monthly allowance).
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
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.

