What problem does it solve? When a session teaches a reusable procedure — a corrected approach, a discovered workflow, a dead end worth avoiding — that knowledge is normally lost when the session ends. This Skill turns those lessons into persistent skills, either by patching an existing skill or staging a new one, so future sessions benefit without manual note-taking. ## Core Features & Use Cases - In-flight capture: Triggers proactively when the user corrects the same output twice, proposing a fix at the moment the defect is obvious rather than at session close. - Patch-before-create discipline: Lists existing skills, prefers adding a labeled subsection to an umbrella skill over creating overlapping micro-skills, and verifies patch anchors mechanically with patch_apply.py before proposing. - Gated application with undo: Shows the verbatim change for approval, applies it atomically on a clear yes, and appends every change to ~/.claude/skills-applied.log so it can be reverted; otherwise stages proposals in ~/.claude/skills-pending/ for /skills-review. - Use Case: After a user corrects your writing style twice in one session, the Skill quotes the offending passage in the existing style skill, shows the exact replacement text, and patches it on approval — logging the diff for later undo. ## Quick Start Ask the agent to propose a skill capturing the procedure this session just taught, or invoke /skill-propose with a hint about what to capture.