Who it is forA developer whose squad mixes Claude Code and Codex windows and who wants to stop guessing which window has room for the next piece of work.
The problemEach provider shows usage only for its own tool, so there is no single view of spend, quota and load across the squad.
The outcomeA ranked view of windows and models for a task, with the figures behind each suggestion. The tool assigns nothing; you decide.
What you need first
- Python 3.12 or newer
- macOS or another POSIX system
- Claude Code, Codex or Cursor installed
- A Git repository for the project the squad will work on
Steps
- Install Squadra with the one-sentence setup from SETUP.md, as shown in the README.
- Register your windows as the guide describes, so their sessions are counted with
--session. - Run
squadra balance --taskto get the full ranking for a task. - Read the Usage page in the local dashboard to compare token totals per window and model.
- Use
task,brieforstartfor a short forecast and balance before you assign work.
Prompt for your agent
Using the Squadra repo at https://github.com/dagoSte/squadra, rank the AI windows in the squad at <project path> for task <task ID>. Expected output: the output of `squadra balance --task` with the figures each suggestion rests on. Verify that the ranking lists every registered window and that no window is assigned automatically.
Caveat. Usage figures are computed on your computer from the session files the clients keep, and the README says Balance assigns nothing.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for dagoSte/squadra and "Pick the next window for a task by token use and quota"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer