✓ Verified 💻 Development ✓ Enhanced Data

Markdown Validator

Validates Markdown files for broken local links.

Rating
4.5 (357 reviews)
Downloads
2,588 downloads
Version
1.0.0

Overview

Validates Markdown files for broken local links.

Key Features

1

Scans recursively

2

Checks relative links

3

Ignores external URLs (http/https)

4

Ignores anchors within the same file (#anchor)

5

Outputs JSON report of broken links with line numbers

Complete Documentation

View Source →

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
      }
    ]
  }
]

Installation

Terminal bash

openclaw install markdown-validator
    
Copied!

💻Code Examples

openclaw exec node skills/markdown-validator/index.js README.md

openclaw-exec-node-skillsmarkdown-validatorindexjs-readmemd.txt
## 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
example.sh
# Validate current directory
openclaw exec node skills/markdown-validator/index.js .

# Validate specific file
openclaw exec node skills/markdown-validator/index.js README.md
example.json
[
  {
    "file": "/path/to/README.md",
    "valid": false,
    "brokenLinks": [
      {
        "text": "Link Text",
        "url": "./broken-link.md",
        "line": 10
      }
    ]
  }
]

Tags

#cli_utilities

Quick Info

Category Development
Model Claude 3.5
Complexity One-Click
Author wanng-ide
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install markdown-validator