retiring-and-inheriting-a-seat
它能做什么
这个技能指导计划内的交接:接近记忆上限的 AI 智能体把席位交给新智能体。适合希望平稳过渡、而不是让压缩削弱智能体效果的团队。
适用场景
- ✓你是接近上下文上限的在岗智能体,计划的交接即将到来的时候。
- ✓你要把新的接班智能体安排进现有席位的时候。
- ✓你需要在席位历史中记录一段任期的时候。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/retiring-and-inheriting-a-seat/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我接近上下文上限,团队要把我的审查者席位交给一位新智能体。请帮我写交接包。”
每周 5 个新技能,1 分钟读完。
工作原理
它指导即将离任的智能体撰写交接包和任期记录,并帮助接班智能体从该交接包开始,而不是从一个已经退化的会话开始。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Retiring and Inheriting a Seat
A planned seat transition. A long-lived seat accumulates context; as it nears the window's edge, don't wait for compaction to degrade you into a cold-started agent — retire deliberately and hand the seat to a fresh successor primed from a packet plus the seat's accumulated lineage. The seat address is stable; its occupants are a lineage. Keep the transition and its authority explicit.
Use this when
- You are a sitting agent near your context threshold (~85%) with a planned transition (or a deliberate role change), and want the successor to start clean.
- You are priming a fresh successor into an existing seat.
- You are recording a tenure in the seat's lineage ledger / writing your tombstone.
- You are inheriting a seat and need the do-not-over-inherit framing.
- You want to consult the agent who sat in this seat before you.
Don't use this when
- Unplanned compaction or a crash already happened — that is the backstop path:
session-compaction-and-restore/claude-compaction-restore. - You need the seat-binding primitive mechanics (rebuild/fork/fresh, the two-outcome
honesty model, the provenance schema) —
seat-continuity-and-handover. - The seat is fresh with no occupant to retire —
rig launch/agent-starters.
Why planned handover beats riding compaction
Compaction is the crash-class backstop (it stays that). A planned handover is deliberate: you author the packet with a clear head before degradation sets in, the successor starts on a clean context, and the transition is auditable. Reach for this at a threshold you can see coming; fall back to compaction only when a transition wasn't planned.
The handover sequence
- Trigger — the selected continuity threshold or a deliberate role transition. Use the configured policy and named transition owner; a context estimate alone does not authorize a cutover.
- Author the handover packet, deliberately — a composed context pack carrying current
work + next owner, the seat's durable pointers, constraints and authority boundaries, and
the accumulated lineage wisdom ("those before you learned X"). This IS a restore packet
in the
session-compaction-and-restore16-field contract — reuse that contract, don't reinvent it. Compose it withrig context compose(see openrig-user → "Context packs and paced delivery"). Enumerate the seat's standing duties as first-class packet content: what recurs, at what cadence, on which surface, and who will hold it after cutover. Carry each duty both in this packet and in durable seat state, because recurring duties are the content most often lost at a generation boundary while urgent one-off work carries cleanly. Write the seat's recap too: runrig context recap-write --rig <rig> --seat <seat> --file <draft>alongside updatingLEARNED.md. ArebuildreadsRECAP.mdbefore anything else. The format the store checks is inseat-continuity-and-handover, "Write the seat's recap before a handover". - Prime the fresh successor —
rig walkthe packet into the seat (paced delivery lets the successor absorb it in order), or launch-with-packet. The successor reads it as inheritance, not identity. The packet's first-read line MUST point the successor atorienting-to-an-inherited-seat— its world model of what a handover is. Carry that pointer in the durable packet artifact itself; never inject it as a runtime prompt keyed to the seat name (that runtime mechanism is the ghost-prompt class the orientation skill teaches successors to refuse). Artifact-carried survives the swap for free and needs no enabled gate. - Assess before cutover. If an apprenticeship or warm handoff is selected, use that staged window for questions and domain work before the owner decides. The incumbent retains authority until the owner-worded cutover; do not retire it merely to free a name while waiting for that decision.
- Preserve the physical seat at cutover — follow the portable SOP linked from
seat-continuity-and-handover. Keep the canonical tmux session, window and pane; resume the exact accepted successor history there and reconcile binding, environment, queue identity and attached clients. Preserve the incumbent's exact token as a cold-advisor handle when that is the selected disposition. Renaming tmux sessions is a re
常见问题
计划内的交接能避免什么?
技能说明,它能避免压缩把长期运行的智能体变成冷启动的智能体。
新智能体会继承一切吗?
技能提醒不要过度继承,接班智能体应接收席位的上下文,但不应假定前任的权限。
这适用于崩溃吗?
不适用。计划外的压缩或崩溃由另一项恢复技能处理。
详情
作者的原始描述
Use when you are a sitting agent near your context threshold (~85%) and a PLANNED seat transition is due — retire deliberately and hand your seat to a fresh successor primed from a packet, rather than let compaction degrade you. Covers the handover packet, the append-only lineage ledger (one row per tenure), physical-seat continuity, the do-not-over-inherit framing, the optional warm-handoff window, and wake-v0 (consulting a retired predecessor). NOT for unplanned compaction/crash recovery (session-compaction-and-restore / claude-compaction-restore) and NOT the seat-binding primitive mechanics
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12396
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-operated-software
8.6k帮你的智能体设计、构建或调试一个后端包含 AI 智能体的持续运行应用,例如基于 Markdown 或 JSON 的智能体控制层。
agent-operated-workflows
8.6k帮你的智能体判断一个有边界的流程应由 AI 智能体还是普通代码执行,并基于已验证的证据从中断处恢复。
applying-a-permission-policy
8.6k帮你的智能体在团队设置时配置 AI 编程智能体使用的命令权限,让常规命令减少审批提示。
claude-compaction-restore
8.6k帮助 Claude Code 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。