Loading...
Loading...
Self-improving agent patterns. Use when detecting corrections, proposing rules, or managing learned behaviors.
npx skill4agent add unisone/claude-learner learning| Command | What It Does |
|---|---|
| Check daemon and rules status |
| List all rules |
| Approve a pending rule |
| Reject a pending rule |
| Start the learning daemon |
| Stop the learning daemon |
log_correctionpropose_ruleget_rulesget_pending_rulesapprove_rulereject_ruleget_statsget_rulesUser: "Don't use rm, use trash instead"
1. Log correction: log_correction({
pattern: "using rm command",
correction: "use trash instead of rm",
context: "file deletion"
})
2. If pattern repeats, propose rule: propose_rule({
content: "Always use `trash` instead of `rm` for file deletion",
trigger: "rm command usage"
})
3. Rule goes to pending → user approves → permanently active