link-verification
Installation
SKILL.md
Link Verification
Check every external link before publishing a page or sending a digest that carries URLs. A dead link on a published page is a failed action for every reader, and it is cheap to catch before deploy.
When to use
- Building or publishing any HTML page or site with outbound links (here.now sites, blog posts, dashboards, r/Feed).
- A curl or web_extract check returns 403 or 404 and you need to decide: dead link or bot-blocking?
- Digest-style deliverables and published posts (cron reports, newsletters, weekly posts, social posts) that cite URLs. In a post or digest the citations ARE the deliverable's provenance, so a link you cannot confirm is a claim you cannot make.
Workflow
-
Collect the URLs from the built page (not just the source, in case of templating):
grep -oE 'href="https?://[^"]+"' index.html | sed 's/href="//;s/"//' | sort -u > urls.txt -
Check each with GET and a real browser UA. Some sites reject HEAD; some reject curl's default UA.