← Back to Skills Marketplace
xueyetianya

Link Checker

by bytesagain4 · GitHub ↗ · v2.1.0 · MIT-0
cross-platform ✓ Security Clean
973
Downloads
0
Stars
12
Active Installs
11
Versions
Install in OpenClaw
/install link-checker
Description
Crawl web pages and detect broken links, redirects, and HTTP errors. Use when auditing site links, finding 404 errors, validating URLs before launch.
README (SKILL.md)

Link Checker

Check URLs for HTTP status codes, find broken links in documents, and track link health over time. Feed it a single URL, a file full of links, or a batch of addresses — it hits each one with curl, records the status code, and tells you what's alive and what's dead. Results are stored in ~/.link-checker/ so you can review history, pull stats, and export reports.

Commands

check

Check a single URL. Sends an HTTP HEAD request and returns the status code.

link-checker check \x3Curl>

Output includes status code, a human-readable label (OK, REDIRECT, CLIENT_ERROR, etc.), and an icon.

scan

Extract all URLs from a file (markdown, HTML, plain text — anything with http:// or https:// links) and check each one.

link-checker scan \x3Cfile>

Uses grep to pull URLs, deduplicates them, then checks each. Prints a summary at the end with pass/fail counts.

batch

Check multiple URLs in one go. Pass them as arguments.

link-checker batch \x3Curl1> \x3Curl2> \x3Curl3> ...

report

Generate a report from the current session's results. Supports three formats.

link-checker report [txt|csv|json]

Default format is txt. Reports are saved to ~/.link-checker/report.\x3Cformat>.

history

Display the last 50 check results from the history log.

link-checker history

Shows timestamp, status code, status label, and URL for each entry.

broken

Filter results to show only failed links — status codes 4xx, 5xx, timeouts, and connection errors.

link-checker broken

stats

Show statistics across all checks: total count, breakdown by status category (2xx, 3xx, 4xx, 5xx, timeout, error), success rate percentage, and the most common status codes.

link-checker stats

export

Export the full history log to a file. Supports csv, json, and txt.

link-checker export \x3Cformat>

Exported files are timestamped and saved to ~/.link-checker/.

config

View current configuration or change settings.

link-checker config
link-checker config set \x3Ckey> \x3Cvalue>

Available keys: timeout (seconds per request), retries (retry count on failure), user_agent.

help

Show usage information and available commands.

link-checker help

version

Print the current version.

link-checker version

Examples

# Check if a URL is reachable
link-checker check https://example.com

# Scan a markdown file for broken links
link-checker scan ./README.md

# Batch check several URLs
link-checker batch https://example.com https://httpstat.us/404 https://httpstat.us/500

# See only the broken ones
link-checker broken

# Get a stats overview
link-checker stats

# Generate a JSON report
link-checker report json

# Export full history as CSV
link-checker export csv

# Set request timeout to 15 seconds
link-checker config set timeout 15

# Set retry count to 3
link-checker config set retries 3

Configuration

Settings are stored in ~/.link-checker/config as key-value pairs.

Key Default Description
timeout 10 Connection timeout in seconds per request
retries 2 Number of retry attempts on timeout/error
user_agent LinkChecker/1.0.0 User-Agent header sent with requests

Change any setting with link-checker config set \x3Ckey> \x3Cvalue>.

Data Storage

All data lives in ~/.link-checker/:

File Purpose
results.log Current session results (pipe-delimited)
history.log Cumulative log of all checks ever run
config Configuration key-value file
report.* Generated reports (txt/csv/json)
export_*.* Timestamped exports

Log format: timestamp|url|status_code|status_label

Status Categories

Icon Category Codes
OK 2xx
🔄 Redirect 3xx
Client Error 4xx
⚠️ Server Error 5xx
⏱️ Timeout Connection timed out
🚫 Error DNS failure, connection refused

Requirements

  • bash (4.0+)
  • curl
  • grep, sort, awk (standard Unix tools)

Powered by BytesAgain | bytesagain.com | [email protected]

Usage Guidance
This skill appears to implement a straightforward link checker. Before installing: (1) review the included script (scripts/script.sh) yourself — it is plain Bash and readable; (2) ensure the host has the required CLI tools (bash, curl, grep, sort, awk) because the registry metadata did not declare them; (3) be careful what URLs or files you pass: the tool will issue HTTP requests to any URL you provide (including internal/private IPs or intranet hosts), so avoid scanning sensitive internal endpoints; (4) note the tool stores logs and reports in ~/.link-checker — don't put secrets or credentials into files you scan, and consider where you want history stored; (5) if you allow autonomous agent invocation, remember the agent could use this skill to initiate network requests on your behalf — restrict that capability if you are concerned about internal network scanning.
Capability Analysis
Type: OpenClaw Skill Name: link-checker Version: 2.1.0 The link-checker skill is a standard utility for auditing URLs and local files for broken links. It uses curl for HTTP requests and stores logs/configs in a local directory (~/.link-checker/). No evidence of data exfiltration, malicious execution, or unauthorized access was found in scripts/script.sh or SKILL.md.
Capability Assessment
Purpose & Capability
The name/description match the code and instructions: the script crawls/requests URLs, classifies responses, and stores logs in ~/.link-checker. However, the registry metadata lists no required binaries while the SKILL.md and script explicitly require bash, curl, grep, sort, and awk — this mismatch is a minor coherence issue (the declared requirements are incomplete).
Instruction Scope
SKILL.md and the script stay within the stated purpose: they extract URLs from a provided file or accept URLs as arguments, issue HTTP requests with curl, and record results. The script only reads the provided file(s) and its own config/history files in the user's home directory; it does not access unrelated system credentials or external control endpoints.
Install Mechanism
There is no install specification (instruction-only with an included script), so nothing is downloaded or installed from external URLs. The included scripts are plain Bash with no obfuscation. This is a low-risk install model.
Credentials
The skill requests no environment variables or external credentials. It does use $HOME to create ~/.link-checker for logs/config, which is reasonable for its purpose. Be aware the SKILL.md/script require standard CLI tools (bash, curl, grep, sort, awk) even though registry 'required binaries' is empty — this should be reconciled before installation.
Persistence & Privilege
The skill does not request 'always: true' or any elevated privileges; it persists only under the user's home directory (~/.link-checker). It does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install link-checker
  3. After installation, invoke the skill by name or use /link-checker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.0
v2.1.0: Real link checker with curl-based HTTP validation, batch scanning, broken link detection.
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v2.3.4
old template -> domain-specific v2.0.0
v2.3.3
old template -> domain-specific v2.0.0
v2.3.2
Quality upgrade
v2.3.1
De-template, unique content, script cleanup
v2.3.0
Quality fixes: aligned docs with implementation
v2.2.0
Enhanced descriptions for better AI triggering
v0.0.1
c
v1.0.0
Initial release of link-checker. - Crawls web pages to find and check all links for errors, redirects, and timeouts. - Generates detailed reports with status codes, response times, and link locations. - Supports recursive crawling with depth control, domain filtering, and multiple output formats (text, JSON, CSV, HTML). - Command-line interface with single-page, batch, and summary modes. - No external dependencies required; uses Python3 urllib.
Metadata
Slug link-checker
Version 2.1.0
License MIT-0
All-time Installs 12
Active Installs 12
Total Versions 11
Frequently Asked Questions

What is Link Checker?

Crawl web pages and detect broken links, redirects, and HTTP errors. Use when auditing site links, finding 404 errors, validating URLs before launch. It is an AI Agent Skill for Claude Code / OpenClaw, with 973 downloads so far.

How do I install Link Checker?

Run "/install link-checker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Link Checker free?

Yes, Link Checker is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Link Checker support?

Link Checker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Link Checker?

It is built and maintained by bytesagain4 (@xueyetianya); the current version is v2.1.0.

💬 Comments