Install the skill above, then run this in your AI tool:
/broken-link-checker <your description>
About
Find dead internal and external links, broken anchors, redirect chains, orphan pages and broken images and sitemap URLs, and decide what to do with each one.
Source
What gets added to your project
Preview every file this package writes on install before you run the command above.
Summary
Find broken internal and external links, broken anchors, redirect chains, orphan pages, broken images, and dead sitemap URLs with squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copi...
Skill instructions
Broken Link Checker
Find dead internal and external links, broken anchors, redirect chains, orphan pages and broken images and sitemap URLs, and decide what to do with each one.
Broken links are usually a decision, not a mechanical fix: the right answer is to correct a typo, point at the new URL, remove the link, or leave it. This skill gives each finding a decision.
Before the first audit
Run squirrel --version. If it fails, install the CLI from squirrelscan.com/download (the squirrelscan skill has references/install.md). Then run squirrel auth status:
Signed out, or --offline: the audit runs on this machine, is free, and nothing is published.
Signed in: the audit is billed in credits (50 plus 2 per audited page, plus 1 per distinct external link the cloud verifies), adds the site to the user's dashboard, can turn on recurring audits and publishes an unlisted report. Tell the user the cost (squirrel credits) and get a yes. Offer --offline or --no-publish. For a site the user does not own, add --ephemeral: nothing is added to the dashboard, scheduled or published.
Every flag below is checked against the squirrel CLI docs (https://docs.squirrelscan.com/cli/audit). Rule docs: https://docs.squirrelscan.com/rules/{category}/{rule_id}.
Internal link targets the crawl did not fetch are status-checked with one request each, at every level (free). External links are checked too; --no-external-links skips them and --no-internal-links skips the internal check. --offline never requests another site.
Cost: signed in, the cloud charges 1 credit per distinct external link it verifies, up to one per page of the page budget, and nothing for a link it cannot verify. Say so before a signed-in surface or full run, and offer --no-external-links or --offline when the user only wants internal links. A link that sits behind a bot wall comes back as unverified, not broken.
Use --level full for sign-off: surface samples one page per URL pattern, so a bad link in the 40th blog post may not be seen.
The llm format lists at most 5 pages per rule. Use --format json (or squirrel report <audit-id> --format json --category links) for every broken link and every page it appears on.
Fix the asset path, or remove the dead URL from the sitemap
Never delete a link without telling the user which pages lose it. When a whole section is broken, list the pages and ask.
Where the fix usually lives
Stack
Redirects and links
Next.js
redirects() in next.config.*, links in MDX or a CMS, navigation components
WordPress
post content and menus (Appearance, Menus), a redirect manager plugin (for example the one in Yoast SEO Premium, or a dedicated redirect plugin), search-and-replace for a changed domain
Shopify
Online Store, Navigation (menus), and URL Redirects for removed products or pages
Webflow
Site settings, Hosting tab, 301 redirects; CMS item links
Cloudflare
Redirect Rules or Bulk Redirects
Vercel / Netlify
vercel.jsonredirects; _redirects or netlify.toml
Prefer fixing the source link over adding a redirect: a redirect hides the broken link and adds a hop.
Stop condition
Stop when a --level full re-audit (with --refresh) shows no broken internal links, every broken external link is fixed, removed or listed for the user with a reason, and redirect chains are collapsed. A link the tool could not verify is reported as "not checked", never "fine".
Hand off
Page content and metadata: seo-audit. The wider fix loop: audit-website. Fail a build on new broken links: website-ci-gate.
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/squirrelscan/broken-link-checker/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@squirrelscan/broken-link-checker@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: Find broken internal and external links, broken anchors, redirect chains, orphan pages, broken images, and dead sitemap URLs with squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copi...
Diagnose slow page loads with squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents, checking the largest image, render-blocking resources,...
Evaluate your site's agent experience with squirrelscan audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents, checking robots.txt bot access, content pr...
Add a squirrelscan CI check using the squirrel CLI in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents for GitHub Actions, GitLab, and preview deploys. It picks thresholds from a baseline run of squirrelscan audit rule...
Run aipm add @squirrelscan/broken-link-checker@1.0.0 in a project that has AIPM initialized.
Supported tools
@squirrelscan/broken-link-checker@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.