Skip to content
Development
Command

/audit

Audit recurring context files and suggest usage-limit optimizations.

From plugin
governor
1325 skills5 commands5 hooks
> /plugin marketplace add 0xhimanshu/governor
> /plugin install governor@governor

Command definition

audit.md
description: Audit recurring context files and suggest usage-limit optimizations.
disable-model-invocation: false

Governor Audit

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:

  • total recurring-context estimate
  • largest context files
  • duplicate/oversized files
  • top three recommendations

Prefer low-friction recommendations before governance:

1. compress always-loaded memory 2. split long details into on-demand skills/reference files 3. filter noisy test/build/search output 4. use `/clear` when task changes 5. use `/compact` only when continuing the same task

Keep recommendations helpful, not bossy. Do not require planning unless the user explicitly asks or the task is broad and risky.

@0xhimanshu
Ships withgovernor

Claude Code usage governor: compact professional output, context slimming, tool-output filtering, telemetry, and drift guardrails.

Stars on GitHub

Momentum

stars in total
132
Star history of 0xhimanshu/governor on GitHub, a chart by star-history.com

Other commands on governor.

compress

compress

Command

Automatically compress CLAUDE.md or other memory files with protected-span safety. One-command token savings.

@0xhimanshu@0xhimanshuInstall Command
mode

mode

Command

Control Governor. Show or set mode (on/off), allow full output for the next diagnostic step, or apply strict governance to the…

@0xhimanshu@0xhimanshuInstall Command
plan

plan

Command

Create an implementation contract before broad work, or check current changes against the saved contract.

@0xhimanshu@0xhimanshuInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command