From cortex
This skill should be used when a problem class has appeared 2+ times across sessions — escalates recurring patterns up through the memory tier hierarchy.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cortex:pattern-escalationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**TL;DR**: Escalate recurring patterns up 3 tiers: lessons.md → MEMORY.md → CLAUDE.md.
TL;DR: Escalate recurring patterns up 3 tiers: lessons.md → MEMORY.md → CLAUDE.md.
tasks/lessons.mdAdd/update: problem → root cause → fix → prevention rule. If variant of existing lesson: UPDATE that entry. Do not duplicate.
MEMORY.md (project root)Add one-liner to relevant section. Format: **Pattern**: Rule.
Ensures every future session-start reads it.
CLAUDE.md (architectural patterns only)Criteria: affects schema, pipeline design, security, or data integrity. Flag to Will before committing. Do NOT auto-commit CLAUDE.md changes.
Classify each lesson:
Whenever a skill's advice is followed and produces a wrong result: update the skill immediately. Don't wait for pattern-escalation. Stale skills give confident wrong guidance. Pipeline numbers, DB patterns, and institutional checklist items are the most likely to drift.
Evolution proposals live at .claude/cortex/proposals.local.md. Each proposal has:
id (YYYYMMDD-HHMMSS-slug), status (pending/approved/rejected/expired), domain, occurrences, severitytype: hook-rule | skill-update | claude-md-amendmentprobation=3: new hooks run in warn-only mode for 3 sessions before blockingtasks/lessons.md/analyze-sessionstatus=applied with commit SHAstatus=rejected with reasonWhen a lesson has been followed consistently (5+ sessions since written, 0 recurrences in that domain):
probation=3 — warn-only for 3 sessions, then blockingWhen session-start surfaces pending proposals:
status=approved (implement now), status=rejected (with reason), or leave pendingProposals pending for 10+ sessions without review → mark status=expired. The pattern may resurface later if it recurs, generating a fresh proposal with updated evidence.
npx claudepluginhub crombieman/undercurrent-cortex --plugin cortexGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Implements work from a spec or tickets using TDD at agreed seams, with regular typechecking and test runs, followed by code review.