link-rot-detection

Extract and health-check external URLs in markdown content trees.

1|Updated May 6, 2026
One-click install
npx skills add https://github.com/jacob-balslev/skill-graph --skill link-rot-detection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: link-rot-detection
Source: https://github.com/jacob-balslev/skill-graph/tree/main/examples/projects/markdown-static-site/skills/link-rot-detection
Command: npx skills add https://github.com/jacob-balslev/skill-graph --skill link-rot-detection

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents slow link degradation in markdown content by finding external links that have become unreachable, dead, or incorrectly redirected before users encounter them.

Core Features & Use Cases

  • Link extraction across markdown content: Scans .md and .mdx to extract both inline and reference-style links, then classifies internal versus external targets to avoid false positives.
  • HTTP health checks with redirect and transient handling: Interprets status codes to record redirects, retry transient failures, and flag persistent dead links like 404/410.
  • Soft-404 detection and structured reporting: Detects “unknown page” interstitials even when the status is 200, and produces a JSON report plus a markdown summary suitable for audit artifacts.

Quick Start

Use the link-rot-detection skill to run a nightly scan of your markdown content and generate a link-health report for broken external links.

Frequently Asked Questions about link-rot-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find broken external links in a markdown documentation repository?

Broken external links in markdown are found by extracting URLs from `.md` and `.mdx` files and running HTTP health checks against them. This process classifies internal versus external targets to avoid false positives and flags unreachable references.

What is link rot and how do I detect it in markdown content?

Link rot is the gradual degradation of external URLs becoming unreachable or dead over time. You detect it by parsing markdown content trees for external references and performing HTTP status checks to identify persistent failures like 404 or 410 errors.

How do I detect soft 404 pages during a content link audit?

Soft 404 pages are detected during a link audit by analyzing HTTP responses for "unknown page" interstitials even when the server returns a 200 status code. This prevents falsely validating links that point to placeholder error pages.

Can I run scheduled broken link checks on markdown files?

Yes, scheduled broken link checks are supported for periodic link-health maintenance workflows. The skill applies retry and backoff politeness for transient failures, making it suitable for nightly scans and CI-like reviews of content repositories.

How do I generate a link health report for dead markdown URLs?

A link health report for dead URLs is generated as both a JSON report and a markdown summary. These structured outputs record redirects, transient failures, and persistent dead links, making them suitable as audit artifacts.

Does broken link detection handle HTTP redirects and transient failures?

Broken link detection handles HTTP redirects by recording them during health checks, and manages transient failures using retry and backoff strategies. This ensures links are accurately verified before being flagged as dead.