Home / Claude Code mods / Interface / active-rules

active-rules

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

Updated 2026-11-08

What is active-rules?

active-rules is a Claude Code mod by hatohato-lab that いま文脈に読み込まれているルール(.claude\rules)を、分類・番号・P・名前・行数・文字数・トークンの表と合計の行でペインに出す。Read・Edit・Write でファイルを触った瞬間に、そのファイルで効く場所限定ルールの名前を toast で知らせる. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authorhatohato-lab
Repositoryhatohato-lab/claude-code-active-rules
Popularityno public popularity data yet
CategoryInterface
SecurityReview before installing (76/100)
Rank#6,219 of 9,397 Claude Code mods; #2,626 in Interface
LicenseMIT
Last commit2026-11-08
Hooks6 events
Seesevery prompt, every tool call
Draws onPane

Is active-rules safe to install?

active-rules scores 76/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; watches every prompt or event. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Doesn't read environment variablesPass
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.session.usage
$.state.get
$.state.set
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install active-rules?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/hatohato-lab/claude-code-active-rules
    claude plugin validate ./claude-code-active-rules/active-rules
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add hatohato-lab/claude-code-active-rules && claude plugin install active-rules@claude-code-active-rules

Or ask Claude to set it up

Paste this into Claude Code and it installs active-rules for you:

Install the "active-rules" Claude Code mod from https://github.com/hatohato-lab/claude-code-active-rules/tree/main/active-rules. Run claude plugin validate on it first and show me what it can access before you enable it.