install-rules
Install Governor compact-mode rule files into a project for Codex, Gemini, Cursor, Windsurf, or Cline.
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/0xhimanshu/governor/HEAD/commands/install-rules.md -o ~/.claude/commands/install-rules.mdinstall-rules.md
# Governor Install Rules
Install always-on compact professional rule snippets into a project.
Usage examples:
```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/install_rules.py" --project . --agents all
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/install_rules.py" --project . --agents codex,cursor
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/install_rules.py" --project . --agents all --force
```
Explain that these rule files provide compact response behavior for other
agents. They do not install Claude Code telemetry, hooks, statusline, or Bash
output filtering outside Claude Code.Audit recurring context files and suggest usage-limit optimizations.
Explain or summarize Governor vs Caveman performance benchmark results.
Automatically compress CLAUDE.md or other memory files with protected-span safety. One-command token savings.
Temporarily ask Governor to avoid compacting tool output for the next diagnostic step.
Check current changes against the latest approved implementation contract.
Disable Governor compact response mode while keeping telemetry/tool hooks available.
Enable Governor compact professional mode for all prompts in this Claude Code session.
Create a compact implementation contract before broad app/site/game/refactor work.