/claude-md:condensefrom claude-md
Deduplicates and consolidates CLAUDE.md memory files by finding intra-file and cross-file redundancy, misplaced instructions, and semantically similar content across the file hierarchy.
Ships in claude-md. 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.
Deduplicate and consolidate CLAUDE.md memory files to remove redundancy.
Find all CLAUDE.md files:
python ../reflect/scripts/find_claude_md.py
Read all discovered files and analyze for:
Intra-file duplication:
Cross-file duplication:
Misplaced instructions:
Present findings using AskUserQuestion with checkboxes.
For each issue found:
Example:
Issue: "Use 2-space indentation" appears in both ./CLAUDE.md and ./src/CLAUDE.md
Proposal: Remove from ./src/CLAUDE.md (already covered by root)
Wait for user approval before implementing.
For approved changes:
Hierarchy rules:
./CLAUDE.md - Project-wide instructions (highest priority)./.claude/rules/*.md - Topic-specific rules (modular)./subdir/CLAUDE.md - Only instructions specific to that subdirectory~/.claude/CLAUDE.md - Personal preferences across all projects./CLAUDE.local.md - Personal project-specific (not shared)Uses shared resources from the reflect skill:
../reflect/scripts/find_claude_md.py - Locate all CLAUDE.md files../reflect/references/memory-locations.md - Memory hierarchy details../reflect/references/anti-patterns.md - What to avoid when writing instructionsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
claude-md, memory-management, deduplication, file-organization
2 skills in this plugin
npx claudepluginhub robbyt/claude-skills --plugin claude-mdOther plugins' skills for the same job