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 charlesjones-devv1.3.1MITIn 1 marketplace
Adds, upgrades and removes versioned standing-instruction sections in CLAUDE.md through a wizard that keeps your edits. Its cleanup command audits CLAUDE.md files for rules that restate Claude Code's own behavior or belong in a setting.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Adds, upgrades and removes versioned sections of standing instructions in your user or project CLAUDE.md, from a library, through a wizard. You pick the sections, the parts of each section you want, and settings such as your time zone. When a new version of a section ships, the wizard upgrades it and keeps any edits you made. A second command audits your CLAUDE.md files and removes rules that cost context and change nothing.
The plugin runs in Claude Code only.
/rules-setupRun /rules-setup and answer the questions. It takes no arguments.
~/.claude/CLAUDE.md (every project) or ./CLAUDE.md (this project). It finds your home folder on Windows, macOS and Linux/workflow-rules from ai-workflow 3.x~/.claude/backups/ai-rules/, and scans again afterwards to check the result/rules-setup
/rules-cleanupAudits the CLAUDE.md files Claude Code loads, and nothing else. The user and project files load into every session, and nested files load when Claude works in their folder. A rule that doesn't change what Claude does only costs context.
Claude Code's built-in
/doctor prompt-audit(v2.1.283 or later) checks all your instruction files, including rules, skills, subagents and output styles, for outdated instructions, missing files and contradictions. Run it for those files./rules-cleanupgoes further on CLAUDE.md alone. It finds rules that restate Claude Code's own instructions, rules that a setting or hook should enforce, and rules that sit in the wrong file or load more often than needed. It also counts tokens and what each fix saves, cleans up structure, keeps a backup, and leaves/rules-setupsections intact.
| Kind | Example | Usual fix |
|---|---|---|
| Built-in | "Read a file before editing it", which Claude Code's own instructions already say | Delete |
| Setting | "Never read .env", which a permissions.deny rule enforces instead of asking | You make the setting change, then the rule goes |
| Stale | A script, path, tool, command or model that no longer exists | Fix or delete |
| Conflict | Two rules that disagree, in one file or across the user, project and policy files | You pick one |
| Low value | Personas, vague rules, history, file trees and other lists Claude can read from the code | Delete or condense |
| Placement | A personal preference in a shared project file, or a long runbook that loads every session | Move it to the right file, or to a file Claude reads on demand |
| Format | Duplicate or empty headings, rules buried in paragraphs, IMPORTANT on every line, broken Markdown | Restructure without changing the meaning |
~/.claude/CLAUDE.md, the project's CLAUDE.md, .claude/CLAUDE.md and CLAUDE.local.md, CLAUDE.md files in parent folders, the project's AGENTS.md when Claude Code loads it in place of CLAUDE.md, nested CLAUDE.md files if you include them, and the files they @ import. It reads the organization's managed policy file to find conflicts, but never edits it~/.claude/backups/ai-rules/ before it writes/rules-setup unchanged, and suggests a /rules-setup change for them instead/rules-cleanup # User and project files
/rules-cleanup user # Only ~/.claude/CLAUDE.md
/rules-cleanup project # Only the project's files
/rules-cleanup all --report # Report only, change nothing
You can also ask in plain words, such as "clean up my CLAUDE.md".
The wizard asks about one group at a time, and every section is a separate choice.
7-day copy clicks
npx claudepluginhub charlesjones-dev/ai-agent-plugins --plugin ai-rulesBuilt 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