condense
БесплатноБез исполняемых скриптовНе проверенDeduplicate and consolidate CLAUDE.md memory files. Trigger when user says "condense my CLAUDE.md files", "deduplicate CLAUDE.md", "clean up my memory files"…
Об этом скилле
CLAUDE.md Condensation
Deduplicate and consolidate CLAUDE.md memory files to remove redundancy.
Workflow
Phase 1: Discovery
Find all CLAUDE.md files:
python ../reflect/scripts/find_claude_md.py
Read all discovered files and analyze for:
- Intra-file duplication (same instruction repeated within a file)
- Cross-file duplication (same instruction in multiple files)
- Misplaced instructions (subdirectory files containing project-wide content)
Phase 2: Analysis
Intra-file duplication:
- Identify repeated bullet points or instructions
- Find semantically similar content (different wording, same meaning)
Cross-file duplication:
- Root CLAUDE.md should contain project-wide instructions
- Subdirectory CLAUDE.md should only contain directory-specific instructions
- If an instruction appears in both root and subdirectory, keep only in root
- If an instruction in subdirectory applies to whole project, move to root
Misplaced instructions:
- Subdirectory file contains instructions that apply project-wide → move to root
- Root file contains instructions only relevant to one directory → move to subdirectory
Phase 3: Interaction
Present findings using AskUserQuestion with checkboxes.
For each issue found:
- Show the duplicated or misplaced content
- Identify which files are affected
- Propose the consolidation (delete, move, or merge)
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.
Phase 4: Implementation
For approved changes:
- Remove duplicates - Delete redundant entries, keeping the most appropriate location
- Move misplaced content - Transfer instructions to correct hierarchy level
- Merge similar items - Combine semantically similar instructions into one
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)
Resources
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 instructions
Установить condense в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл condense?
Deduplicate and consolidate CLAUDE.md memory files. Trigger when user says "condense my CLAUDE.md files", "deduplicate CLAUDE.md", "clean up my memory files", or "consolidate my instructions". Removes redundancy within files and across the file hierarchy.
Как установить скилл condense?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл condense запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic