learnings
Installation
SKILL.md
Архитектура
Layer 1: Episodes — core/learnings/episodes.jsonl (append-only)
Layer 2: Learnings — core/LEARNINGS.md (scored, max 30)
Layer 3: Rules — rules.md / CLAUDE.md (promoted, owner only)
CLI
Engine: ~/.claude/scripts/learnings-engine.mjs
ENGINE="node ~/.claude/scripts/learnings-engine.mjs"
# Record new episode
echo '{"context":"...","error":"...","rule":"...","impact":"high","tags":["workflow"]}' | $ENGINE capture