learned-rules

by Elmanuel1 · ★ 0 · updated 25 days ago

PanesBandsCommandsPromptwarnings

0

Turns your corrections into skill and repo rules you accept one by one, each with how a static check could enforce it

install learned-rules

Install

/plugin marketplace add Elmanuel1/claude-mods
/plugin install learned-rules@elmanuel1-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.startprompt.submitclassic.SessionEndturn.completecommand.runui.renderui.pressui.message
API calls
$.clock.now$.command.register$.env.get$.fs.exists$.fs.read$.fs.write$.process.run$.process.spawn$.prompt.fill$.session.id$.settings.read$.state.get$.state.set$.store.delete$.store.get$.store.set$.ui.notify$.ui.open$.ui.resolve$.ui.toast
Draws
AbovePromptPane
Can see
every promptclassic hooks
Reach
level 2 of 3 runs processeswrites fileswrites the prompt boxreads filesreads env varsreads settingsreads 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/Elmanuel1/claude-mods
Path in repo
learned-rules
Source commit
b2eaa70 the exact code the scan read
Author
@Elmanuel1
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 Elmanuel1/claude-mods

docs-watch

Elmanuel1/claude-mods

When one of your PRs merges, drafts the documentation update and opens it as its own PR once you approve

★ 0PanesBandsCommands