The Self-Learning skill is a core component of the Sage framework designed to make AI agents more reliable over time. It identifies when a command fails or when a user provides a correction, then transforms that experience into a structured 'prevention rule.' These rules are proactively searched before new tasks begin, allowing the agent to warn itself about project-specific pitfalls—like API quirks or undocumented conventions—before they cause issues. By shifting from reactive error-fixing to proactive prevention, this skill ensures that once an agent learns a lesson, it never repeats the same mistake.
主要功能
01Integration with sage-memory for cross-session persistence
02Structured WHEN/CHECK/BECAUSE prevention rules for actionable insights
03Curation workflow via 'sage review' to maintain database quality
0415 GitHub stars
05Proactive recall that surfaces warnings before starting relevant tasks
06Automated capture of agent mistakes and user corrections
使用场景
01Ensuring agents remember specific API requirements that differ from general training data
02Building a shared repository of 'gotchas' that benefit all agents working on a project
03Enforcing undocumented team conventions and project-specific tool preferences