neural-training
What it does
This skill covers training and optimizing learned patterns for an AI agent system, including routing tasks and keeping earlier knowledge. It is for people building agents that learn and adapt from their own work.
When to use it
- ✓When you want an agent to learn patterns from completed tasks.
- ✓When you want tasks routed to the right agent based on their complexity.
- ✓When you need learned knowledge consolidated so earlier lessons are kept.
Skill link
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/neural-training/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Train the routing patterns on the tasks we completed this week, then show me what the system learned.”
5 new skills a week. 1 minute to read.
How it works
The agent looks up related patterns, judges past results, extracts key lessons, and consolidates them so the system keeps what it learned.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- RETRIEVE — Fetch relevant patterns via HNSW (150x-12,500x faster)
- JUDGE — Evaluate with verdicts (success$failure)
- DISTILL — Extract key learnings via LoRA
- 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
npx claude-flow neural train --model-type moe --epochs 10
Check Status
npx claude-flow neural status
View Patterns
npx claude-flow neural patterns --type all
Predict
npx claude-flow neural predict --input "task description"
Optimize
npx claude-flow neural optimize --target latency
Best Practices
- Use pretrain hook for batch learning
- Store successful patterns after completion
- Consolidate regularly to prevent forgetting
- Route based on task complexity
FAQ
What does SONA mean here?
SONA is the name of the self-optimizing architecture the skill uses for adapting its patterns.
What is catastrophic forgetting?
It is when a learning system loses earlier knowledge while learning new things, which this skill tries to prevent.
When should I skip it?
The skill says to skip it for simple tasks or one-off operations that do not need learning.
Details
Original description by the author
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.
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1534
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
pytorch-patterns
280kHelps your agent use PyTorch for machine learning models. It applies best practices for efficient model training and ensures reproducible results.
evm-token-decimals
280kHelps your agent avoid errors with decimal numbers across different blockchain networks. It ensures token values are accurate in transactions and calculations.
ito-inference
280kLets your agent check the availability of AI models for use. It connects the compute request with the ready model service.