agent-startup-and-context-ingestion
What it does
This skill explains how a new AI agent gets its role, rules and current guidance after it starts. It is for people who design or audit how agents are set up in a team.
When to use it
- ✓When you are writing a new agent's role, culture or startup files.
- ✓When an existing agent has been running on stale guidance.
- ✓When you want to check that agents know the current operating mode.
Skill link
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/agent-startup-and-context-ingestion/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Our agents keep following old instructions after we changed the workflow. Audit how their startup context is delivered and fix it.”
5 new skills a week. 1 minute to read.
How it works
It reviews the startup path, from role files and overlays to skills and refocus messages, and finds where stale or scattered guidance can mislead an agent.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What usually goes wrong at startup?
The skill names failures such as old specs missing the current mode, and agents never told about new guidance.
Is this the same as restoring memory?
No, it is about the startup setup, while a separate skill covers restoring work after compaction.
Does it cover all agent context?
It focuses on startup context and says the wider question belongs to context engineering.
Details
Original description by the author
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
Popularity
- GitHub stars
- 8.6k
- Ranking position
- #12402
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-operated-software
8.6kHelps your agent design, build or debug an ongoing app whose live backend includes AI agents, such as a Markdown or JSON agent control plane.
agent-operated-workflows
8.6kHelps your agent decide whether a bounded procedure should be run by an AI agent or by ordinary code, and how to resume it from verified evidence.
applying-a-permission-policy
8.6kHelps your agent set up the command permissions an AI coding agent uses during team setup, so routine commands run with fewer approval prompts.
claude-compaction-restore
8.6kHelps a Claude Code agent rebuild its working picture after its context is compacted, using a saved restore map, its transcript and the files it touched.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.