visitor-audit — user manual

← back to the landing page · source on GitHub

What it is

visitor-audit is an Agent Skill for Claude (Claude Code, Cowork desktop). It gives Claude a rigorous protocol for verifying your project's public-facing surfaces — websites, READMEs, release pages, docs, announcement posts — the way a first-time visitor experiences them.

It was born from a specific failure mode: everything a developer checks (CI, diffs, greps) can be green while the published artifact is broken for a real visitor — dead links, stale version claims, placeholder text, insider jargon. The skill replaces "the checks passed" with "a skeptical stranger clicked through everything."

Install

Claude Code / Cowork — Windows (PowerShell)

iwr -useb https://raw.githubusercontent.com/scottconverse/visitor-audit/main/install.ps1 | iex

Claude Code — macOS / Linux

curl -fsSL https://raw.githubusercontent.com/scottconverse/visitor-audit/main/install.sh | bash

Both place SKILL.md and scripts/check_links.py in ~/.claude/skills/visitor-audit/. Claude picks the skill up automatically — no restart needed in current builds. Update: re-run the installer. Uninstall: delete the folder.

claude.ai

Download visitor-audit.skill from the latest release, then upload it at Settings → Capabilities → Skills.

The only runtime requirement beyond Claude itself is Python 3.8+ for the bundled link checker (standard library only, no packages to install).

Using it

Any of these phrasings triggers the skill:

Give it a starting point — a repo URL, a site URL, a release page, or a local draft file plus the URL where it will be published (that last part matters: relative links can only be verified against the real publish location). If you don't name surfaces, Claude discovers them (site, README, releases, docs, posts) and lists them before auditing.

The audit protocol

Every surface gets exactly two jobs, both mandatory:

Job 1 — full rendered read

Claude fetches the published page (not the source file) and reads it top to bottom as its intended audience, flagging:

Job 2 — follow every link, counted

The bundled checker fetches every link to its final status. “Checked the links” becomes a number: 138 checked, 135 OK, 3 broken — with each broken link listed with its URL and status. Links that technically resolve but land somewhere unhelpful (raw file instead of a rendered page, wrong section) are findings too — Claude checks the landings, not just the status codes. Published checksums are re-derived from the actual assets.

Severity scale

LevelMeaningExamples
blockerA visitor hits a dead end or a false claim404 link, wrong version, wrong checksum
majorVisibly broken or misleadingMojibake, invisible links, pages that contradict each other
minorErodes trust or wastes a visitor's timeJargon leaks, unhelpful link landings
nitPolishTone, repetition

Every finding is also labeled confirmed (Claude fetched/clicked it) or suspected (couldn't verify — e.g. a login-walled page). Auth-walled surfaces are reported as unverifiable, never silently skipped.

The link checker

python scripts/check_links.py <URL | file.md | file.html> [--base PUBLISH_ROOT] [--json]
python scripts/check_links.py --self-test
FlagWhat it does
--basePublish root for resolving relative links. Use the site root, not the repo root.
--jsonMachine-readable output (links_checked, ok, broken, rate_limited, per-link results)
--self-testOffline self-check of extraction and resolution logic

Behavior worth knowing: HEAD with GET fallback; redirects followed (final status is what counts); HTTP 429 is reported as rate-limited/unconfirmed after one polite retry, not as broken; exit code 0 means no broken links.

The publish-root trap

The single most common false-confidence bug this catches: GitHub Pages publishes only your /docs folder, so a link like ../SECURITY.md works while browsing the repo but on the live site resolves above the site root and 404s. The checker resolves relative links against --base — the real publish root — so it fails exactly the way a visitor's click fails.

The fix loop

  1. Audit → findings ranked by severity, per-surface link counts included.
  2. You (or Claude) fix the findings.
  3. Deploy.
  4. Re-audit the live published surface — cache-busted, after the deploy has actually landed. Verifying the source file is the same proxy trap the skill exists to kill.

The audit is done when the re-check of the published artifact is clean — not when CI is green.

FAQ

Does it change anything?

No. Auditors are read-only and adversarial. Fixes only happen if you ask for them, and then the re-audit closes the loop.

What about historical pages — old changelogs, dated reports?

They correctly describe the past and aren't flagged. Only claims about the current state are audited against current facts.

Can a script do all this?

No — and that split is deliberate. Reachability is scripted (fast, exact, countable). Judgment — does this claim match the released state, does this framing mislead, does this link look like a link — is the model's half. Each covers what the other can't.

Something's wrong / it missed something

Open a thread in Discussions — especially if a real visitor caught something the audit didn't. That's exactly the feedback that improves the protocol.