Agent Quota Relay — Development skill for Claude Code
Agent Quota Relay — 让多个编程助手用已有额度接力完成任务,兼容 Codex、OpenCode、Claude Code 等 MCP 主控.
How to install Agent Quota Relay
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yanghongt/agent-quota-relay and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Quota Relay does
Agent Quota Relay — 让多个编程助手用已有额度接力完成任务,兼容 Codex、OpenCode、Claude Code 等 MCP 主控。
Alternatives in Development
- Claude Telegram Relay — Minimal pattern for running Claude Code as an always-on Telegram bot 326 ★
- Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
- Opencode — A powerful, custom opencode configuration, complete with a suite of agents, commands, rules, skills, and a pre 133 ★
README
Agent Quota Relay
Agent Quota Relay 是一个**本地多 Agent 派活与验收工具**。你平时对话的 AI(主控)通过 MCP 把范围明确、可验证的任务交给另一个已安装的编程 Agent;桥接器负责选择可用 Agent、独立重跑验收命令,并保留改动证据和失败现场。
它不是模型服务,也不显示账户余额;不会自动签到或绕过平台限制。需要查看余额时,建议使用 Pane 等成熟工具。仓库名为 `agent-quota-relay`,内部引擎、CLI 命令和 MCP 名称保留 `agent-bridge`,以兼容现有安装。本项目与 OpenCode、Qoder CN、CodeBuddy、GitHub Copilot、TRAE、WorkBuddy 等厂商无隶属或背书关系;相关名称仅用于说明兼容对象。
**关于 Antigravity:** 它的[服务条款](https://antigravity.google/terms)禁止把 Antigravity 提供的凭据(如 OAuth 令牌)拿到官方运行时之外使用、修改或绕过运行时、或把它改造成供外部代理循环使用的原始模型代理,也禁止在多用户间共享、合并或转卖额度;违反可能导致 Antigravity 访问被暂停(可申诉,官方说明不影响 Google 账号)。通过受支持接口调用是条款明确允许的,例如经 ACP 接入、作为其他主控的子代理、或无头 CLI。本项目只支持这类受支持方式,请勿在官方运行时之外搬运或转用它的凭据。
[English README](README.en.md)
这份 README 按**完全没接触过 MCP/ACP 的 Windows 用户**来写。你只需要会解压文件、在 PowerShell 里运行命令。遇到不懂的名词,先看下面的「先把名词说清楚」。
当前版本(0.5.1)
0.5.1 已发布,`main` 与最新 Release 的源码一致。
`main` 由 Windows CI 验证 Node.js 22/24、完整测试套件、MCP 握手和跟踪文件的秘密扫描;完整集成也可在本机运行 `npm test` 和 `npm run test:mcp`。
- 内置 OpenCode、Qoder CN、CodeBuddy、GitHub Copilot CLI、TRAE CLI 五个执行 Agent。
- OpenCode 支持原有 CLI 路径与可选 ACP v1 通道;自定义 Agent 也统一通过 ACP/CLI 接入。
- 用户级注册表支持添加自定义 ACP Agent、CLI Agent 和 MCP 主控,各主控共享定义、隔离运行状态。
- 本机网页控制台可管理 Agent/主控、调用顺序、模型、试跑、运行证据、官方领取入口和每日提醒。
- 写任务必须通过桥接器独立验收;执行 Agent 启动后失败会停止自动回退,保留现场供主控检查。
- 面向 Windows 本机使用,无新增运行时依赖。
目录
- 先把名词说清楚
- 你需要准备什么
- 5 分钟安装
- 打开控制台
- 桌面客户端(可选)
- 控制台第一次设置
- 添加自定义 Agent
- 添加自定义主控
- 从主控派活
- 看懂运行结果
- 常见问题
- 安全与隐私
- 升级、备份、卸载
- 进阶参考
- 开发与验证
- 目录结构
- 第三方组件
先把名词说清楚
| 名词 | 用大白话说 |
|---|---|
| 主控 | 你平时聊天的那个 AI,比如 Codex、Claude Code、OpenCode。它负责理解需求、拆任务、验收结果。 |
| 执行 Agent | 真正动手改代码的编程助手,比如 OpenCode、Qoder CN、CodeBuddy、GitHub Copilot CLI、TRAE CLI,或你自己接入的 Agent。 |
| MCP | 主控调用外部工具的标准接口。桥接器就是一个本机 MCP 服务。 |
| ACP | 一种更通用的 Agent 连接协议。支持 ACP 的 Agent 可以直接对话;不支持时走 CLI。 |
| CLI | 命令行方式。桥接器启 |
Related Skills
Claude Quota Relay
Local failover proxy for Claude Code: rotate between multiple Claude subscription accounts and transparently w
Agent Control Center
Agent 控制中心:Flutter 手机端通过 Happier Relay(E2EE)远程控制电脑上的 Codex / Claude Code / OpenCode / OpenClaw / Hermes
Agent Relay Auto
A protocol-driven orchestration framework for reliable multi-agent collaboration, context handoff, and automat
Opencode Antigravity Quota
OpenCode plugin to monitor Antigravity API/Gemini Cli quotas across multiple accounts.
Opencode Ag Auth
Enhanced Antigravity OAuth plugin for OpenCode strict quota locking, multi-account rotation, Oh-My-OpenCode in
Subswap
Safely switch and monitor Claude Code, Codex, Cursor, Kimi and OpenCode accounts with local snapshots and opti
Related Agents
Paf Reviewer
Runs one phone-a-friend relay or review command in the background and reports back a receipt plus the findings
Transport Verifier
Runs live end-to-end checks of a delivery transport (Herdr socket, MCP server, Claude Code or Codex hook, Open
Protocol Researcher
Verifies facts about vendor agent CLIs, SDKs, protocols and terms (Claude Code, Codex, Gemini CLI, OpenCode, A