/squirrelscan:broken-link-checkerfrom squirrelscan
Finds broken internal/external links, broken anchors, redirect chains, orphan pages, broken images, and dead sitemap URLs using squirrelscan audit rules. Recommends fix, redirect, remove, or leave for each finding.
Ships in squirrelscan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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:
--offline: the audit runs on this machine, is free, and nothing is published.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}.
squirrel audit https://example.com --level surface \
--rule-include links,images/broken-images,reliability/broken-resources,crawl/sitemap-4xx \
--format json -o links.json
--no-external-links skips them and --no-internal-links skips the internal check. --offline never requests another site.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.--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.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.| Finding | Decision |
|---|---|
links/broken-links, links/dead-links (internal 404) | Typo or moved page: fix the link. Page removed on purpose: remove the link or add a redirect from the old URL |
links/broken-external-links | Check the URL in a browser first. Moved: update. Gone: remove the link or link an archived copy. Blocked by a bot wall: keep, it is not broken |
links/redirect-chains, crawl/redirect-chain | Update the link to the final URL; collapse chains into one hop |
links/https-downgrade | Change http:// to https:// |
links/broken-anchors, links/anchor-target-conflict | Fix the #id or add the target id |
links/orphan-pages, links/no-contextual-inbound, links/dead-end-pages | Needs an editorial choice: link to it from a relevant page, or remove or noindex it |
links/invalid-links, links/tel-mailto | Fix the malformed href |
images/broken-images, reliability/broken-resources, crawl/sitemap-4xx | 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.
| 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.json redirects; _redirects or netlify.toml |
Prefer fixing the source link over adding a redirect: a redirect hides the broken link and adds a hop.
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".
Page content and metadata: seo-audit. The wider fix loop: audit-website. Fail a build on new broken links: website-ci-gate.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
broken-links, link-checker, seo-audit, squirrelscan, site-health
npx claudepluginhub squirrelscan/skills --plugin squirrelscan13 skills in this plugin
/accessibility-auditAudit a site with squirrelscan's accessibility audit rules via the squirrel CLI or hosted squirrelscan MCP server in Claude Code, GitHub Copilot, Codex, Cursor, and other coding agents, checking accessible names, labels, ARIA, headings, landmarks, contrast, language, zoom, and target sizes. It supports an optional WCAG level filter and checklist, fixes issues by component and template, and says plainly that automated checks cover only part of WCAG and what a person must still check. Use when asked "check my site's accessibility" or "run a WCAG audit"./agent-experience-auditEvaluate 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 present without JavaScript, llms.txt, AGENTS.md, markdown responses, API discovery, and machine-readable policies. It leaves allow or block bot decisions to the site owner and focuses on how AI agents and crawlers read the site rather than visibility in AI answers. Use when asked "how well does my site work for AI agents" or "audit my llms.txt"./audit-websiteAudit a website with the squirrelscan CLI or the hosted squirrelscan MCP server and fix the findings in code. Runs SEO, performance, security, technical, content, accessibility, and 16 other rule categories (350+ rules), returns an LLM-optimized report, then drives an iterative fix loop, mapping findings to source files, applying fixes, and re-auditing until the site scores well. Use to discover and assess website or webapp issues and drive them to fixed.Other plugins' skills for the same job