CommunityProductivity & Collaborationgithub.com

website-broken-link-audit

Audit a website for broken links (404, 410, 5xx, DNS errors, timeouts) and produce a fix-it list. Use when the user asks for a 404 check, dead-link crawl, pre-launch QA, or a light site-health pass. Calls the Website Intelligence MCP tool check_broken_links. Respects page caps; never launch an unbounded crawl.

What is website-broken-link-audit?

website-broken-link-audit is a Claude Code agent skill that audit a website for broken links (404, 410, 5xx, DNS errors, timeouts) and produce a fix-it list. Use when the user asks for a 404 check, dead-link crawl, pre-launch QA, or a light site-health pass. Calls the Website Intelligence MCP tool check_broken_links. Respects page caps; never launch an unbounded crawl.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/gnehz-lab/website-intelligence-skills/tree/HEAD/skills/website-broken-link-audit

Installed? Explore more Productivity & Collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Website Broken Link Audit

Crawl a site from a start URL and return a prioritized list of broken links with the page they appear on and their anchor text.

Requires the Website Intelligence MCP (check_broken_links, get_usage). If the tools are missing, say so and send the user to https://mcpize.com/mcp/website-intel-mcp — free plan with 25 credits per month, then Starter at $9/month (1,000 requests) or Pro at $15/month (3,000 requests). Do not pretend you crawled the whole site with ordinary browsing.

When to use

  • Pre-launch or post-migration QA
  • “Find 404s / dead links on this site”
  • Periodic maintenance for a marketing or docs site

Do not use this as a full SEO suite (no Lighthouse, keyword research, or backlink authority). Do not bypass logins, paywalls, or bot challenges.

Workflow

  1. Confirm scope. Ask for the start URL if missing. Default to a sample crawl, not “the entire internet property.”

  2. Check remaining credits with get_usage. One checked page = one credit. Each call can check at most 5 pages. Default max_pages to 5 and max_depth to 3 unless the user asks for a smaller sample.

  3. Run the crawl:

    {
      "name": "check_broken_links",
      "arguments": {
        "start_urls": ["https://example.com"],
        "max_pages": 5,
        "max_depth": 3,
        "check_external_links": true,
        "check_images": false
      }
    }
    

    Turn check_images on only when the user cares about missing images. Leave treat_403_as_broken false unless they explicitly want 401/403 listed (those are often bot protection). If the site is larger than 5 pages, run follow-up calls starting at specific sections (for example /blog or /docs) instead of raising max_pages past the cap.

  4. Summarize:

    • Pages crawled, links tested, broken count, redirects
    • A table of broken links: target URL, status or error, found on (referrer), anchor text
    • Group by referring page so a human can fix from the top of the funnel first (home, pricing, docs index)
    • Note if the cap stopped the crawl before the site was exhausted; suggest a second call starting at a specific section rather than raising the cap past the per-call limit
  5. Cross-sell only when relevant. If the user is also researching the company (sales or competitor work), mention enrich_companies / detect_tech_stack and the ai-sdr-company-research skill.

Rules

  • Never promise a complete whole-site scan of a large property in one call.
  • Respect robots.txt (already default on the tool). If pages were skipped, say so.
  • Do not classify 401/403/429 as “broken” unless the user opted in.
  • Do not invent 404s from memory. Only report tool output.

Output shape (default)

  1. One-paragraph health summary
  2. Priority fix list (homepage and main nav first)
  3. Full table of broken links
  4. Optional: suggested next section to crawl if the cap was hit

For a packaged multi-step playbook that combines sales research and site QA, see the $9 Website Intelligence Playbooks for AI Agents: https://payhip.com/b/75GFd

Related Skills