broken-link-checker
von wanng-ide
Calendar & SchedulingKurzbeschreibung
verify external URLs (http/https) for availability (200-399 status code).
Beschreibung
Was dieser Skill macht
Checks a list of external URLs and reports whether each one returns a successful HTTP status code (200-399). Accepts multiple URLs as command-line arguments and outputs structured JSON with the result for each.
Accepts multiple URLs in one command and returns machine-readable JSON, making it straightforward to pipe results into scripts or CI pipelines.
Wann du ihn einsetzt
- Checking all links in a README before publishing
- Auditing external references in project documentation
- Finding dead links in a wiki or knowledge base
- Validating API endpoint URLs listed in docs
- Scanning a config file's external references before a release
Beispiel-Workflow
User asks: check these URLs for broken links: https://example.com and https://example.com/broken
- 1
Accept one or more URLs as command-line arguments
- 2
Send an HTTP GET request to each URL
- 3
Record the returned status code
- 4
Determine validity based on whether status is 200-399
- 5
Return a JSON array with url, valid, and status for each result
[{"url":"https://example.com","valid":true,"status":200},{"url":"https://example.com/broken","valid":false,"status":404}]
Installation
clawhub install wanng-ide/broken-link-checkerFühre den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.