Skip to content
Skillpedia
Agents81k · #1508

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.md

Copy 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

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-sona-learning-optimizer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills