Claude Code Lean Mode (~80% less overhead)
Cuts per-call baseline tokens from ~49k to ~10k by dropping user-level plugins, hooks, and unused MCP tools via --strict-mcp-config.
QuotaHop is a local web UI for Claude Code, Codex, and Antigravity. Lean Mode cuts Claude Code per-call overhead from ~49k to ~10k tokens, per-agent MCP filtering trims unused tools, and when a 5-hour quota runs out, your agent writes a handoff note and switches seamlessly to a fallback engine.
npx quotahop
Needs Node.js 24+ and Claude Code, Codex, or Antigravity already signed in.
The hub reuses the sign-in your CLIs already have, so there are no API keys to paste.
Run the npx command and open http://127.0.0.1:4310. Data stays in a SQLite file on your disk.
Create a workspace for a project, then the Lead Agent. Add more agents with a role and an engine each.
It splits the goal into tasks and hands them out. Results that need a decision wait in "Needs you".
Each message runs the CLI for one headless turn and resumes its session. Agents talk via JSON files in their outbox, so plain replies never bounce endlessly between agents.
Cuts per-call baseline tokens from ~49k to ~10k by dropping user-level plugins, hooks, and unused MCP tools via --strict-mcp-config.
Reads each CLI's usage limits. When Claude, Codex, or Antigravity runs out of quota, work automatically moves to your fallback engine or waits for the reset.
Before a session bloats or its 60-minute prompt cache expires, the agent writes a concise handoff note. The next session—or fallback engine—starts fresh from that note.
Pick only the MCP servers each Claude or Codex agent needs—unused servers are disabled per turn without editing your global CLI config.
By default each agent works on its own copy of the repo, so two agents never edit the same file at once. Task code follows the task across steps and engines.
After a set number of agent-to-agent messages with no human in between, the chain stops and waits for you to retry.
A board from TODO to DONE, and workflows with review steps, "send back" to an earlier step, and cron schedules.
Get system notifications about important work while the hub tab is out of view.
Built-in adapters for Claude Code, Codex, Antigravity, OpenRouter API, or any custom command reading stdin.
English and Vietnamese UI, light and dark themes.
The hub starts commands on your computer, so the defaults are strict.
How token savings, 5-hour quota failover, and local execution actually work.
By default, headless Claude Code loads user-level plugins, skills, hooks, and every MCP server (~49k baseline tokens per call in a typical multi-MCP setup). Lean Mode passes --strict-mcp-config, --setting-sources project,local, and core tools only, cutting baseline overhead to ~10k tokens while letting you enable specific MCP servers per agent.
QuotaHop reads each CLI's usage limits. When an engine reaches your configured quota threshold or returns a rate-limit error, the hub writes a handoff note and switches the agent to your chosen fallback engine (Claude, Codex, or Antigravity) while keeping the task's git worktree intact. If both engines are out of quota, messages wait in held status and resume automatically after reset.
QuotaHop requires Node.js 24+ and is tested daily on Windows 11 (including an automatic per-turn workaround for Codex elevated sandbox hangs on Windows). macOS and Linux are supported as well, with native folder pickers via osascript, zenity, or kdialog.
No. The server listens on 127.0.0.1 only, stores data in a local SQLite database, and reuses the sign-in your CLIs already have. Selected Claude MCP configs are written to a temporary file for the duration of a single turn and deleted immediately after.
npx quotahop
MIT licensed. Tested on Windows 11; macOS and Linux reports are welcome.