agent-startup-and-context-ingestion
它能做什么
这个技能说明新 AI 智能体启动后如何获得其角色、规则和最新指导。适合设计或审计团队中智能体设置方式的人员。
适用场景
- ✓你正在为新智能体编写角色、文化或启动文件的时候。
- ✓某个现有智能体一直依据过时的指导运行的时候。
- ✓你想检查智能体是否了解当前运行模式的时候。
技能链接
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/agent-startup-and-context-ingestion/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们更改工作流后,智能体仍在遵循旧指令。请审计它们的启动上下文是如何传递的,并加以修正。”
每周 5 个新技能,1 分钟读完。
工作原理
它审查启动路径,从角色文件、覆盖层到技能和重新聚焦消息,找出过时或分散的指导可能误导智能体的地方。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Agent Startup and Context Ingestion
How an agent becomes useful after launch: AGENTS.md overlays, role
files, skills, rig specs, workflow specs, startup checklists, refocus
messages, and the current rig context retrieval and profile surface.
It is the current concrete startup path inside the broader context-engineering-and-retrieval primitive. Startup gets a seat into the right initial shape; context engineering is the larger question of how a seat gets the right context for the work it is doing right now.
Most coordination failures are not tool failures; they are context failures. Agents need to know their role, operating mode, coordination convention, boundaries, and current product intent. If startup context is scattered or stale, agents execute the wrong thing very efficiently.
Use this when
- Authoring a new agent's startup files (role / culture / startup-context)
- Refreshing a seat that's been running on stale guidance
- Auditing whether agents got the current operating mode (not just what's in old files)
- Designing the orchestrator → next-agent context-transmission shape
- Building a startup map for OpenRig-building rigs
Don't use this when
- The agent is being created via Agent Starter — the starter's manifest carries startup context
- The work is artifact-backed mental-model rebuild from a packet — that's
session-compaction-and-restore - The intent is to ship reusable startup content as a skill
Failure modes (4)
- A new agent starts from an old rig spec and misses the current operating mode. Specs go stale; current state must be visible at startup, not just historical config.
- Guidance is written to a file that future agents read, but current agents are never told. File edits don't propagate to running sessions. Cultural rollout (broadcast + fleet-changes-feed) is needed alongside file edits.
- A startup file becomes a dumping ground and loses the map-to-canonical-sources role. Startup should point AT canonical sources; it shouldn't TRY to be one.
- The orchestrator transmits implementation instructions without preserving product intent. Instructions decay; intent travels.
Task-scoped startup
Run rig whoami --json, then resolve project.yaml -> mission.yaml -> active slice.yaml -> selected component or wave map -> addressed context. The complete
lookup and precedence rule is docs/reference/product-journey-sdlc.md#resolve-the-selected-path
(installed: $OPENRIG_HOME/reference/product-journey-sdlc.md#resolve-the-selected-path).
Read the selected addresses and source needed for this task; skills available in
your profile are capabilities, not a mandatory reading list. No composition means
light Part A. Role names and idle seats add no gates. Explicit rigor and authored
wave boundaries retain their named checks.
Startup files are address maps, not universal reading mandates. Do not preload unrelated planning/review doctrine or require per-file ACKs and quizzes. Skill availability is distinct from loading its full body. An old packet does not choose the current work. Missing selected context is a named gap to resolve.
Proof standard
In a disposable fresh session, observe the actual reads and resulting next action. Test no-selection, explicit rigor, and wave-boundary cases. An edit is not evidence that an already-running seat adopted it; adoption needs an authorized refresh or next-launch observation. Do not clear or re-prime a live seat merely to test prose.
Cross-runtime startup paths (5; do not collapse)
When a seat's startup is artifact-backed mental-model rebuild (active-work reentry case, distinct from reusable Agent Starters / priming packs):
- See the cross-runtime restore/reentry packet standard v0
- Source-trust ranking applies:
rig whoami> target rigspec > bounded latest transcript > full transcript > touched-files >restore-summary.json
Memory surfaces consumed at startup
Inventory the selected startup inputs: AGENTS/role/CULTURE overlays, replay context, and any declared restore packet or starter. Record where each comes from, whether it is current, and why this task needs it. An available skill or old packet does not select the work.
Use the task-scoped startup path above to resolve current authority. Permission
to read an input is not permission to rewrite its source; writes follow the
active project/rig policy and assignment. Load
skills/openrig-operating-model/SKILL.md with rig context get when dec
常见问题
启动时通常会出什么问题?
技能指出了一些失败情形,例如旧规格缺少当前模式,以及智能体从未被告知新的指导。
这和恢复记忆一样吗?
不一样。它关注启动设置,而压缩后恢复工作由另一项技能负责。
它涵盖智能体的全部上下文吗?
它主要关注启动上下文,并说明更广泛的问题属于上下文工程的范畴。
详情
作者的原始描述
Use when designing or auditing how an agent becomes useful after launch — AGENTS.md overlays, role files, skills, rig specs, workflow specs, startup checklists, refocus messages, "rig context" surface. Covers the 4 failure modes that make startup context fail (old rig spec misses current operating mode; current agents never told about new guidance; startup file as dumping ground; orchestrator transmits implementation without preserving product intent).
repo: mvschwarz/openrig
热度
- GitHub 星标
- 8.6k
- 排名
- #12402
- 许可证
- 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 智能体在上下文被压缩后,借助保存的恢复图、对话记录和它改动过的文件,重建工作认知。