Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

consolidate

verified

Turn recurring patterns into permanent skills.

View on GitHub

Marketplace

lineofflight

lineofflight/claude-code-plugins

Plugin

rem

Repository
Verified Org

lineofflight/claude-code-plugins

plugins/rem/skills/consolidate/SKILL.md

Last Verified

February 2, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/lineofflight/claude-code-plugins/blob/main/plugins/rem/skills/consolidate/SKILL.md -a claude-code --skill consolidate

Installation paths:

Claude
.claude/skills/consolidate/
Powered by add-skill CLI

Instructions

# 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

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
926 chars