learn

Solid

Diagnose and fix agent behavioral surfaces when the user corrects a mistake — connects to Claude native memory.

AI & Automation 321 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /learn — Behavioral Correction When a user corrects a mistake, `/learn` diagnoses which behavioral surface caused it and applies a minimal, targeted fix. ## When to Use - User corrects agent behavior ("no, don't do that", "you should always...", "stop doing X") - Agent made a mistake that should never recur - User explicitly invokes `/learn` - A pattern of repeated errors suggests a missing behavioral rule ## How It Works This is an **interactive skill**. The user invokes `/learn` directly, and the agent runs in the foreground, conversing with the user throughout. ## Flow 1. **Analyze the mistake:** What went wrong? Read the conversation context, recent changes, and relevant code to understand the error. 2. **Determine root cause:** Why did the agent behave this way? Missing rule? Stale convention? Wrong default? 3. **Diagnose the surface:** Which behavioral surface needs to change? (See Writable Surfaces below.) 4. **Propose minimal fix:** Enter native plan mode. Show exactly which file will change, what content will be added/modified, and why. One change per learning — never batch. 5. **Apply with approval:** User must approve before any write. Apply the change. Confirm what was learned. 6. **Save to memory:** Write the learning as a feedback memory in `.claude/memory/` so Claude native memory retains it across sessions. ## Writable Surfaces The learn agent diagnoses which surface needs the fix: | Surface | Path | What It Controls | |---------|------|------------...

Details

Author
automagik-dev
Repository
automagik-dev/genie
Created
10 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

botlearn-selfoptimize

botlearn Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.

15 Updated 3 days ago
dvcrn
AI & Automation Listed

skill-learner

Persistent correction system that captures mistakes from skills or Claude behavior and ensures they never repeat across sessions. Use whenever the user indicates something went wrong — "that's wrong", "fix this", "not what I wanted", "learn from this", "don't do that again", "esto está mal", "aprende de esto", "no hagas eso otra vez", or any correction, complaint, or teaching moment about Claude's output or a skill's behavior. Also use when the user asks to review, list, delete, or manage past corrections, or wants to create an improvement proposal for a skill author. Covers installed skills, general Claude behavior, and cross-session learning persistence.

2 Updated 6 days ago
j4rk0r
AI & Automation Listed

learn

Extracts lessons learned from conversations and persists them to AI assistant config files (CLAUDE.md, GEMINI.md, AGENTS.md, Cursor, Copilot, Windsurf, Continue) or creates new skills from discovered workflows. Use this skill whenever: a command failed then succeeded (especially with a flag or env change), debugging revealed a workaround, an assumption proved wrong, undocumented behavior was discovered, a multi-step pattern was invented on the fly, or the user says "/learn", "remember this", "save this", "add this to CLAUDE.md", "don't forget this", or "make a skill for this". Also invoke proactively after any complex troubleshooting session where notable lessons emerged, even if the user didn't explicitly ask.

2 Updated yesterday
WhatIfWeDigDeeper
AI & Automation Listed

lesson

Capture a rule into ~/.claude/CLAUDE.md so every future Claude Code session sees it. Use this whenever the user corrects you ("no", "don't", "stop", "wrong", "that's not", "I told you", "you keep", "again", "actually"), names a rule out loud ("always X", "never Y", "from now on Z", "remember this", "this needs to be a lesson", "make this an enforced lesson"), or you discover a non-obvious constraint that future sessions should respect. Also use when the user explicitly types /lesson. The skill writes a block to the `## Lessons` section of ~/.claude/CLAUDE.md via the assistant-curator CLI; CLAUDE.md auto-loads into every session so the rule propagates immediately.

0 Updated yesterday
elitecoder
AI & Automation Featured

claude-reflect

Execute self-learning system that captures corrections during sessions and syncs them to CLAUDE.md. Use when discussing learnings, corrections, or when the user mentions remembering something. Trigger with phrases like "remember this", "don't forget", "use X not Y", or "actually...".

2,274 Updated today
jeremylongshore