/memex:wikilinksfrom memex
Verifies broken wikilinks ([[targets]]) in markdown files and suggests plain-text-to-wikilink conversions. Useful for maintaining cross-reference integrity in a wiki or knowledge base.
Ships in memex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Wikilink rule: When referencing any file in any markdown content you write or edit, always use [[filename]] wikilink format. Never use plain text filenames.
Two modes: verify broken links, then suggest plain-text → [[wikilink]] conversions.
Run WORKSPACE_ROOT=$(pwd) && echo "$WORKSPACE_ROOT" via Bash.
Run the script at ${CLAUDE_SKILL_DIR}/scripts/verify-wikilinks.py:
python3 "${CLAUDE_SKILL_DIR}/scripts/verify-wikilinks.py" "$WORKSPACE_ROOT" --skip .claude .obsidian .git
If the script can't be found, report: "Wikilink script not found - skipping." Do not silently pass.
Report:
Broken links: 0
or:
BROKEN WIKILINKS ([count] found):
[file]: [[broken-link]]
Offer fixes:
Re-run the script with --suggest:
python3 "${CLAUDE_SKILL_DIR}/scripts/verify-wikilinks.py" "$WORKSPACE_ROOT" --suggest --skip .claude .obsidian .git
Scans markdown for plain-text mentions of existing filenames that aren't already [[wrapped]]. Handles exact and hyphenated-to-space matches. Skips code blocks, URLs, and frontmatter.
WIKILINK CONVERSIONS ([count] suggested):
marketing-plan.md:
Line 12: "see the budget spreadsheet" -> "see the [[budget]] spreadsheet"
Line 34: "based on the roadmap" -> "based on the [[roadmap]]"
meeting-notes.md:
Line 5: "discussed pitch deck" -> "discussed [[pitch-deck]]"
Apply all [count] conversions? (or review one by one)
If the user confirms, apply the conversions. If they want to review, go through each one and ask.
Wikilinks report:
Broken links: [count fixed or 0]
Conversions applied: [count]
Total wikilinks in workspace: [count]
Files scanned: [count]
Obsidian graph: [count] nodes, [count] edges
${CLAUDE_SKILL_DIR}/scripts/verify-wikilinks.py can't be found, surface "Wikilink script not found - skipping." Reporting "0 broken" without a script run is a lie.--suggest. Filenames ≤3 chars match common words (e.g., api.md matches every "API" in prose). Always review one-by-one before bulk-applying..claude/, .obsidian/, .git/. Vendored deps, build outputs, or node_modules/ need extra --skip flags or you'll get noise.[[link]] targets resolve. It does NOT detect files-on-disk-but-not-in-any-hub. That's /memex:lint.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
17 skills in this plugin
/add-domainAdds a new domain folder with a hub index and wires it into `_MANIFEST.md` -- for a new topic area, or splitting an existing domain into its own folder.
/archiveMoves a file from active (Tier 2) to archived (Tier 3) so Memex stops loading it automatically -- for a wrapped project, a stale reference, or a superseded file. The file stays on disk; only its manifest tier and hub status change.
/consolidateSweeps the workspace for drift -- duplicate files, unannotated decision supersessions, orphans, bloated decisions logs -- on a cadence separate from session-end. Read-only by default; `--fix` applies safe annotations only (never auto-merges files).
/cross-searchTrigger when the user's question spans multiple Memex workspaces and they don't know which one holds the answer, or they ask "have I written about X anywhere?". Not for questions the current workspace can answer -- use `/memex:search` instead. Reads only manifests and closets, never inside individual files.
/ideaQuick-capture an idea to the scratch inbox. Use when the user explicitly asks to capture: "capture this", "add to ideas", "don't let me forget", "log this idea", `/memex:idea`. Not for every "we should eventually..." aside -- most asides aren't capture-intent. Not for decisions (decisions.md) or state claims (closets `claims:` field).
/initSets up Memex in the current workspace. Detects state -- fresh repo, existing repo with loose markdown, a foreign manifest, or an outdated version marker -- and runs the right combination of scaffold, scan-and-organize, migrate, or health-check.
npx claudepluginhub skyfox-io/memex --plugin memexOther plugins' skills for the same job