System Prompt & Constants
The "brain" of Claude Code — how it's instructed to think, behave, and use tools.
System Prompt Builder (constants/prompts.ts)
The system prompt is the single most important piece of context sent to the AI model. It's built by getSystemPrompt() and structured in sections.
Dynamic Boundary
The prompt is split at a SYSTEM_PROMPT_DYNAMIC_BOUNDARY marker: