active-rules

by hatohato-lab · ★ 0 · updated 13 days ago

PanesGuardsCommandsPromptvalidates

0

いま文脈に読み込まれているルール(.claude\rules)を、分類・番号・P・名前・行数・文字数・トークンの表と合計の行でペインに出す。Read・Edit・Write でファイルを触った瞬間に、そのファイルで効く場所限定ルールの名前を toast で知らせる

install active-rules

Install

/plugin marketplace add hatohato-lab/claude-code-active-rules
/plugin install active-rules@claude-code-active-rules

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.startcommand.runprompt.submittool.callui.closeui.render
API calls
$.clock.every$.clock.now$.command.register$.fs.list$.fs.read$.fs.write$.session.usage$.state.get$.state.set$.ui.open$.ui.panes$.ui.resolve$.ui.toast
Draws
Pane
Can see
every promptevery tool call
Reach
level 2 of 3 writes filesreads filesreads mod 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/hatohato-lab/claude-code-active-rules
Path in repo
active-rules
Source commit
c47946c the exact code the scan read
Author
@hatohato-lab
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.