# Markdown Doc Link Check (Free, Offline)

> Checks README and docs Markdown for broken relative links, dead #anchors, unclosed code fences and undefined reference links, without touching the network.

Markdown Doc Link Check (Free, Offline) is a free AI agent skill on Agensi by Colton Mcclain, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Colton Mcclain](https://www.agensi.io/creators/colton-mcclain)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Uses: 1
- Version: 1.0
- Last updated: 2026-10-17
- Security: scan passed (2026-10-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/markdown-doc-link-check-free-offline
- Tags: documentation, markdown, technical-writing

## About this skill

Docs rot when files move: a renamed heading or file breaks links that nobody notices until a reader hits them. This checks every internal link in a doc set without touching the network.

A folder (walks `*.md` and `*.markdown`, skipping `.git`, `node_modules`, `dist`, `build`) or specific files. Links inside code fences and inline code are ignored.

This skill bundles one standard-library Python file, `scripts/md_doc_check.py` (sha256 `edb81d2898b77093c31f927f35658795b0dbf8c6e7e494fa2589ed5f9f1b30ee`). If it is not already on disk:

1. Write the bundled script text verbatim to a temp file outside the user's project, e.g. `T=$(mktemp --suffix=.py)`.
2. Check `sha256sum "$T"` equals `edb81d2898b77093c31f927f35658795b0dbf8c6e7e494fa2589ed5f9f1b30ee`. If it differs, rewrite it; never edit it.
3. Run `python3 "$T" "/path/to/docs-or-README.md" [--json]` with each user path as a separately quoted argument.
4. Delete the temp file. Do not save the script into the project.

## Requires

- Python
- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Markdown Doc Link Check (Free, Offline) skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Markdown Doc Link Check (Free, Offline) do?

Checks README and docs Markdown for broken relative links, dead #anchors, unclosed code fences and undefined reference links, without touching the network.

### Which AI agents support Markdown Doc Link Check (Free, Offline)?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Markdown Doc Link Check (Free, Offline)?

Connect your AI agent to Agensi through MCP, then ask it to use Markdown Doc Link Check (Free, Offline) on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
