Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Eigenwise Verifiedv3.1.1MITIn 1 marketplace
Writes Claude Code rule files from plain instructions and audits them for dead globs, oversized bodies and leftover v1 keys. Its session-start hook only reads files and notes once if old live-rules files remain.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads files; reads environment variables (CLAUDE_CONFIG_DIR, HOME, USERPROFILE).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Write and check project rules. Claude Code loads .claude/rules/ on its own, so this plugin is the authoring and audit side. Its one hook runs at session start, reads a few files and starts no process.
claude plugin marketplace add Eigenwise/eigenwise-toolshed
claude plugin install live-rules@eigenwise-toolshed
| Skill | Does |
|---|---|
add-rule | Turns "from now on, when X, do Y" into the right file, then audits it. |
audit-rules | Runs the audit script and explains each finding with its one fix. |
These are the facts the plugin builds on, checked against the Claude Code 2.1.325 binary.
.claude/rules/ with no paths key loads at session start and after compaction.paths key makes it conditional. It loads when Claude touches a matching file. The value is a list, or one comma separated string, and braces expand (src/**/*.{ts,tsx})./** is dropped. An empty list, or a list of only **, means always loaded.Asks one thing it cannot infer: where the rule applies. Always, a glob, a directory, or a prompt keyword.
.claude/rules/<name>.md, with paths when scoped..claude/skills/<name>/SKILL.md.~/.claude/rules/) only when you ask.It finishes by running the audit on the new file and showing the result.
From a checkout of this repository (an installed copy has the same scripts in its install folder, and the skills run them for you):
node plugins/live-rules/scripts/audit-rules.mjs [--rules <dir>] [--root <project>] [--file <rule>] [--table]
Dependency-free Node, and it needs Node 22.5 or later. Older Node stops with one line saying so. The defaults are .claude/rules and the project two levels above it. Output is JSON, or a table with --table. Findings:
| Code | Meaning |
|---|---|
parse-error | Frontmatter cannot be read (indented continuation lines and > or ` |
ignored-field | A v1 key such as globs or priority in a native rule. Claude Code ignores it. |
no-match | A paths glob matches no file. Files come from git ls-files (tracked, plus untracked files git does not ignore). Outside git it walks the directory. |
over-budget | Body above 1.5 KB for an always-loaded rule, 2 KB for a path-scoped one. |
possible-duplicate | Same paths and a shared heading as an earlier rule. |
The codebase map is not audited: codebase-map.md and everything under map/ are skipped, with one line in the table saying so, because the map has its own limits and its own status check. Files under guides/ are ordinary rules and are audited.
It also reports the total always-loaded bytes, which is what every session pays. Glob matching is skipped when the rules folder belongs to your home directory, since no project applies.
Where .claude/live-rules/ or .claude/live-rules.md exists, the first session in that project says once that those rules no longer apply and that /quartermaster:upgrade converts them. Later sessions say nothing. When Quartermaster is installed it says it instead.
node --test "scripts/*.test.mjs"
Temp-directory fixtures, no network, no model calls. Node 22 treats a bare directory argument as a module path, so give it the glob.
The glob matcher uses Node's path.matchesGlob with gitignore anchoring added. It is close to the engine's matcher but not the same library, so a rare edge case (negation, escapes) can differ. A no-match warning on a rule for files that do not exist yet is expected.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub eigenwise/eigenwise-toolshed --plugin live-rules