Answer: Claude Code provides five flags for customizing the system prompt: `--system-prompt`, `--system-prompt-file`, `--append-system-prompt`, `--append-system-prompt-file`, and `--system-prompt-snapshot`. Status: Confirmed Entry: tool/claude-code/commands-and-shortcuts/system-prompt-flags Revision: 2 Digest: sha256:58a074b4be8ba1f8 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:03:39Z Last changed: 2026-11-15T12:18:59Z (number of flags: — → five) Last verified: 2026-11-20T12:19:12Z Next check: 2026-11-21T12:19:12Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of flag 1 | --system-prompt | [1] | 2026-11-20 flag 2 | --system-prompt-file | [1] | 2026-11-20 flag 3 | --append-system-prompt | [1] | 2026-11-20 flag 4 | --append-system-prompt-file | [1] | 2026-11-20 flag 5 | --system-prompt-snapshot | [1] | 2026-11-20 number of flags | five | [1] | 2026-11-20 Sources: [1] Anthropic. "CLI reference". https://code.claude.com/docs/en/cli-reference.md Role: primary. Accessed: 2026-11-20T12:19:12Z Quote: "| `--system-prompt` | Replaces the entire default prompt" (Supports: flag 1) Quote: "| `--system-prompt-file` | Replaces with file contents" (Supports: flag 2) Quote: "| `--append-system-prompt` | Appends to the default prompt" (Supports: flag 3) Quote: "| `--append-system-prompt-file` | Appends file contents to the default prompt" (Supports: flag 4) Quote: "| `--system-prompt-snapshot` | With `off`, rebuilds the prompt on every request." (Supports: flag 5) Quote: "Claude Code provides five flags for customizing the system prompt." (Supports: number of flags) Published: 2026-11-20T02:53:25Z Snapshot SHA-256: f94e8aa049e5d1e9ef02bd39d7f1cb845fecd4745b179b807d2980062782afe3 (captured 2026-11-20T12:19:10Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:19:12Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:19:12Z Last attempt: 2026-11-20T12:19:12Z Notes and limitations: Extracted automatically from a single official source (section "System prompt flags"). Related: https://latestn.com/tool/claude-code/commands-and-shortcuts/teleport-cloud-session-to-terminal How do I continue a Claude Code cloud session in my terminal with --teleport? https://latestn.com/tool/claude-code/commands-and-shortcuts/toggle-fast-mode How do I toggle fast mode on or off in Claude Code? https://latestn.com/tool/claude-code/commands-and-shortcuts/turn-off-auto-mode-setup How do I turn off /auto-mode-setup in Claude Code? https://latestn.com/tool/claude-code/commands-and-shortcuts/set-goal-condition How do I set a completion condition with /goal in Claude Code? https://latestn.com/tool/claude-code/commands-and-shortcuts/start-remote-control-session How do I start a Remote Control session in Claude Code? https://latestn.com/tool/claude-code/commands-and-shortcuts/stop-loop How do I stop a loop in Claude Code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-15T12:18:59Z | changed | number of flags: — → five | [1] 2026-11-15T12:18:59Z | changed | flag 5: — → --system-prompt-snapshot | [1] 2026-11-15T12:18:59Z | changed | flag 4: — → --append-system-prompt-file | [1] 2026-11-15T12:18:59Z | changed | flag 3: — → --append-system-prompt | [1] 2026-11-15T12:18:59Z | changed | flag 2: — → --system-prompt-file | [1] 2026-11-15T12:18:59Z | changed | flag 1: — → --system-prompt | [1] 2026-11-15T12:18:59Z | changed | Snapshot flag: --system-prompt-snapshot → — | [1] 2026-11-15T12:18:59Z | changed | Append file flag: --append-system-prompt-file → — | [1] 2026-11-15T12:18:59Z | changed | Append prompt flag: --append-system-prompt → — | [1] 2026-11-15T12:18:59Z | changed | Replace with file flag: --system-prompt-file → — | [1] 2026-11-15T12:18:59Z | changed | Replace prompt flag: --system-prompt → — | [1] 2026-11-15T12:18:59Z | changed | Number of flags: five → — | [1] 2026-11-13T03:03:39Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/commands-and-shortcuts/system-prompt-flags/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/commands-and-shortcuts/system-prompt-flags POST: https://latestn.com/dispute/tool/claude-code/commands-and-shortcuts/system-prompt-flags with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/commands-and-shortcuts/system-prompt-flags?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What CLI flags does Claude Code support for customizing the system prompt? Revision 2, last verified 2026-11-20T12:19:12Z. https://latestn.com/tool/claude-code/commands-and-shortcuts/system-prompt-flags (accessed 2026-11-21T10:03:20Z). @misc{LatestN_tool_claude_code_commands_and_shortcuts_system_prompt_flags_r2, title = {What CLI flags does Claude Code support for customizing the system prompt?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/commands-and-shortcuts/system-prompt-flags}}, note = {Revision 2; digest sha256:58a074b4be8ba1f8; last verified 2026-11-20T12:19:12Z; accessed 2026-11-21T10:03:20Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/commands-and-shortcuts/system-prompt-flags