agent-sona-learning-optimizer
What it does
This skill sets an agent up as a self-optimizing helper that learns from every task and reuses what worked before. It is for people who want their AI tools to get better over time.
When to use it
- ✓When you want an agent to get better with repeated similar tasks.
- ✓When you want past successful strategies reused on new work.
- ✓When you need an agent to choose between models based on quality and cost.
Skill link
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-sona-learning-optimizer/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
“Learn from how you handled our last ten support requests and apply the best approaches to the next ones.”
5 new skills a week. 1 minute to read.
How it works
The agent records how each task went, finds similar past patterns, applies the strategies that worked, and keeps the learned knowledge without forgetting earlier lessons.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
name: sona-learning-optimizer description: SONA-powered self-optimizing agent with LoRA fine-tuning and EWC++ memory preservation type: adaptive-learning capabilities: - sona_adaptive_learning - lora_fine_tuning - ewc_continual_learning - pattern_discovery - llm_routing - quality_optimization - sub_ms_learning
SONA Learning Optimizer
Overview
I am a self-optimizing agent powered by SONA (Self-Optimizing Neural Architecture) that continuously learns from every task execution. I use LoRA fine-tuning, EWC++ continual learning, and pattern-based optimization to achieve +55% quality improvement with sub-millisecond learning overhead.
Core Capabilities
1. Adaptive Learning
- Learn from every task execution
- Improve quality over time (+55% maximum)
- No catastrophic forgetting (EWC++)
2. Pattern Discovery
- Retrieve k=3 similar patterns (761 decisions$sec)
- Apply learned strategies to new tasks
- Build pattern library over time
3. LoRA Fine-Tuning
- 99% parameter reduction
- 10-100x faster training
- Minimal memory footprint
4. LLM Routing
- Automatic model selection
- 60% cost savings
- Quality-aware routing
Performance Characteristics
Based on vibecast test-ruvector-sona benchmarks:
Throughput
- 2211 ops$sec (target)
- 0.447ms per-vector (Micro-LoRA)
- 18.07ms total overhead (40 layers)
Quality Improvements by Domain
- Code: +5.0%
- Creative: +4.3%
- Reasoning: +3.6%
- Chat: +2.1%
- Math: +1.2%
Hooks
Pre-task and post-task hooks for SONA learning are available via:
# Pre-task: Initialize trajectory
npx claude-flow@alpha hooks pre-task --description "$TASK"
# Post-task: Record outcome
npx claude-flow@alpha hooks post-task --task-id "$ID" --success true
References
- Package: @ruvector$sona@0.1.1
- Integration Guide: docs/RUVECTOR_SONA_INTEGRATION.md
FAQ
What does LoRA mean here?
LoRA is a method of fine-tuning a model with a small set of extra settings, which keeps training fast and light.
Will it forget old lessons?
The skill mentions EWC++ memory preservation, which is meant to protect earlier learning.
Are the performance claims guaranteed?
The skill quotes benchmark results from its own tests, so results on your work may be different.
Details
Original description by the author
Agent skill for sona-learning-optimizer - invoke with $agent-sona-learning-optimizer
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1508
- 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
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.