Guide · Agent skill
How to use the Broken External Links Checker agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The broken-external-links skill is a set of instructions that teaches an AI agent how to find links on a web page that point to other sites and return error codes (4xx or 5xx), then fix them by updating the URL or removing the link. It is aimed at web developers, SEO and content teams, and anyone maintaining a blog or documentation site with many outside references. By the end of this guide you will know what the skill does, how to install it, how to ask for it in plain language, and where its limits are.
Quick start
- 1Download the ZIP. Get the broken-external-links ZIP from this page and unzip it.
- 2Choose a location. Place the folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder for one project.
- 3Or upload in the Claude apps. If you use the Claude apps, go to Settings → Capabilities → Skills and upload the skill.
- 4Make a request. Ask the agent in plain language to check external links on a named page or folder.
- 5Review the results. Check which URLs were tested, their status codes, and the changes proposed.
- 6Apply and verify fixes. Update or remove broken links, then confirm the replacement URLs load.
What the skill makes the agent do
An agent skill is a folder containing a SKILL.md file with instructions that an AI agent loads when a task matches the skill's description. This one covers outbound links: the agent is asked to scan a page for external links that lead to 404 pages or other error states, update each broken link to a working URL or remove it if the resource no longer exists, and avoid linking to expired domains that may have been repurposed.
The skill also explains why this matters. Broken links create a poor user experience and can signal to search engines that content is outdated or poorly maintained. For code reviews, the skill asks the agent to check rendered HTML, structured data and response headers, and to verify the final page output rather than trusting source files alone.
- Finds external links returning 4xx or 5xx status codes
- Suggests replacing each broken link with a current URL or removing it
- Checks rendered HTML and HTTP responses, not only source files
Install the skill from the ZIP download
Download the ZIP for this skill from this page and unzip it. You can then place the folder in one of two locations. For a personal setup that works across projects, put it in ~/.claude/skills/. To limit it to a single project, put it in that project's .claude/skills/ folder.
If you use the Claude apps instead of a local setup, you can upload the skill under Settings → Capabilities → Skills.
- Personal: ~/.claude/skills/broken-external-links/
- Project only: .claude/skills/broken-external-links/ inside your project
- Claude apps: Settings → Capabilities → Skills, then upload
Trigger the skill with natural requests
You do not need a special command. The agent decides to use the skill when your request matches its description, which covers auditing outbound links and fixing or removing broken external links. Name the page or files and say what you want done. Clear requests work best, such as asking for a review before launch or a cleanup of an older article.
The skill's description also mentions metadata, crawlability, structured data and indexability. Requests on those topics may bring it into play, so mention link checking explicitly if that is your goal.
- "Check the external links in content/blog/launch-post.md and fix any that return 404."
- "Review this page for broken outbound links before we publish. Remove any that are dead."
- "Audit the references in our docs folder for link rot and suggest replacements."
What the skill needs and how it works
The skill lists no required tools or packages. It does not run scripts. It does use the network, because checking whether a link is broken means requesting the target URL. The skill's text is mostly guidance, and the detailed implementation is in references/rule.md, which includes an HTML example of good and bad link usage. The skill itself does not include a crawler, so the agent must build or run its own checking method.
Expect the agent to rely on its own tools to make HTTP requests. Ask it to report which URLs it checked and what status each returned, so you can confirm the results yourself.
- Files: SKILL.md and references/rule.md
- Runs scripts: no
- Uses network: yes
- Estimated time in the metadata: 10 minutes, at intermediate difficulty
Safety notes on scripts and network use
The skill does not run scripts, but the agent will send HTTP requests to third-party servers when it checks links. Only ask for checks on sites you are allowed to audit, and be aware that many requests to other sites can be slow and may be rate-limited or blocked.
Because the skill has no crawler, scanning large sites means the agent must write its own tooling. Review any code it produces before running it. Links loaded by JavaScript or hidden behind logins may be missed, so do not treat a clean result as a guaranteed complete audit.
- Only audit sites and servers you have permission to query
- Expect slowdowns or blocks on large scans
- Review agent-written crawling code before running it
- Treat results as likely but not guaranteed complete
Tips for better results
Give the agent a bounded scope, such as one article or one folder, rather than an entire site. Ask it to verify the rendered page and the HTTP response, since the skill recommends that over reading source files. When a link is dead, ask for a replacement from a live source or for the link to be removed, and check that replacements actually resolve.
- Start with one page to see how the agent reports results
- Ask for the status code of each link checked
- Check replacement URLs yourself before publishing
What people use it for
- Reviewing a web developer's pages for outbound broken links before launch
- Auditing older blog posts or articles for link rot
- Cleaning up external references in a documentation site
- Checking that a page does not link to expired domains that may have been repurposed
Frequently asked questions
How do I install the broken external links skill?
Download the ZIP from this page and unzip it. Place the folder in ~/.claude/skills/ for personal use, or in a project's .claude/skills/ folder to limit it to one project. In the Claude apps, you can instead upload it under Settings → Capabilities → Skills.
Does this skill have any requirements?
The skill lists no required tools or packages. It does not run scripts, but it does use the network, because checking links means requesting their URLs.
Is the broken external links skill free?
The skill is published under the MIT licence. This page does not state pricing for the wider Claude product, so check the Claude plan you use for any cost details.
Can the skill crawl my whole site automatically?
Not by itself. The skill contains guidance and no crawler script, so the agent would need to build or run its own method. Scanning many URLs can be slow and may be rate-limited or blocked.
Why does the agent need to check the rendered HTML and HTTP response?
The skill recommends verifying the rendered HTML and HTTP responses rather than relying only on source files. A link in source code can look fine while the live page or server response shows an error.
Will this find every broken link?
Not guaranteed. The agent may miss links loaded by JavaScript or those behind logins, so treat the result as a strong check rather than a complete audit.
How does this compare to a dedicated link checker?
The source does not compare this skill with other tools. A dedicated crawler is better suited to large sites at scale, while this skill suits reviewing a page or folder through an agent.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use this skill if you want an AI agent to review a page, article or docs folder for outbound links that return 4xx or 5xx errors and to propose fixes. Pick a dedicated crawler or a purpose-built link checker if you need complete, large-scale audits, or if you cannot have an agent send many requests to third-party servers.
Download the skill