condense

Deduplicate and consolidate CLAUDE.md memory files across project hierarchies.

42|2|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/robbyt/claude-skills --skill condense
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: condense
Source: https://github.com/robbyt/claude-skills/tree/main/plugins/claude-md/skills/condense
Command: npx skills add https://github.com/robbyt/claude-skills --skill condense

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Deduplicate and consolidate CLAUDE.md memory files to remove redundancy.

Core Features & Use Cases

  • Identify intra-file duplication
  • Identify cross-file duplication
  • Move misplaced content to correct level

Quick Start

Run condensation across CLAUDE.md memories to remove duplicates and consolidate content.

Frequently Asked Questions about condense

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deduplicate CLAUDE.md memory files across my project?

Deduplicate CLAUDE.md files by identifying and removing redundant content within individual files and across the project hierarchy. The condense Skill scans all CLAUDE.md files—root and subdirectories—consolidates duplicates, and moves misplaced instructions to their correct level, preserving project-wide and directory-specific separation.

What's the difference between root and subdirectory CLAUDE.md files after condensing?

After condensing, root CLAUDE.md retains project-wide instructions and shared context, while subdirectory CLAUDE.md files contain directory-specific content. The Skill enforces this hierarchy by validating and moving misplaced content to the appropriate level.

Can I remove duplicate content across multiple CLAUDE.md files at once?

Yes. The condense Skill handles cross-file duplication by discovering and consolidating redundant content across all CLAUDE.md files in your project, including both intra-file and cross-file duplicates, in a single operation.

Why should I consolidate CLAUDE.md memory files?

Consolidating CLAUDE.md files removes redundancy that can cause conflicting instructions and memory bloat. Deduplication ensures clarity, reduces maintenance burden, and keeps context instructions organized by scope—project-wide versus directory-specific.

What happens to misplaced instructions when I condense CLAUDE.md?

Misplaced instructions are validated and moved to their correct hierarchy level. The Skill relocates content that belongs at the root to root CLAUDE.md and directory-specific content to appropriate subdirectory files after validation.