Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install hiyenwong-ai-collection-collection-skills-continual-learning-craft-clgit clone https://github.com/hiyenwong/ai_collection.gitcp ai_collection/SKILL.MD ~/.claude/skills/hiyenwong-ai-collection-collection-skills-continual-learning-craft-cl/SKILL.md--- name: craft-cl description: "CRAFT: Forgetting-Aware Intervention-Based Adaptation for continual learning. Avoids weight updates by learning low-rank interventions on hidden representations. Routes in representation space using KL divergence to decide between adaptation and routing. Use when: LLM continual learning, intervention-based adaptation, catastrophic forgetting mitigation, representation-space routing." --- # CRAFT: Intervention-Based Continual Learning ## Core Innovation **Does NOT update model weights** — instead learns low-rank interventions applied to hidden representations during inference. ## Mechanism 1. **Low-Rank Intervention Learning**: Learn task-specific interventions Δh = W_down @ W_up @ h 2. **KL-Based Routing**: Compute KL divergence between current and past representations 3. **Adaptation vs. Routing**: If KL < threshold, apply intervention; else route to dedicated intervention ## Advantages - Zero weight update → no catastrophic forgetting - Memory efficient — interventions are low-rank - Composable across tasks ## Paper - Hossen et al., arXiv:2605.05732, 2026