# Markdown Link Checker

> Find and fix broken links, missing files, and dead internal jumps in your Markdown documents.

Markdown Link Checker is a paid AI agent skill on Agensi by Rachid Houmayni, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Rachid Houmayni](https://www.agensi.io/creators/rachid-houmayni)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-10-16); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/markdown-link-checker
- Tags: markdown, links, docs, micro-skill, quality

## What it does

- Finds links that point to files or folders that were moved or deleted
- Checks if internal jump links match a real heading in the same document
- Identifies the exact line number where a broken link is located
- Verifies web addresses are still active when you ask for an external check
- Suggests the correct path or fix for every broken link it finds

## Who it's for

- **Writers managing project documentation:** Keep your guides and manuals working as you rename files or move folders. Try: "Check all links in the docs folder."
- **Founders with a public README or site docs:** Make sure every link in your project home page actually goes where it should. Try: "Check links in README.md including external ones."
- **Developers creating Agensi skills:** Verify your skill files are formatted correctly before you publish them. Try: "Run a link check on my SKILL.md file."

## About this skill

It is easy for links to stop working when you move files around or change headings in your documents. This skill scans your Markdown files to find every link that points to a missing page, a wrong folder, or a heading that does not exist anymore. It looks at standard links and reference links to make sure everything connects correctly.

**How it works**
1. Ask your AI agent to check specific Markdown files or a whole folder.
2. The skill finds every link, including web addresses and internal jumps.
3. It tests if the files exist and if the heading names match your links.
4. You get a list showing exactly which line has the problem and how to fix it.

**What you get:** A report showing how many links are broken and a list of specific fixes to make them work again.

## Known limitations

Heading-slug matching is heuristic; exotic Markdown extensions may be skipped. External link checking requires the optional --external flag.

## Technical details

This skill functions as a CLI-style utility for Markdown validation. It parses standard and reference-style Markdown links to classify them as relative paths, anchors, or URLs. It performs filesystem checks for relative targets and heuristic slug matching for internal anchors. The --external flag triggers HEAD requests for HTTP/S validation. It is designed for use with Claude Code, Cursor, Windsurf, and other agentic environments.

## 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 Link Checker skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific types of links does the 'md link checker' verify?

The skill checks local relative file paths, internal heading anchors (like #section-title), and external HTTP/HTTPS URLs to ensure your documentation is fully functional and error-free.

### How is this different from just asking an AI to check my links?

Unlike a standard LLM prompt that might guess if a file exists, this skill uses strict verification logic to cross-reference every link against your actual directory structure for 100% accuracy.

### Can I run this skill on a large folder of multiple Markdown files at once?

Yes, it is designed to handle individual README files as well as large documentation directories, providing a structured report with line numbers for every broken link found.

### Does the skill check external website URLs for 404 errors?

By default, it focuses on internal paths; however, you can enable the external verification flag to have the skill perform HEAD requests to check the status of remote websites.

### Are there any specific Markdown formats or extensions that aren't supported?

The skill supports standard CommonMark and GitHub Flavored Markdown (GFM) heading slugs, though it may not recognize custom ID attributes or highly specialized Markdown extensions.

### What is included in the purchase of this skill?

Your purchase includes the full skill set ready for deployment, along with any future maintenance updates and logic improvements released for this version.

---

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.
