Context Engineering
Principle expression
Primary: P09
Supporting: P02, P14, P08
Scope
Own one judgment: for a named agent action, which source information must
reach the agent, when must it become available, and what is the smallest
runtime-evidenced delivery path that preserves source authority?
Context engineering owns delivery, not content. A project source, accepted
design, or domain skill supplies meaning; this skill decides how the selected
agent can discover the relevant part at the moment it changes action. Loaded
instructions, summaries, indexes, and retrieved fragments remain projections
unless separately governed as sources.
An Agent's larger working environment also contains a task form, workspace,
tools, capabilities, effect limits, verification, and a return contract. This
Skill owns only the selection, timing, and receiver-facing expression of source
information inside that environment; it does not bind the other parts or become
their owner.
Do not assume that a familiar filename, three-layer model, hook, skill directory,
or memory mechanism exists in another runtime. Investigate the actual target.
Principle source
Use a host Sequence and matching interpretations when the host declares them.
Otherwise use this skill's read-only fallback in references/sequence.md.
Read only P09, P02, P14, and P08.
Start
Target agent, runtime, and decision:
Observed context failure or placement question:
Authoritative source and status:
Current delivery path and evidence:
Moment the information must affect action:
Smallest suspected change:
Observation that would disconfirm it:
If the information itself is missing, ambiguous, or unaccepted, route to its
domain owner. Delivery cannot repair absent doctrine or decide what is true.
Dispatch
- With
design, read and follow commands/design.md.
- With
audit, read and follow commands/audit.md.
- With
verify, read and follow commands/verify.md.
- With no argument, inspect the actual failure and choose the smallest matching
path. Default to read-only audit when a change was not requested.
Core method
- Name the action and source. Identify the concrete agent judgment that is
failing and the authoritative project source that could change it. Separate
missing content from failed delivery, and source facts from projections.
- Map the actual runtime. Establish which instruction surfaces, skill
metadata, on-demand resources, retrieval paths, and context-injection
mechanisms this agent can really use. Mark documented capability, observed
task loading, and unknown behavior separately. Use
delivery capability map.
- Choose delivery timing. Decide whether the information must be available
before scoped action, when a method or task is activated, or only when a
concrete detail becomes relevant. These are timing questions, not mandatory
L1/L2/L3 containers. Map them to the runtime's native surfaces.
- Select the smallest path. Prefer a discoverable pointer to a named source
over copied doctrine. Compress only what the target decision can safely lose.
Keep hard constraints reachable at the moment they govern action; remove
detail that does not change that action. Express the projection for its
receiver: omit parent history and runtime maps that do not affect the named
action. If any necessary term could change the receiver's action or return,
define it at first use by the object it denotes, its boundary, and why it
matters now.
For a blind-spot pass, deliver the evidence that the ordinary source view
omits: the actual user action, observed friction, screenshots or rendered
state, stale/reconnect condition, and the source or transcript that grounds
it. Do not replace this evidence with a generic instruction to be creative;
the delivery path must make the missing judgment possible.
- Preserve ownership boundaries. Route source content and acceptance to the
domain owner, source/lifetime conflicts to
artifact-organization, skill
expression failures to skill-engineering, and vendor-specific mechanics to
a current project adapter. This skill may recommend a delivery projection;
it does not become the source or runtime.
- Verify delivery and use. Run a real task through the ordinary entry
surface, observe the delivery path where possible, and check the named action.
Use a boundary task to expose needless loading. Add a controlled baseline
only when claiming comparative improvement, not merely to prove delivery.
When prompt comprehension is the suspected failure, a fresh Agent may first
restate the object, boundary, allowed effects, non-goals, verification, and
return from the delivered context alone; a request to define an undeclared
term defeats that delivery claim. Keep successful restatement separate from
semantic task correctness and acceptance.
When a user correction reveals a missed point, verify the revised delivery by
asking whether a fresh Agent can name the object, the missed signal, its
boundary, and the smallest next probe from the delivered context alone. This
tests post-training context delivery; it does not claim that the Agent has
acquired the human's tacit experience.
- Externalize proportionally. Return a conversation result for a bounded
audit. Retain a delivery map or evaluation record only when a later actor must
reproduce, approve, or revise the placement decision.
Domain vocabulary
Read concepts when context, source, delivery projection, or delivery timing are being conflated. Do not turn its timing
model into a required directory or file hierarchy.
Completion standard
The result is ready when it names the target action, authoritative source,
actual runtime capabilities, selected delivery timing and path, source boundary,
and disconfirming observation. Claim delivery only from task-specific evidence;
claim improvement only from a comparable evaluation. Unknown runtime behavior
remains explicit rather than being filled by convention.
1---2name: context-engineering3description: Design, audit, and verify how decision-relevant project information reaches an agent through the actual runtime. Use when an agent misses a governing boundary, receives irrelevant context, cannot discover an instruction or skill, or when deciding what should be always available, activated for a task, or retrieved on demand. Do not use to author domain knowledge, organize its source artifacts, write a one-off prompt, configure vendor hooks, or build an agent runtime.4---56# Context Engineering78## Principle expression910**Primary:** P0911**Supporting:** P02, P14, P081213## Scope1415Own one judgment: **for a named agent action, which source information must16reach the agent, when must it become available, and what is the smallest17runtime-evidenced delivery path that preserves source authority?**1819Context engineering owns delivery, not content. A project source, accepted20design, or domain skill supplies meaning; this skill decides how the selected21agent can discover the relevant part at the moment it changes action. Loaded22instructions, summaries, indexes, and retrieved fragments remain projections23unless separately governed as sources.2425An Agent's larger working environment also contains a task form, workspace,26tools, capabilities, effect limits, verification, and a return contract. This27Skill owns only the selection, timing, and receiver-facing expression of source28information inside that environment; it does not bind the other parts or become29their owner.3031Do not assume that a familiar filename, three-layer model, hook, skill directory,32or memory mechanism exists in another runtime. Investigate the actual target.3334## Principle source3536Use a host Sequence and matching interpretations when the host declares them.37Otherwise use this skill's read-only fallback in `references/sequence.md`.38Read only P09, P02, P14, and P08.3940## Start4142```text43Target agent, runtime, and decision:44Observed context failure or placement question:45Authoritative source and status:46Current delivery path and evidence:47Moment the information must affect action:48Smallest suspected change:49Observation that would disconfirm it:50```5152If the information itself is missing, ambiguous, or unaccepted, route to its53domain owner. Delivery cannot repair absent doctrine or decide what is true.5455## Dispatch5657- With `design`, read and follow `commands/design.md`.58- With `audit`, read and follow `commands/audit.md`.59- With `verify`, read and follow `commands/verify.md`.60- With no argument, inspect the actual failure and choose the smallest matching61 path. Default to read-only audit when a change was not requested.6263## Core method64651. **Name the action and source.** Identify the concrete agent judgment that is66 failing and the authoritative project source that could change it. Separate67 missing content from failed delivery, and source facts from projections.682. **Map the actual runtime.** Establish which instruction surfaces, skill69 metadata, on-demand resources, retrieval paths, and context-injection70 mechanisms this agent can really use. Mark documented capability, observed71 task loading, and unknown behavior separately. Use72 [delivery capability map](references/delivery-capability-map.md).733. **Choose delivery timing.** Decide whether the information must be available74 before scoped action, when a method or task is activated, or only when a75 concrete detail becomes relevant. These are timing questions, not mandatory76 L1/L2/L3 containers. Map them to the runtime's native surfaces.774. **Select the smallest path.** Prefer a discoverable pointer to a named source78 over copied doctrine. Compress only what the target decision can safely lose.79 Keep hard constraints reachable at the moment they govern action; remove80 detail that does not change that action. Express the projection for its81 receiver: omit parent history and runtime maps that do not affect the named82 action. If any necessary term could change the receiver's action or return,83 define it at first use by the object it denotes, its boundary, and why it84 matters now.85 For a blind-spot pass, deliver the evidence that the ordinary source view86 omits: the actual user action, observed friction, screenshots or rendered87 state, stale/reconnect condition, and the source or transcript that grounds88 it. Do not replace this evidence with a generic instruction to be creative;89 the delivery path must make the missing judgment possible.905. **Preserve ownership boundaries.** Route source content and acceptance to the91 domain owner, source/lifetime conflicts to `artifact-organization`, skill92 expression failures to `skill-engineering`, and vendor-specific mechanics to93 a current project adapter. This skill may recommend a delivery projection;94 it does not become the source or runtime.956. **Verify delivery and use.** Run a real task through the ordinary entry96 surface, observe the delivery path where possible, and check the named action.97 Use a boundary task to expose needless loading. Add a controlled baseline98 only when claiming comparative improvement, not merely to prove delivery.99 When prompt comprehension is the suspected failure, a fresh Agent may first100 restate the object, boundary, allowed effects, non-goals, verification, and101 return from the delivered context alone; a request to define an undeclared102 term defeats that delivery claim. Keep successful restatement separate from103 semantic task correctness and acceptance.104 When a user correction reveals a missed point, verify the revised delivery by105 asking whether a fresh Agent can name the object, the missed signal, its106 boundary, and the smallest next probe from the delivered context alone. This107 tests post-training context delivery; it does not claim that the Agent has108 acquired the human's tacit experience.1097. **Externalize proportionally.** Return a conversation result for a bounded110 audit. Retain a delivery map or evaluation record only when a later actor must111 reproduce, approve, or revise the placement decision.112113## Domain vocabulary114115Read [concepts](references/concepts.md) when `context`, `source`, `delivery116projection`, or delivery timing are being conflated. Do not turn its timing117model into a required directory or file hierarchy.118119## Completion standard120121The result is ready when it names the target action, authoritative source,122actual runtime capabilities, selected delivery timing and path, source boundary,123and disconfirming observation. Claim delivery only from task-specific evidence;124claim improvement only from a comparable evaluation. Unknown runtime behavior125remains explicit rather than being filled by convention.