← 返回 Skills 市场
215
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install dead-link-scanner
功能描述
Scan websites, markdown files, and HTML files for broken links (dead links). Use when checking a website for 404s, validating links in documentation or READM...
使用说明 (SKILL.md)
dead-link-scanner
Find broken links in websites, markdown files, and HTML documents.
Quick Start
# Scan a website for broken links
python3 scripts/dead_link_scanner.py scan https://example.com
# Scan with depth limit (default: 1)
python3 scripts/dead_link_scanner.py scan https://example.com --depth 3
# Scan a local markdown file
python3 scripts/dead_link_scanner.py file README.md
# Scan multiple files
python3 scripts/dead_link_scanner.py file docs/*.md
# JSON output
python3 scripts/dead_link_scanner.py scan https://example.com --json
# Only show broken links
python3 scripts/dead_link_scanner.py scan https://example.com --broken-only
Commands
scan
Crawl a website and check all links on each page.
python3 scripts/dead_link_scanner.py scan \x3Curl> [options]
Options:
--depth \x3Cn>— Max crawl depth (default: 1, 0 = single page only)--timeout \x3Cseconds>— Request timeout (default: 10)--json— Output results as JSON--broken-only— Only show broken links--internal-only— Only check links within the same domain--max-urls \x3Cn>— Max URLs to check (default: 200)--delay \x3Cseconds>— Delay between requests (default: 0.2)
file
Scan local markdown or HTML files for broken links.
python3 scripts/dead_link_scanner.py file \x3Cpath>... [options]
Options:
--timeout \x3Cseconds>— Request timeout (default: 10)--json— Output as JSON--broken-only— Only show broken links
Output
Default text output:
✓ 200 https://example.com/about
✓ 200 https://example.com/blog
✗ 404 https://example.com/old-page (found on: https://example.com)
✗ ERR https://dead-domain.xyz (found on: https://example.com) — ConnectionError
Summary line:
Checked 42 links: 39 OK, 3 broken
安全使用建议
This skill is coherent and implements a dead-link scanner in Python. Before installing or running it, be aware that: (1) it will make outbound HTTP(S) requests to every discovered URL (including internal/intranet addresses you point it at), which can trigger server logs or expose your agent's IP; (2) it reads only files you pass on the command line — avoid scanning sensitive files you don't intend to expose; (3) it does not appear to obey robots.txt and will crawl pages according to the provided depth/max-urls/delay settings, so use polite settings (delay, max-urls) when crawling third-party sites; and (4) the User-Agent includes an identifying URL, so contacted servers will see that string. If you need autonomous scanning across private networks or sensitive repos, review the script and enforce access controls and network restrictions first.
功能分析
Type: OpenClaw Skill
Name: dead-link-scanner
Version: 1.0.0
The 'dead-link-scanner' skill is a legitimate utility for identifying broken links in websites and local files. The Python script (scripts/dead_link_scanner.py) uses standard libraries (urllib, html.parser) to crawl URLs and parse files, incorporating safety features such as request delays, depth limits, and a maximum URL count to prevent abuse. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
Name/description match the included Python implementation: the code crawls HTML pages, extracts links from HTML and Markdown, and checks links' HTTP status. It does not request unrelated capabilities (no cloud creds, no extra binaries).
Instruction Scope
SKILL.md instructs the agent to run the included script to scan a URL or local files. The script only reads files explicitly passed to the 'file' command and performs network requests for discovered links; it does not attempt to read arbitrary system state or extra environment variables.
Install Mechanism
There is no install spec; this is instruction+code only. The Python script is bundled with the skill and nothing is downloaded or executed from external installers.
Credentials
The skill requires no environment variables, credentials, or config paths. The single notable hard-coded value is a USER_AGENT string (dead-link-scanner/1.0 (+https://clawhub.com)), which is benign but reveals an identifying User-Agent to servers it contacts.
Persistence & Privilege
Skill does not request persistent or elevated privileges. always is false and it does not modify other skills or system configurations. It can be invoked autonomously by the agent (default), which is expected behavior for a skill.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dead-link-scanner - 安装完成后,直接呼叫该 Skill 的名称或使用
/dead-link-scanner触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — scan websites and files for broken links.
- Scan websites recursively with configurable depth and options.
- Check local markdown and HTML files for dead links.
- Multiple output formats: plain text or JSON.
- Filter results to show only broken or internal links.
- Customizable crawl parameters, including timeouts, delays, and URL count limits.
元数据
常见问题
Dead Link Scanner 是什么?
Scan websites, markdown files, and HTML files for broken links (dead links). Use when checking a website for 404s, validating links in documentation or READM... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 215 次。
如何安装 Dead Link Scanner?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dead-link-scanner」即可一键安装,无需额外配置。
Dead Link Scanner 是免费的吗?
是的,Dead Link Scanner 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Dead Link Scanner 支持哪些平台?
Dead Link Scanner 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Dead Link Scanner?
由 John Wang(@johnnywang2001)开发并维护,当前版本 v1.0.0。
推荐 Skills