{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "dagoste-squadra--pick-the-next-ai-window-by-token-use",
 "repo": "dagoSte/squadra",
 "repo_url": "https://github.com/dagoSte/squadra",
 "repo_slug": "dagoste-squadra",
 "title": "Pick the next window for a task by token use and quota",
 "page_title": "How to pick the next window for a task by token use and quota with Squadra",
 "summary": "See what each AI window spent and which window or model should take the next task.",
 "who": "A 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.",
 "problem": "Each provider shows usage only for its own tool, so there is no single view of spend, quota and load across the squad.",
 "outcome": "A ranked view of windows and models for a task, with the figures behind each suggestion. The tool assigns nothing; you decide.",
 "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 --task` to 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`, `brief` or `start` for a short forecast and balance before you assign work."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Usage figures are computed on your computer from the session files the clients keep, and the README says Balance assigns nothing.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/dagoste-squadra/pick-the-next-ai-window-by-token-use/",
 "md": "https://dedupedai.com/use-cases/dagoste-squadra/pick-the-next-ai-window-by-token-use/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/dagoste-squadra--pick-the-next-ai-window-by-token-use.json",
 "api_version": "v1"
}
