What problem does it solve?
In responses that include URLs (especially image links), broken or inaccessible targets degrade user experience. This Skill validates that each URL is resolvable in the current runtime environment and accessible, preventing NXDOMAIN/403/404 errors and non-image links from appearing as usable content.
Core Features & Use Cases
- URL reachability checks: Verifies that plain URLs return a successful HTTP status within allowed redirects.
- Image URL validation: Ensures content-type is image/*, validates (when provided) minimum bytes and dimensions, and prevents thumbnails from known blocked hosts.
- Safe data handling: Detects and avoids vulnerable redirects and SSRF-like paths, returning actionable failure reasons when checks fail.
- Use Case: Before replying with a downloadable file or embedded image, run the script to confirm the link will load in a browser and meets size/dimension requirements.
Quick Start
Run the url-access-check script to verify a URL, e.g.:
- bash configs/skills/url-access-check/scripts/check_url.sh <url>
- bash configs/skills/url-access-check/scripts/check_url.sh --image <image_url>
- Optional: bash configs/skills/url-access-check/scripts/check_url.sh --image --min-short-side 768 <image_url>