Commands for the Aura Frog Learning System.
Manages the Aura Frog learning system with commands for setup, status, feedback, analysis, and applying improvements.
/plugin marketplace add nguyenthienthanh/aura-frog/plugin install aura-frog@aurafroglearn/Commands for the Aura Frog Learning System.
The learning system enables Aura Frog to improve over time by:
Full Guide: docs/LEARNING_SYSTEM.md
| Command | Purpose | When to Use |
|---|---|---|
/learn:setup | Create database schema | First time setup |
/learn:status | Show status and stats | Check if working |
/learn:feedback | Submit manual feedback | Report issues or successes |
/learn:analyze | Generate insights | Weekly or on-demand |
/learn:apply | Apply improvements | After analysis |
/learn:setupSets up the Supabase database schema.
Prerequisites:
bootstrap.sql in Supabase SQL Editor firstSUPABASE_URL and SUPABASE_SECRET_KEY in .envrcWhat it does:
/learn:statusShows learning system status and statistics.
What it shows:
/learn:feedbackManually submit feedback to the learning system.
Feedback types:
Options:
--type <type> - Skip type selection (success, correction, agent-issue, workflow-issue, suggestion)--message <msg> - Quick feedback message--severity <1-5> - Issue severity (for corrections)Examples:
/learn:feedback # Interactive
/learn:feedback --type success --message "Great!" # Quick positive
/learn:feedback --type correction --severity 3 # Report fix
/learn:analyzeAnalyzes collected data and generates insights.
What it does:
Options:
--focus agents - Focus on agent performance--focus workflows - Focus on workflow patterns--focus feedback - Focus on user corrections/learn:applyReviews and applies learned improvements.
What it does:
Options:
--auto - Auto-apply high confidence (≥80%)--preview - Show without applying--id <id> - Apply specific suggestion# 1. First time setup
/learn:setup
# 2. Verify it's working
/learn:status
# 3. After using Aura Frog for a while...
/learn:analyze
# 4. Apply improvements
/learn:apply
| What | How | When |
|---|---|---|
| Data collection | Automatic (hooks) | Every session |
| Send to Supabase | Automatic (on session end) | Every session |
| Manual feedback | Manual (/learn:feedback) | Anytime (optional) |
| Analysis | Manual (/learn:analyze) | Weekly recommended |
| Apply changes | Manual (/learn:apply) | After analysis |
Required in .envrc:
export SUPABASE_URL="https://your-project.supabase.co"
export SUPABASE_SECRET_KEY="your-secret-key"
export AF_LEARNING_ENABLED="true"
| Issue | Solution |
|---|---|
| "Not configured" | Set env vars, run source .envrc |
| "Bootstrap not found" | Run bootstrap.sql in Supabase SQL Editor |
| "Table not found" | Run /learn:setup |
| Empty results | Use Aura Frog more to collect data |
Version: 1.0.0