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 44 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
55
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Consolidate Rules, Skills, and Learnings ## Standalone Codex mode Audit `${CODEX_HOME:-$HOME/.codex}/AGENTS.md`, native `${CODEX_HOME:-$HOME/.codex}/agents/`, native `${CODEX_HOME:-$HOME/.codex}/rules/`, and the managed skills in the real cc-settings checkout named by `${CODEX_HOME:-$HOME/.codex}/.cc-settings-version` `repo_path`. Validate that path is a git checkout of `darkroomengineering/cc-settings` before treating it as source. The installed plugin/cache and `darkroom/source` runtime copy may be read to diagnose drift, but must never be edited as though either were the git source. Claude auto-memory and `CLAUDE.md` cleanup are unavailable in standalone Codex. Skip those counts and phases rather than redirecting them into `~/.claude`. Verify native agent/rule references and managed source skill triggers, then ask before deleting anything. The remaining path examples describe Claude Code. ## 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 th...

Details

Author
darkroomengineering
Repository
darkroomengineering/cc-settings
Created
8 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