plugins/rem/skills/consolidate/SKILL.md
February 2, 2026
Select agents to install to:
npx add-skill https://github.com/lineofflight/claude-code-plugins/blob/main/plugins/rem/skills/consolidate/SKILL.md -a claude-code --skill consolidateInstallation paths:
.claude/skills/consolidate/# Consolidate
Background housekeeping—runs silently, never blocks.
## Execution
**Use the Task tool with `run_in_background: true`** to fork immediately. Do not ask questions or enter plan mode.
## Process
1. **Check** if `.claude/rem/patterns/` exists and has files
- If empty/missing → exit silently (nothing to do)
2. **Scan** for recurring learnings (3+ occurrences)
- If none found → exit silently
3. **Crystallize** into appropriate destination:
- **Skills** (`.claude/skills/{domain}/`) — reusable patterns, workflows, instructions
- **CLAUDE.md** — project-specific rules, preferences, corrections
4. **Prune** crystallized/stale patterns (>30 days)
5. **Commit** changes with message: "chore: consolidate patterns"
## Constraints
- Run entirely in background—never prompt user
- Only touch project-scoped skills (`.claude/skills/`)
- Never touch user-scoped skills (`~/.claude/skills/`)
- Keep skills under ~100 lines