Skip to content
TokenGovernor

In-repo rules · Lite is MIT

Behavioral cost control
for AI coding agents

Markdown rules that keep agents from burning context — bounded reads, plan-first edits, and approval gates. Lite is free on GitHub. Plus adds the tg installer, benchmarks, and richer packs for $9/mo.

No account · rules stay in your repo · works with Cursor, Claude, Gemini.

Lite by copy. Plus by CLI.

Both editions land the same tokengovernor/ tree — they differ only in how it gets there.

zsh — your-app
# Lite — free, copy from GitHub
$ git clone https://github.com/gokubingoman/tokengovernor.git
$ cp -r tokengovernor/{universal,cursor,packs,workspace-memory} ./tokengovernor

# Plus — $9/mo, private npm (auth once — see Plus INSTALL)
$ pnpm dlx @tokengovernor/cli@latest init
> Point Cursor at tokengovernor/cursor/rules.md

Loved by teams shipping with agents.

Finally a rules pack that matches how we want Cursor to behave — not another bloated "do everything" prompt.
Alex M.Platform engineer
Lite is tiny; Plus is where our Claude and Gemini setups lived day one. Clear upgrade path.
Jordan K.Startup CTO
We stopped eating tokens on blind repo greps the week we adopted the universal file.
Sam R.Lead developer
The honest Lite vs Plus split makes our internal policy docs easier to explain to new hires.
Casey L.Engineering manager

Manage agent behavior, not chaos.

  1. 01

    Define the baseline.

    One universal Markdown file encodes non-negotiables: bounded reads, plan-first edits, secrets hygiene.

  2. 02

    Wire your IDE.

    cursor/rules.md plus packs/ for Claude, Gemini, OpenCode, OpenClaw. Lite ships baseline packs; Plus adds the extended set.

  3. 03

    Iterate without drift.

    Plus releases ship updated rules and templates. Run tg doctor to verify any repo, or refresh with tg init.

Same discipline. Different packaging.

Both editions teach the same habits. Plus layers an installer, measurements, and richer templates on top.

Lite · Plus

Low-token discipline

No default full-repo scans. Justify exploratory reads. Concise output by default.

Lite · Plus

Approval gates

Explicit confirmation before installs, destructive git, migrations, and env edits.

Lite · Plus

Multi-IDE packs

Cursor, Claude, Gemini, OpenCode, OpenClaw hooks ready to wire in.

Plus only

tg CLI

One command drops the full tokengovernor/ tree into any repo — no copy/paste drift.

Plus only

Extended packs

Stricter coding norms, longer examples, deeper memory and security templates.

Plus only

Benchmarks

Reproducible token-footprint and log-handling scenarios with documented methodology.

Start free. Upgrade when you're ready.

Lite covers individuals and small projects. Plus is for teams that want one-command installs and release-aligned updates.

Lite

Open Markdown kit on GitHub.

Free MIT · forever
  • Universal baseline + Cursor rules
  • Baseline multi-IDE packs/
  • workspace-memory/ scaffold
  • Copy or submodule into any repo
Open Lite on GitHub
Plus

Plus

Full distribution for teams.

$9/mo Cancel anytime
  • Everything in Lite
  • tg init, memory-init, doctor
  • Extended packs/ & premium examples
  • Reproducible benchmarks & methodology docs
  • Release-aligned template updates
Get Plus — $9/mo
Capability Lite Plus
Universal baseline + Cursor rules Included Included
Multi-IDE packs/ Baseline Extended
workspace-memory/ Copy from repo tg init drops it in
tg CLI on npm Included
Benchmarks & methodology Included
Pricing Free $9 / month

What changes with TokenGovernor.

Without

Agents grep half the repo and dump files into chat — context burns on every task.

With TokenGovernor

Bounded reads, plan-first edits, and explicit gates — codified in-repo.

Without

Cursor and Claude configs scattered and out of sync across the team.

With TokenGovernor

One tokengovernor/ tree — universal baseline, Cursor rules, and packs/ for the rest.

Without

Every new repo means re-explaining the rules; agents drift between projects.

With TokenGovernor

One tg init drops the same baseline into every repo — release-aligned updates keep them in sync.

Frequently asked questions.

What's the difference between Lite and Plus?
Lite is the free Markdown kit you copy or submodule from GitHub. Plus ($9/mo) adds the tg CLI, reproducible benchmarks, and extended packs.
Does TokenGovernor phone home?
No. Rules are files in your repo. The Plus CLI only writes templates locally.
Which AI tools does it work with?
Cursor, Claude, Gemini, OpenCode, OpenClaw — every pack is plain Markdown wired to that tool's rules entrypoint.
Can I cancel Plus?
Yes — month-to-month, cancel anytime. Lite stays free regardless.
License?
Lite is MIT on GitHub—fork and adapt; keep the license when redistributing. Plus is proprietary (not open source); terms are in the Plus repo.

Ship calmer agent sessions this week.

Start with Lite for free, or jump straight to Plus for the CLI and extended packs.