Skip to content
Back to skills

Markdown Validator

ASecurity

Validates Markdown files for broken local links.

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
documentationbashnodedocumentation

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill markdown-validator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Markdown Validator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Markdown Validator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-markdown-validator/badge)](https://www.skillsdirectory.com/skills/modbender-markdown-validator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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
      }
    ]
  }
]
```

Files in this skill

  • SKILL.md893 B
  • index.js2.4 KB
  • package.json225 B
  • scripts/test.js798 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.