lessons-learned

by Sunkanxx · ★ 0 · updated 7 days ago

Status lineGuardsCommandsPromptvalidates

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 lessons-learned

Install

/plugin marketplace add Sunkanxx/Mods
/plugin install lessons-learned@sunkanxx-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

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
2141a64 the 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.

More from Sunkanxx/Mods

last-call

Sunkanxx/Mods

Stops work at a clean point before the 5-hour (or 7-day) usage limit, keeps the prompt cache warm while waiting, and continues the work after the reset.

★ 0PanesStatus lineGuards