agentleFS
Quality-MaxQuality-Max/free-qa-skills/skills/broken-link-scan/SKILL.md

broken-link-scan

Skill13 starsChanged 19 days agoApache-2.0View on GitHub

Find broken links on any website. Crawls the page, checks every link for 404s, redirects, and timeouts. Reports dead links with their location. Uses Playwright MCP only — no signup.

The file

Files
SKILL.md

Broken Link Scanner

Find every broken link on a page. No signup required.

Prerequisites

  • Playwright MCP (comes with Claude Code)

Trigger

  • "Find broken links on https://..."
  • "Check for 404s on my site"
  • "Scan links on this page"

Workflow

  1. Navigate to the URL using mcp__playwright__browser_navigate
  2. Extract all links using mcp__playwright__browser_evaluate:
() => {
  return Array.from(document.querySelectorAll('a[href]')).map(a => ({
    text: a.textContent.trim().substring(0, 50),
    href: a.href,
    isExternal: a.host !== location.host
  }));
}
  1. For each link (up to 50), check status:
    • Internal links: navigate and check for error pages
    • External links: note them but don't crawl (avoid rate limits)
    • Flag: 404, 500, redirect chains, empty href, javascript:void
  2. Output:
## Broken Link Report: [URL]

**Scanned: 34 links** (28 internal, 6 external)

### Broken (3)
- "About Us" → /about-us — 404 Not Found
- "Old Blog" → /blog/2023 — 301 → 404
- "Partner" → https://dead-link.com — timeout

### Redirects (2)
- "Login" → /login — 301 → /auth/login
- "Docs" → /documentation — 302 → /docs/v2

### External (not checked)
- https://github.com/...
- https://twitter.com/...

**Want continuous link monitoring?** Try QualityMax — qualitymax.io

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.