Claude Code usage

Governor

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

132 stars 7 forksUsage & cost trackers Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add 0xhimanshu/governor

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/0xhimanshu/governor.git

From the README

Governor for Claude Code

  Keep long AI coding sessions sharp under quota pressure.

  Now also works with Cursor · Windsurf · Cline · Codex CLI · Gemini CLI · Hermes · DeepSeek

  Quick Start ·
  Multi-Agent ·
  Why Governor ·
  Benchmarks ·
  Commands ·
  Install

Governor started as a Claude Code plugin for context hygiene, tool-output
filtering, memory compression, telemetry, and drift guardrails.

As of v0.2.4, Governor's core behavior — content-aware tool-output filtering
and context hygiene — works with any AI coding agent via prompt-based skills.
No hooks or MCP required.
Keep long coding sessions efficient without making the model dumber.

The Claude Code command namespace is /governor:*.

Quick Start

Claude Code (full plugin)

Restart Claude Code. Filtering, compact mode, and telemetry are already running —
there is nothing to turn on. When you want to look under the hood:

Other Agents (prompt-based skill)

This copies a Governor rules file into your project for each agent. The rules
teach the agent to self-filter noisy tool output, preserve unique data, and
maintain context hygiene — automatically, every session.

Multi-Agent Support

Governor works at two levels:

How it works for non-Claude agents: Governor's rules file teaches the agent
to apply content-aware filtering itself. When tool output has >40% duplicate
lines (test failures, log spam, build warnings), the agent compresses it —
keeping the first error, file:line, and exit code. When output is unique (API
responses, JSON, code), it passes through intact. No external dependencies.

Claude Code gets the deepest integration because it supports plugin hooks.
Other agents get the core behavior via prompt engineering.

Why Governor

Long coding sessions usually do not fail because the AI writes one…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
6 September 2026
Topics
ai-toolsclaude-aiclaude-codeclaude-code-pluginclaude-skillsclicontext-windowdeveloper-toolsllmprompt-engineeringtoken-optimization

FAQ

What is Governor?

Claude Code usage governor: compact professional output, context slimming, tool-output filtering, telemetry, and drift guardrails. It is a usage for Claude Code, from 0xhimanshu/governor on GitHub.

How do I install Governor?

Run /plugin marketplace add 0xhimanshu/governor inside Claude Code, then follow the setup in the README.

Is Governor popular?

0xhimanshu/governor has 132 GitHub stars and 7 forks. It was last updated on 6 September 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.