link-checker
Installation
SKILL.md
Link Checker
Validate links in HTML files and report issues: broken links (404/500), redirects, slow responses, and affiliate link status.
What This Skill Does
- Scans all HTML files in a given directory
- Checks each link (internal + external) for HTTP status
- Identifies broken (4xx/5xx), redirected (3xx), and slow links (>5s)
- Groups links by type: internal, external, affiliate
- Outputs a clean markdown report sorted by severity
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
SITE_DIR |
Yes | — | Directory containing HTML files to scan |
LINK_CHECK_TIMEOUT |
No | 10 |
Max seconds to wait per link |
AFFILIATE_DOMAINS |
No | see below | Comma-separated affiliate domains to flag |