Write the base instruction
agent/system.md applies to every turn:
Add a reusable skill
Use a skill when a procedure should be discoverable and reusable across prompts. Createagent/skills/incident-triage/SKILL.md:
disableModelInvocation: true when the skill should be selected only by trusted application logic rather than automatically by the model.
Add a named prompt
Use a prompt template for a repeatable user-facing task:agent/prompts/incident-report.md:
Choose the right mechanism
| Need | Use |
|---|---|
| Rules that always apply | agent/system.md |
| A reusable operating procedure | Skill |
| A named task template | Prompt template |
| New executable behavior | Extension tool |
| Behavior around runtime events | Lifecycle hook |