/memento:check-redundancyfrom memento
Analyzes markdown files for redundant content by detecting repeated phrases and calculating a redundancy percentage. Useful for validating documentation quality before committing or optimizing verbose files.
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.
Analyzes markdown files for redundant content by detecting repeated phrases and calculating redundancy percentage.
Use this skill when:
From target project, run:
python ${CLAUDE_PLUGIN_ROOT}/skills/check-redundancy/scripts/check-redundancy.py <file>
(repeated occurrences - unique count) / total phrases × 1000: Optimal (≤10% redundancy)1: High redundancy (>10%, needs optimization)2: Errorpython ${CLAUDE_PLUGIN_ROOT}/skills/check-redundancy/scripts/check-redundancy.py <file>
File: architecture.md
Lines: 89
Total phrases analyzed: 1247
Redundancy: 3.2%
✓ Redundancy optimal (3.2% ≤ 10%)
Or if redundancy is high:
File: verbose-file.md
Lines: 150
Total phrases analyzed: 2341
Redundancy: 15.8%
⚠️ High redundancy detected (15.8% > 10%)
Top repeated phrases:
- 'memory bank documentation' (12 times)
- 'project analysis json' (8 times)
- 'generation plan md' (7 times)
- 'static files to' (6 times)
- 'prompt templates in' (5 times)
After generating a file:
# Generate file
python generate-doc.py > .memory_bank/file.md
# Check redundancy
python ${CLAUDE_PLUGIN_ROOT}/skills/check-redundancy/scripts/check-redundancy.py .memory_bank/file.md
# If exit code is 1, optimize the file
if [ $? -eq 1 ]; then
echo "Optimizing file..."
# Run optimization
fi
for file in .memory_bank/**/*.md; do
python ${CLAUDE_PLUGIN_ROOT}/skills/check-redundancy/scripts/check-redundancy.py "$file"
done
/memento:optimize-memory-bank: Optimizes Memory Bank files with high redundancy/memento:fix-broken-links: Validates and fixes broken links in Memory Bank files.memory_bank/guides/code-review-guidelines.md: Documentation quality standardsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mderk/memento --plugin memento6 skills in this plugin
/analyze-local-changesAnalyze local modifications in Memory Bank files, compute hashes, and provide merge strategies/create-environmentGenerate a comprehensive AI-friendly development environment for your project/detect-tech-stackDetect project tech stack (frameworks, databases, test frameworks, libraries) and output structured JSON/fix-broken-linksValidate Memory Bank links and fix broken references/update-environmentUpdate Memory Bank files after tech stack changes or plugin updates with smart detectionOther plugins' skills for the same job