OpenClaw · Skill

Markdown Linter

A lightweight tool to validate Markdown files in the workspace. It focuses on ensuring internal consistency, particularly broken file links and missing references.

Web & Frontend Development
v1.0.0
VirusTotal: Suspicious

Install

Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.

Primary command

clawhub install wanng-ide/markdown-linter

ClawHub installer

npx clawhub@latest install wanng-ide/markdown-linter

OpenClaw CLI

openclaw skills install wanng-ide/markdown-linter

Direct OpenClaw install

openclaw install wanng-ide/markdown-linter

What this skill does

A lightweight tool to validate Markdown files in the workspace. It focuses on ensuring internal consistency, particularly broken file links and missing references.

Why it matters

Catches broken internal links and structural issues in bulk across an entire workspace, rather than requiring manual inspection of each file.

Typical use cases

  • Checking MEMORY.md for broken file references before a commit
  • Validating SKILL.md links after reorganizing a project directory
  • Scanning a docs folder for missing image references
  • Verifying header hierarchy in a project README
  • Finding unlabeled code blocks across documentation files

Source instructions

Markdown Linter

A lightweight tool to validate Markdown files in the workspace. It focuses on ensuring internal consistency, particularly broken file links and missing references.

Capabilities

  • Link Validation: Checks [link](path) references to ensure the target file exists locally.
  • Header Check: Verifies that headers follow a logical hierarchy (e.g., H1 -> H2).
  • Code Block Check: Ensures code blocks have language identifiers where appropriate.

Usage

const linter = require('./index');
const results = await linter.scan('.'); // Scans current directory recursively
console.log(JSON.stringify(results, null, 2));

Output Format

{
  "totalFiles": 15,
  "brokenLinks": [
    {
      "file": "docs/README.md",
      "line": 10,
      "link": "./missing-image.png",
      "error": "File not found"
    }
  ],
  "syntaxErrors": []
}

Related OpenClaw skills

Browse all →
Featured slot

Your product here

Reserve this slot to reach operators and coding-agent buyers.

Shown where builders are actively comparing tools and deployment options.

Advertise