lessons

by Rohitp · ★ 0 · updated 7 days ago

PanesBandsGuardsCommandsPromptwarnings

0

Spots repeated failures and re-fetch loops as they happen, nudges the model, and turns them into small priced rules you approve.

install lessons

Install

/plugin marketplace add Rohitp/claude-mods
/plugin install lessons@claude-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
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
50cd428 the 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.

More from Rohitp/claude-mods

cache-guard

Rohitp/claude-mods

Counts down the prompt cache, warns before it goes stale, and can keep it warm with cheap cache-read pings.

★ 0PanesBandsStatus line

context-lens

Rohitp/claude-mods

A pane and a one-line band showing what fills the context window, by category and by biggest item.

★ 0PanesBandsCommands