Expand description
pi’s system prompt inputs, as before_agent_start hands them to extensions.
Mirrors NormalizedBuildSystemPromptOptions in
packages/coding-agent/src/core/system-prompt.ts and Skill in
core/skills.ts in pi v1.0.0.
Structs§
- Context
File - A context file and its text.
- Skill
- A skill: instructions the model reads on demand. A handler may add one with only the fields the prompt shows; the others take their empty value.
- System
Prompt Options - pi’s normalized
BuildSystemPromptOptions. Handlers edit it and hand it back, so a key they removed takes its empty value.