A summary is a retelling. The session is the original. another moves the original.You know the moment. Thirty turns into something that finally works, the model runs out of quota — or the work turns out to want a different one. The usual escape is to ask for a summary, paste it into a different agent, and spend the next ten minutes re-explaining the parts the summary flattened.I did that enough times to notice what actually annoyed me. It was not the switch. It was that the conversation, the artifact both of us had spent an hour building, was treated as disposable, while a paragraph about the conversation was treated as the thing worth keeping.
Moving the session, literally
Verify, then roll back
Ten agents, and an honest line through them
Titles, because forty sessions cannot all be "New session"
Install it
Bash
brew trust nxxxsooo/tap
brew install nxxxsooo/tap/another
another
Let AI Do It
Bash
Install the `another` CLI and migrate one of my coding-agent sessions into a different agent.
Reference: https://mjshao.fun/blog/another-migrate-coding-agent-sessions
My setup:
- Platform: [ask me]
- Install method (homebrew / script / go install): [ask me]
- Agents I want indexed: [ask me]
- Target agent for the first migration: [ask me]
Steps:
1. Detect which coding-agent CLIs I actually have and show me the list.
2. Install another with my chosen method; run `brew trust nxxxsooo/tap` first only if Homebrew requires it.
3. Verify `another --version` and show me `another providers doctor`.
4. Tell me to run `another setup` myself — do not write its config file directly.
5. Run `another list --limit 20`; if empty, run `another index update` once before declaring failure.
6. Let me choose one low-stakes session, then run `another migrate SESSION_ID --to TARGET -y`.
7. Show me the resume command it printed. Never touch a session I did not choose.
摘要是转述,会话才是原件。another 搬的是原件。那个场景你一定熟悉:聊到第三十轮,东西终于跑通了,模型额度用完了 —— 或者这段活其实更适合另一个模型。常规操作是让它总结一遍,粘到另一个 agent 里,然后花十分钟把摘要压扁的那些细节重新讲一遍。这么干过几次之后我才想明白真正让我烦的是什么。不是换 agent 这件事,而是那段对话 —— 两边一起花了一个小时攒出来的东西 —— 被当成一次性的,而一段「关于这段对话」的文字反而被当成值得留下的部分。
字面意义上的搬运会话
先校验,不对就回滚
十个 agent,中间画一条实线
标题:四十条会话不能都叫「New session」
装上试试
Bash
brew trust nxxxsooo/tap
brew install nxxxsooo/tap/another
another
让 AI 直接来
Markdown
帮我安装 `another` CLI,并把我的一条 coding agent 会话迁移到另一个 agent。
参考:https://mjshao.fun/blog/another-migrate-coding-agent-sessions
我的情况:
- 平台:[ask me]
- 安装方式(homebrew / 脚本 / go install):[ask me]
- 想索引的 agent:[ask me]
- 第一次迁移的目标 agent:[ask me]
步骤:
1. 检测我本机实际装了哪些 coding agent CLI,把清单给我看。
2. 用我选的方式安装 another;只有 Homebrew 版本要求时才先跑 `brew trust nxxxsooo/tap`。
3. 验证 `another --version`,并把 `another providers doctor` 的输出给我。
4. 让我自己运行 `another setup`,不要直接改它的配置文件。
5. 运行 `another list --limit 20`;如果为空,先跑一次 `another index update` 再判断失败。
6. 让我挑一条不重要的会话,然后运行 `another migrate SESSION_ID --to TARGET -y`。
7. 把它打印的恢复命令给我看。绝不动我没有选的会话。