Crawl-health check for any live site. Run this before you touch content — a site with broken basics wastes every article written on it. This skill is the standalone form of the Technical SEO Agent's checks in `agents/SKILL.md`. It runs the same checks in the same order, with the same evidence rules, so its findings merge cleanly into the orchestrator's report.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Technical Audit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loophalt-technical-audit)
# Technical Audit
Crawl-health check for any live site. Run this before you touch content — a site with broken basics wastes every article written on it.
This skill is the standalone form of the Technical SEO Agent's checks in `agents/SKILL.md`. It runs the same checks in the same order, with the same evidence rules, so its findings merge cleanly into the orchestrator's report.
## Preconditions — confirm before you start
- [ ] Target domain and production host confirmed. (If the apex blocks datacenter IPs, fetch via the host the orchestrator names for that site — canonical URLs still point at the apex.)
- [ ] Page inventory from `sitemap.xml` (or the nav, if no sitemap exists — note that as a finding).
- [ ] Sample set chosen: homepage + one page per template type (category/index, detail/listing, blog post, utility page such as contact/about). At least 5 pages total.
- [ ] Tools ready: `curl` for fetches and headers, the browser for rendered checks (mobile, JS rendering). BotView in `tools/` already fetches via curl for the same reason this skill does.
## Fetching rule (read this first)
**Use `curl --http2` to fetch pages from Cloudflare/Vercel-fronted hosts.** Plain HTTP/1.1 clients (Python `urllib`, many default libraries) get early-closed connections and 0-byte or truncated bodies from these hosts, which makes healthy pages look like they have no `<title>`, no meta, no canonical. A "site is broken" conclusion drawn from a broken fetch is the most common audit error. BotView (in `tools/`) already fetches via curl for this reason.
```bash
curl -s --http2 -L -o page.html -w "%{http_code} %{url_effective}\n" https://example.com/
```
Record the status code and final URL of every fetch. A finding without a fetch behind it is not a finding.
## Step 1 — Baseline fetch
Fetch before you judge anything. The evidence for every later step comes from this run.
- [ ] Homepage fetched with `curl --http2 -L`; record status code, final URL, redirect chain, TTFB.
- [ ] `robots.txt` fetched; record status code.
- [ ] `sitemap.xml` fetched; record status code and URL count.
- [ ] Every sampled page fetched the same way; record status code and final URL per page.
- [ ] Response headers saved for the homepage and one page per template (`curl -I`): HSTS, `X-Content-Type-Options`, `X-Robots-Tag`.
Evidence: status codes, redirect chains, headers, and the raw HTML of each sampled page, all from this run.
## Step 2 — Reachability & status codes
- [ ] Homepage returns **200** (not a redirect to a different domain unless intended).
- [ ] Sample every template type: a category/index page, a detail page, a blog post, a utility page (contact/about).
- [ ] No 404s reachable from internal links on sampled pages; no 5xx anywhere.
- [ ] Redirect chains: no URL should need more than **1 redirect** to reach its final page. Log chains (A→B→C) for collapsing.
Evidence: the status code and final URL of each fetch in Step 1; the redirect chain as logged by curl.
## Step 3 — Headers & indexability signals
- [ ] HSTS present on HTTPS responses; `X-Content-Type-Options` present.
- [ ] No HTML page served with `X-Robots-Tag: noindex` unless that page should stay out of the index.
- [ ] No `<meta name="robots">` with `noindex`/`nofollow` on pages that should rank.
- [ ] Canonical tags absolute, self-referencing on unique pages, and never pointing to a different page unless duplication is intentional.
Evidence: the saved response headers and the `<meta name="robots">` / `<link rel="canonical">` lines from the fetched HTML.
## Step 4 — On-page basics (per sampled page)
- [ ] Exactly one `<title>`, unique per page, ~50–60 chars, keyword first.
- [ ] Meta description present, unique, ~150 chars, written for humans (it's your CTR copy).
- [ ] Exactly **one `<h1>`**. (Two H1s is the single most common finding on real sites.)
- [ ] Canonical tag present and self-referencing on indexable pages.
- [ ] URL hygiene: lowercase, hyphenated, no session IDs or tracking parameters in internal links, no duplicate routes for the same content.
Evidence: the `<title>`, meta description, `<h1>` count, and canonical tag copied from each sampled page's HTML in Step 1.
## Step 5 — Crawl files
- [ ] `/robots.txt` returns 200 and its rules match intent (cross-check with the [ai-visibility skill](../ai-visibility/SKILL.md) — robots is where AI crawlers get silently blocked).
- [ ] `/sitemap.xml` returns 200, lists only canonical 200 URLs, and its URL count roughly matches the real page count. A sitemap that lags a fresh publish by 15+ minutes is normal on some stacks — verify a new page by fetching its URL directly, not by waiting for the sitemap.
- [ ] Sitemap is referenced in robots.txt and submitted in Google Search Console.
- [ ] Every URL listed in the sitemap itself returns 200 (sample at least 20, all if under 100); no redirected, 404, or noindexed entries.
Evidence: the fetched robots.txt and sitemap.xml, plus the status code of each sampled sitemap URL.
## Step 6 — HTTPS & host consistency
- [ ] HTTP → HTTPS redirect in one hop; www/non-www resolves to exactly one canonical host.
- [ ] No mixed-content warnings on sampled pages (no `http://` asset URLs in the HTML).
Evidence: the redirect chain from the HTTP fetch and the asset URLs in the sampled HTML.
## Step 7 — Rendering & mobile
- [ ] Viewport meta present; no horizontal-scroll layout signals; tap targets not crammed (rendered check in the browser).
- [ ] JS rendering: compare raw HTML vs rendered DOM for the main content — flag content that only exists after client-side hydration if it is missing from the initial HTML for a page type that should be SSR.
Evidence: the rendered DOM (browser) side by side with the raw HTML fetched in Step 1.
## Step 8 — 404 handling
- [ ] A nonsense URL returns a real 404 (not a soft-404 200), and the 404 page links back to key sections.
Evidence: the status code and body of the nonsense-URL fetch.
## Step 9 — Score and severity
Score the category out of 100 and grade each finding on the shared scale so it merges into the orchestrator's report:
- **Critical** — blocks indexing, breaks pages, or risks a penalty. Fix now. (Skill label: **blocker**.)
- **High** — measurably suppresses rankings or clicks. Fix within a week. (Skill label: **fix-soon**.)
- **Medium** — a real optimization opportunity. Fix within a month.
- **Low** — polish. Backlog. (Skill label: **minor**.)
Technical SEO carries a 22% weight in the orchestrator's SEO Health Score. Fix blockers before any content work.
## Step 10 — Output
Return findings in the shared format, one section per audit:
```markdown
## Technical Audit — Score: NN/100
### What is working
- ...
### Findings
| # | Severity | Finding | Evidence | Fix |
|---|----------|---------|----------|-----|
### Action plan
1. (Phase 1 — Critical) ...
2. (Phase 2 — High) ...
3. (Phase 3 — Medium/Low) ...
```
- [ ] Every finding names the URL, the issue, the severity, and the exact fix — and the evidence (status code, header, or HTML snippet) fetched in this run.
- [ ] No finding without evidence. A page is only "broken" or "fixed" when a fetch in this run proves it.
- [ ] Re-run the audit after fixes and record the date — an audit without a date goes stale silently.
## Standing rules
- **Verify live before reporting.** Cached copies and old reports are leads, not evidence.
- **Honesty in claims.** No invented traffic figures, ratings, or metrics anywhere in findings or fixes.
- **A "site is broken" conclusion drawn from a broken fetch is the most common audit error** — if a fetch looks wrong, re-fetch with `curl --http2` before reporting.