/ctx:ctx-link-checkfrom ctx
Scans Markdown docs for broken internal links, external URLs, and missing images. Useful before releases or after documentation restructuring.
Ships in ctx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scan Markdown files for broken links. Two passes: internal (file targets) and external (HTTP URLs).
Determine which directories to scan:
docs/, doc/,
documentation/, site/.md files in the
project root (excluding node_modules/, .git/, vendor/)Report which directories are being scanned at the start of output.
/_ctx-audit runs (audit check #12)Scan every .md file in the discovered scope for Markdown links
pointing to other files: [text](target.md),
[text](../path/file.md), [text](path/file.md#anchor).
For each link:
#anchor fragment before checking file existencehttp://, https://, mailto:)#section-name): these are intra-pageCollect all broken internal links as:
BROKEN: source-file.md:LINE → target.md (file not found)
Scan every .md file in the discovered scope for http:// and
https:// URLs in Markdown link syntax.
For each URL:
Report failures as:
WARN: source-file.md:LINE → https://example.com (HTTP 404)
WARN: source-file.md:LINE → https://example.com (timeout)
Do not treat external failures as errors. Network partitions, rate limiting, and transient outages are common. Report them but do not fail the check.
Exceptions: skip these URLs:
localhost / 127.0.0.1 URLs (local dev servers)example.com / example.org (placeholder domains)Scan for image links:  and
.
Verify the image file exists on disk. Same resolution rules as internal links.
## Link Check Report
### Internal Links
- N broken links found (or "All clear")
- [list of broken links with file:line and target]
### External Links
- N warnings (or "All reachable")
- [list of failures with file:line, URL, and reason]
### Images
- N missing images (or "All present")
- [list of missing images with file:line and target]
### Summary
Internal: N broken / M total
External: N unreachable / M total
Images: N missing / M total
For broken internal links, offer specific fixes:
For external links, just report. The user decides whether to update, remove, or ignore.
When invoked as check #12 from /_ctx-audit:
After running the check:
.md files in the discovered scope were scannedWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub activememory/ctx --plugin ctx54 skills in this plugin
/ctx-agentLoad full context packet. Use at session start or when context seems stale or incomplete./ctx-architectureBuild and maintain architecture maps. Use to create or refresh ARCHITECTURE.md and DETAILED_DESIGN.md. Supports principal mode for deeper analysis: vision, future direction, bottlenecks, implementation alternatives, gaps, upstream proposals, and intervention points./ctx-architecture-enrichEnrich architecture artifacts with code intelligence data. Takes existing /ctx-architecture output as baseline, verifies and quantifies with GitNexus MCP (blast radius, execution flows, domain clustering, registration sites). Run after /ctx-architecture, not instead of it./ctx-archiveArchive completed tasks. Use when TASKS.md has many completed items cluttering the view.Other plugins' skills for the same job