consolidate

Solid

Audit and prune rules/skills/learnings to prevent context bloat. Triggers "consolidate", "clean up rules", "spa day", "what's redundant", degraded agent perf.

AI & Automation 42 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
54
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Consolidate Rules, Skills, and Learnings ## Phase 1: Audit ### Count everything ```bash echo "Rules:" && ls ~/.claude/rules/*.md 2>/dev/null | wc -l echo "Skills:" && ls -d ~/.claude/skills/*/SKILL.md 2>/dev/null | wc -l echo "Auto-memory entries:" && find ~/.claude/projects/*/memory -name "*.md" -not -name "MEMORY.md" 2>/dev/null | wc -l echo "CLAUDE.md lines:" && wc -l ~/.claude/CLAUDE.md 2>/dev/null echo "AGENTS.md lines:" && wc -l ~/.claude/AGENTS.md 2>/dev/null ``` ### Check for contradictions Read all rules and flag: - Opposites ("always X" in one, "never X" in another) - Significant overlap (two rules covering the same concern) - References to outdated tools, patterns, or dependencies - Vague rules that aren't actionable ### Check skill triggers Read all skill descriptions and flag: - Overlapping trigger phrases between skills - Skills that never get invoked (ask the user) - Outdated instructions ## Phase 2: Merge and Deduplicate ### Rules - Merge rules covering the same concern - Remove rules that duplicate AGENTS.md guardrails - Remove rules for problems that no longer occur - Tighten vague rules into specific instructions ### Skills - Merge skills with overlapping triggers - Remove unused skills - Update outdated instructions - Ensure distinct, non-overlapping trigger phrases ### Auto-memory - Review entries under `~/.claude/projects/<hash>/memory/` - Remove entries about long-fixed bugs - Remove entries about deprecated patterns - Consolidate similar entr...

Details

Author
darkroomengineering
Repository
darkroomengineering/cc-settings
Created
7 months ago
Last Updated
today
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category