{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "jklthinking-retinue--monitor-agent-token-use-and-model-quota",
 "repo": "jklthinking/retinue",
 "repo_url": "https://github.com/jklthinking/retinue",
 "repo_slug": "jklthinking-retinue",
 "title": "See token activity and model quota per agent on the Home view",
 "page_title": "How to see token activity and model quota per agent on the Home view with Retinue",
 "summary": "Compare how much each agent uses and how much subscription quota remains, with source labels.",
 "who": "A person paying for several model subscriptions who wants to know which agents are consuming usage and when quotas reset.",
 "problem": "Usage is spread across Claude Code, Codex, and other subscriptions, so it is hard to tell which agent used what or when a limit will reset.",
 "outcome": "A Home view and Operations view that show reported token activity per agent and used percentages, reset times, and report age for enabled model quotas.",
 "steps": [
  "Run `docker compose up --build` and confirm the hub with `curl -fsS http://127.0.0.1:9219/api/health`.",
  "Upgrade an existing server through the explicit schema-26 migration described in docs/node-quota.en.md, since the README says existing servers require it. (inferred, check the README)",
  "Enable the node quota collector locally for the subscriptions you use, since collectors stay off until enabled. (inferred, check the README)",
  "Open the Home view and check the Claude, Codex, Grok, Cursor, or Kimi cards for used percentage, reset time, and report age.",
  "Open the Operations view and check reported usage coverage and receipt freshness before trusting the per-agent totals."
 ],
 "agent_prompt": "In the Retinue repo at <repo path>, enable the node quota collector as described in docs/node-quota.en.md and open the Home view. Report the used percentage, reset time, and report age for each enabled subscription, and verify that the Operations view labels each source and its coverage.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README says reported usage is not a complete provider bill, so these numbers should be read as coverage-limited estimates rather than invoices.",
 "category": "Work and operations",
 "tags": [
  "Work and operations"
 ],
 "lang": "python",
 "requirements": [
  "Docker with Compose installed",
  "Host port 9219 free on the machine that will run the hub",
  "An admin password of at least 8 characters",
  "Python for the optional MCP install (pip install 'retinue[mcp]')",
  "An agent that can send HTTP requests or speak MCP"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/jklthinking-retinue/monitor-agent-token-use-and-model-quota/",
 "md": "https://dedupedai.com/use-cases/jklthinking-retinue/monitor-agent-token-use-and-model-quota/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/jklthinking-retinue--monitor-agent-token-use-and-model-quota.json",
 "api_version": "v1"
}
