lessons
by Rohitp · ★ 0 · updated 7 days ago
0
Spots repeated failures and re-fetch loops as they happen, nudges the model, and turns them into small priced rules you approve.
Install
/plugin marketplace add Rohitp/claude-mods/plugin install lessons@claude-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
session.startsession.endsession.measureprompt.submitturn.completetool.callcommand.runui.render- API calls
$.clock.now$.command.register$.fs.ancestors$.fs.exists$.fs.read$.fs.write$.model.complete$.session.cwd$.session.id$.session.model$.session.root$.session.turns$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.open$.ui.panes$.ui.resolve$.ui.toast- Draws
PaneAbovePrompt- Can see
every promptevery tool call- Reach
- level 2 of 3 writes filesdrives Claudereads filesreads mod statepersists 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/Rohitp/claude-mods
- Path in repo
lessons- Source commit
50cd428the exact code the scan read- Author
- @Rohitp
- License
- No license declared — ask the author before reusing code.
- 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.