Link checker

From qianleigood/crawclaw · View interactive version

Link checker is an AI agent skill from the GitHub repository qianleigood/crawclaw. Use when auditing webpages or URL lists for broken links, redirects, crawl health, HTTP status failures, timeouts, or link-report generation.

How to use this skill

Skill file

link-checker

Broken link finder that crawls web pages and checks all hyperlinks for HTTP errors (404 Not Found), redirects (301/302), timeouts, and connection failures. Generates detailed reports with status codes, response times, and link locations. Supports recursive crawling with depth control, domain filtering, and multiple output formats. Uses Python3 urllib — no external dependencies. Essential for website maintenance, SEO hygiene, and quality assurance.

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

Commands

| Command | Description |

| ----------------- | --------------------------------- |

| check <url> | Check all links on a single page |

| crawl <url> | Recursively crawl and check links |

| report <url> | Generate a full HTML report |

| broken <url> | Show only broken links |

| redirects <url> | Show only redirected links |

| external <url> | Check only external links |

| internal <url> | Check only internal links |

| batch <file> | Check links on multiple pages |

| summary <url> | Quick summary with counts |

Options

Examples

# Check all links on a page
bash scripts/main.sh check https://example.com

# Find only broken links
bash scripts/main.sh broken https://example.com --format json

# Recursive crawl with depth limit
bash scripts/main.sh crawl https://example.com --depth 2 --internal-only

# Generate HTML report
bash scripts/main.sh report https://example.com --output link-report.html

# Check external links only with custom timeout
bash scripts/main.sh external https://example.com --timeout 15

# Quick summary
bash scripts/main.sh summary https://example.com

Status Categories

| Category | Status Codes | Description |

| ----------- | ------------------ | ------------------------------ |

| ✅ OK | 200, 204 | Link is working |

| 🔄 Redirect | 301, 302, 307, 308 | Link redirects |

| ❌ Broken | 404, 410 | Link is dead |

| ⚠️ Error | 403, 500, 502, 503 | Server error |

| ⏱️ Timeout | — | Connection timed out |

| 🚫 Failed | — | Connection refused/DNS failure |

子代理执行策略

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.