/memento:fix-broken-linksfrom memento
Validates and fixes broken links in .memory_bank/ files by scanning markdown references and updating or removing invalid targets.
Ships in memento. 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.
Read when SKILL.md points to them; scripts run unread.
This skill helps validate and fix broken links in .memory_bank/ files.
Use this skill when:
/memento:fix-broken-linksFrom target project, run:
# Validate entire Memory Bank
python ${CLAUDE_PLUGIN_ROOT}/skills/fix-broken-links/scripts/validate-memory-bank-links.py
# Validate specific files only (e.g. after regeneration)
python ${CLAUDE_PLUGIN_ROOT}/skills/fix-broken-links/scripts/validate-memory-bank-links.py \
--files .memory_bank/guides/testing.md .memory_bank/guides/testing-frontend.md
Execute the validation script to scan Memory Bank in the current project:
python ${CLAUDE_PLUGIN_ROOT}/skills/fix-broken-links/scripts/validate-memory-bank-links.py
Run this from the project root (where .memory_bank/ exists).
The script will:
.memory_bank/ filesindex.md linksExit Codes:
0 - All links valid, no action needed1 - Broken links found, proceed to fixIf validation fails (exit code 1), the output contains:
source_file: [link_text](link_target) → resolved_pathExample:
.memory_bank/guides/index.md: [Testing](./testing.md) → .memory_bank/guides/testing.md
For each broken link, analyze and fix:
A. Check if similar file exists:
testing.md not found, but testing-guide.md existsB. If no similar file exists:
C. Apply fix:
After fixing all links, run validation script again:
python ${CLAUDE_PLUGIN_ROOT}/skills/fix-broken-links/scripts/validate-memory-bank-links.py
If still has errors, repeat Step 3 for remaining issues.
Provide summary:
Broken: .memory_bank/guides/index.md: [Testing](./testing.md)
Found: .memory_bank/guides/testing-guide.md
Action: Edit .memory_bank/guides/index.md
Change: [Testing](./testing.md) → [Testing](./testing-guide.md)
Broken: .memory_bank/README.md: [Old Guide](./guides/deprecated.md)
No similar files found.
Action: Edit .memory_bank/README.md
Change: [Old Guide](./guides/deprecated.md) → Old Guide (deprecated)
Broken: Multiple links in "## Legacy Workflows" section
All files missing, section is obsolete.
Action: Edit .memory_bank/workflows/index.md
Remove entire "## Legacy Workflows" section
${CLAUDE_PLUGIN_ROOT}/skills/fix-broken-links/scripts/validate-memory-bank-links.py
It's a standalone Python script that:
generation-plan.md.memory_bank/ directory automatically--files for targeted validation of specific filesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
6 skills in this plugin
/detect-tech-stackDetect project tech stack (frameworks, databases, test frameworks, libraries) and output structured JSONnpx claudepluginhub mderk/memento --plugin mementoOther plugins' skills for the same job