Markdown Validator OpenClaw Plugin & Skill | ClawHub
Looking to integrate Markdown Validator into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate cli utilities tasks instantly, without having to write custom tools from scratch.
What this skill does
Validates Markdown files for broken local links.
Install
openclaw skills install @wanng-ide/markdown-validatornpx clawhub@latest install markdown-validatorFull SKILL.md
Open original| name | description |
|---|---|
| markdown-validator | Validates Markdown files for broken local links. |
SKILL.md content below is scrollable.
Markdown Validator
Validates Markdown files for broken local links. Use this skill to check internal documentation consistency.
Usage
# Validate current directory
openclaw exec node skills/markdown-validator/index.js .
# Validate specific file
openclaw exec node skills/markdown-validator/index.js README.md
Features
- Scans recursively
- Checks relative links
- Ignores external URLs (http/https)
- Ignores anchors within the same file (#anchor)
- Outputs JSON report of broken links with line numbers
Example Output
[
{
"file": "/path/to/README.md",
"valid": false,
"brokenLinks": [
{
"text": "Link Text",
"url": "./broken-link.md",
"line": 10
}
]
}
]