/governor:auditfrom governor
Audits recurring context files (CLAUDE.md, rules, etc.) for size and duplication, estimates total context usage, and suggests low-friction optimizations.
Ships in governor. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Audit paths from $ARGUMENTS. If no arguments are provided, audit common memory
files such as CLAUDE.md, .claude/CLAUDE.md, .claude/rules, AGENTS.md,
Cursor rules, and Windsurf rules.
Run:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/governor.py" audit $ARGUMENTS
Summarize:
Prefer low-friction recommendations before governance:
/clear when task changes/compact only when continuing the same taskKeep recommendations helpful, not bossy. Do not require planning unless the user explicitly asks or the task is broad and risky.
7-day visitors to each command page
5 commands in this plugin
/compressGovernor CompressAutomatically compress CLAUDE.md or other memory files with protected-span safety. One-command token savings./modeGovernor ModeControl Governor. Show or set mode (on/off), allow full output for the next diagnostic step, or apply strict governance to the current task./planGovernor PlanCreate an implementation contract before broad work, or check current changes against the saved contract./statusGovernor StatusShow Claude Code Governor usage dashboard and waste heat map.npx claudepluginhub 0xhimanshu/governor --plugin governorOther plugins' commands for the same job