Skip to content
Development
Command

/audit

Audit recurring context files and suggest usage-limit optimizations.

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

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/audit

Context preview

What this command does when you run it.

Audit recurring context files and suggest usage-limit optimizations.

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.

Ships withgovernor

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

Get the whole plugin
Stats
133
Stars
7
Forks
Active
Maintenance
Python
Language
MIT
License
7d ago
Last commit
4mo ago
Created

Repo: 0xhimanshu/governor

Other commands on governor.