By dev-jahn
Markdown link graph and staleness detection for Claude Code. Automatically tracks cross-references between markdown documents and detects when linked content becomes stale.
Generate a dependency graph of all markdown links, rendered as PNG (or .dot if graphviz not installed).
Scan all .md files and build the link graph (.md-linker/graph.json). Run this first in a new project.
Rebuild the link graph from scratch (clears snapshots/diffs).
Remove all stale-refs frontmatter annotations from all files.
Show all stale documents with their summaries.
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
Modifies files
Hook triggers on file write and edit operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub dev-jahn/md-linkerSSOT-anchored agentic development workflow harness: one-click project setup, task registry with a global naming convention, zero-token roadmap rendering, round closeout, external review ingestion, and scoped SSOT audits.
Karpathy-style autonomous LLM research loop adapted for generic ML codebases. Ships two skills — setup and run — plus an `ar` helper CLI that owns launch orchestration, metric extraction, atomic checkpoint commit, and chain-mode transitions so the main Claude session stays context-light across hundreds or thousands of iterations. v0.3.0 drops the wandb/accelerate monoculture: metric backend is pluggable (wandb / tensorboard / log-scan / custom with auto-detection), distributed-framework resolution is auto-detected (accelerate/deepspeed/fsdp/ddp/lightning/none), a new `hydra` entry pattern renders a Hydra-override-style train wrapper, and `--checkpoint-glob` gives priority-0 control over checkpoint discovery for Lightning / plain-torch / custom layouts.
Documentation quality validation: broken links, orphan docs, glossary, structure
dahatake のエージェントスキル集。ローカル Markdown 横断クエリなど、コーディングエージェント向けのスキルを提供します。
Compile scattered markdown knowledge files into a topic-based wiki. Non-destructive, Obsidian-compatible, with staged adoption.
Documentation and authoring workflow router: audit docs vs code drift, sync docs after changes, optimize prompts and SKILL.md files, validate GLFM and Markdown formatting, summarize files/URLs/images with fidelity enforcement. Use when: docs are out of date, CLAUDE.md needs improving, SKILL.md needs optimizing, checking if documentation matches code, summarizing files or URLs.
Import external documentation locally - bypass AI-blocking sites via Context7, WebFetch, or Playwright
Claude + Obsidian knowledge companion. Sets up a persistent, compounding wiki vault (Karpathy's LLM Wiki pattern). v1.7 "Compound Vault" + v1.8 methodology modes close 5 of 5 priority gaps from the May 2026 compass artifact. Ships: substrate alignment with kepano/obsidian-skills, default Obsidian CLI transport, hybrid retrieval (contextual prefix + BM25 + cosine rerank per Anthropic's Sept 2024 research), per-file advisory locking for multi-writer safety, pre-commit verifier agent, AND methodology modes (LYT / PARA / Zettelkasten / Generic) for first-class organizational support no other Claude+Obsidian competitor offers. v1.7.x audit closure: every BLOCKER + HIGH + MEDIUM + LOW finding from the v1.7.0 audit is CLOSED or DEFERRED-with-rationale. Optional DragonScale Memory extension (log folds, deterministic addresses, semantic tiling lint, boundary-first autoresearch).