Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Dev-Jahnv0.1.0MIT
Markdown link graph and staleness detection for Claude Code. Automatically tracks cross-references between markdown documents and detects when linked content becomes stale.
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Markdown link graph and staleness detection plugin for Claude Code.
In agentic coding workflows, Claude Code generates and maintains many markdown documents — analysis reports, plans, progress logs, specs. But sessions end, context windows are finite, and documents drift out of sync. When the agent reads an outdated document in a later session, it reasons from stale information, leading to hallucination and inconsistent decisions.
md-linker turns your project's markdown files into a lightweight internal RAG system. It tracks cross-references between documents, detects when a linked document has changed, and ensures the agent always reads up-to-date content — eliminating a major source of context-related errors across sessions.
When you edit a markdown file, md-linker automatically:
[[wikilinks]] or [markdown](links.md) point to missing targetsstale-refs annotations to their frontmatterWhen Claude reads a stale document, a PreToolUse hook resolves the stale-refs via a Sonnet sub-agent before the main agent sees the file — keeping the main context clean.
claude plugin install md-linker
Or for local development:
claude --plugin-dir /path/to/md-linker
Once installed, md-linker works automatically. Every time Claude edits a .md file:
stale-refs via Sonnet sub-agent before the main agent reads the file/md-linker:init # Scan all .md files and build the link graph
/md-linker:status # Show all stale documents
/md-linker:graph # Generate a dependency graph (PNG or .dot)
/md-linker:rebuild # Rebuild graph from scratch
/md-linker:resolve # Remove all stale-refs annotations
md-linker tracks these link types:
[[target]] — wikilink (document-level)[[target#Section]] — wikilink (section-level)[text](path.md) — standard markdown link[ref]: path.md — reference-style linkdepends-on frontmatter fieldWhen a linked document is modified, md-linker adds frontmatter like this:
---
stale-refs:
- source: docs/schema.md
changed_at: 2026-03-09T10:30:00
sections_changed: ["User Model"]
summary: "Added email_verified field to User model"
---
Planned features for future releases:
This project is under active development. Bug reports, corner case discoveries, and improvement suggestions are all welcome — feel free to open an issue or pull request.
MIT
Generated from the plugin's indexed repository (dev-jahn/md-linker) — no native marketplace selected
npx claudepluginhub p/dev-jahn-md-linkerBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground