← 返回案例库
CUSTOMER STORY · 会议纪要与团队协作

多个编程智能体账号额度用完时,自动交接会话

Hand off coding sessions between agent accounts at usage limits

Tools · 使用工具Codex · Claude Code
Source · 来源原作者 · Hacker News
Zaowuyun · 可参考能力上下文管理
01

谁在用

Who

开发者 teivz。

02

遇到什么问题

Challenge

同时用多个 Codex 和 Claude Code 账号,一个额度用完就要手动把上下文复制到另一个。

03

怎么用 AI 解决

Solution
  1. 在自己电脑上搭建带网页界面的会话记录服务器。
  2. 在一处显示所有账号的用量,达到上限时自动把对话交给另一个账号。
  3. 还支持手动选账号、媒体文件管理、历史搜索和集成。
04

结果如何

Results据原作者自述
  • 没有数字或测试结果,交接对上下文的保留效果未知
  • 来源未说明上下文如何传递,也未说明能否安装使用

以上内容均由原作者自行报告,未经独立核实,也不代表造物云产品的效果。

05

提示词

Prompt

参考提示词(由 agentusecases.ai 整理为模板,非原帖原文)

中文

为我做一个本地小工具:跟踪我【数量】个 Codex 和 Claude Code 账号的用量,接近上限时提醒。某个账号达到上限时,保存当前会话摘要(任务、改动文件、下一步),方便我粘贴到另一个账号继续。

ENGLISH

Build me a small local tool that tracks usage across my [number] Codex and Claude Code accounts and warns me when one is close to its limit. When an account hits its limit, it should save a summary of the current session (task, files touched, next steps) so I can paste it into another account and continue. Done means I can run it, see usage per account, and generate a handoff note; show me the plan before it touches any credentials or config files.