From e13f144e1660b41798298b68fe60639b165ffe92 Mon Sep 17 00:00:00 2001 From: rUv Date: Sat, 7 Feb 2026 17:16:49 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: feature/codex-integration - Timestamp: 2026-02-07T17:16:49Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .agents/skills/neural-training/SKILL.md | 68 +++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .agents/skills/neural-training/SKILL.md diff --git a/.agents/skills/neural-training/SKILL.md b/.agents/skills/neural-training/SKILL.md new file mode 100644 index 0000000000..aa1312462a --- /dev/null +++ b/.agents/skills/neural-training/SKILL.md @@ -0,0 +1,68 @@ +--- +name: neural-training +description: > + Neural pattern training with SONA (Self-Optimizing Neural Architecture), MoE (Mixture of Experts), and EWC++ for knowledge consolidation. + Use when: pattern learning, model optimization, knowledge transfer, adaptive routing. + Skip when: simple tasks, no learning required, one-off operations. +--- + +# Neural Training Skill + +## Purpose +Train and optimize neural patterns using SONA, MoE, and EWC++ systems. + +## When to Trigger +- Training new patterns +- Optimizing agent routing +- Knowledge consolidation +- Pattern recognition tasks + +## Intelligence Pipeline + +1. **RETRIEVE** — Fetch relevant patterns via HNSW (150x-12,500x faster) +2. **JUDGE** — Evaluate with verdicts (success/failure) +3. **DISTILL** — Extract key learnings via LoRA +4. **CONSOLIDATE** — Prevent catastrophic forgetting via EWC++ + +## Components + +| Component | Purpose | Performance | +|-----------|---------|-------------| +| SONA | Self-optimizing adaptation | <0.05ms | +| MoE | Expert routing | 8 experts | +| HNSW | Pattern search | 150x-12,500x | +| EWC++ | Prevent forgetting | Continuous | +| Flash Attention | Speed | 2.49x-7.47x | + +## Commands + +### Train Patterns +```bash +npx claude-flow neural train --model-type moe --epochs 10 +``` + +### Check Status +```bash +npx claude-flow neural status +``` + +### View Patterns +```bash +npx claude-flow neural patterns --type all +``` + +### Predict +```bash +npx claude-flow neural predict --input "task description" +``` + +### Optimize +```bash +npx claude-flow neural optimize --target latency +``` + +## Best Practices +1. Use pretrain hook for batch learning +2. Store successful patterns after completion +3. Consolidate regularly to prevent forgetting +4. Route based on task complexity