Validates Markdown files for broken local links.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add modbender/skill-library-mcp --skill markdown-validator --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Markdown Validator?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-markdown-validator)More formats (shields.io, HTML) on the badges page.
---
name: markdown-validator
description: Validates Markdown files for broken local links.
---
# Markdown Validator
Validates Markdown files for broken local links. Use this skill to check internal documentation consistency.
## Usage
```bash
# 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
```json
[
{
"file": "/path/to/README.md",
"valid": false,
"brokenLinks": [
{
"text": "Link Text",
"url": "./broken-link.md",
"line": 10
}
]
}
]
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Create Mermaid diagrams for flowcharts, sequences, ERDs, and