lessons-learned
by Sunkanxx · ★ 0 · updated 7 days ago
0
Learns from your corrections: keeps each one for you to confirm at session start, recalls the lesson when it is relevant again, and turns a repeated correction into a rule CLAUDE.md loads in every session.
Install
/plugin marketplace add Sunkanxx/Mods/plugin install lessons-learned@sunkanxx-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
prompt.submittool.callsession.compactturn.completesession.startcommand.run- API calls
$.clock.after$.clock.now$.clock.sleep$.command.register$.env.get$.fs.exists$.fs.read$.fs.write$.model.complete$.session.cwd$.session.id$.session.messages$.session.repo$.session.surfaces$.session.turns$.store.delete$.store.get$.store.set$.ui.ask$.ui.log$.ui.status- Can see
every promptevery tool callcompaction- Reach
- level 2 of 3 writes filesdrives Claudereads filesreads env varsreads the transcriptpersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/Sunkanxx/Mods
- Path in repo
lessons-learned- Source commit
2141a64the exact code the scan read- Author
- @Sunkanxx
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.