Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

12 pages for --system-prompt.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …ngs into one block, the same as passing one string. With the CLI's [`--system-prompt` or `--system-prompt-file` flags](/docs/en/cli-reference#system-prompt-flags), the prompt is one string, so there… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …ile instead of passing it as a string. The SDK maps this to the CLI [`--system-prompt-file`](/docs/en/cli-reference#system-prompt-flags) flag. Use the file form when the prompt is large: the SDK passe… Claude Code changelog Claude Code CLI · in the page changelog …`--resume`, `--debug`, `--json-schema`, `--disable-slash-commands`, `--system-prompt-snapshot` and `claude update` to match actual behavior * Fixed `claude --worktree` removing the worktree and its b… CLI reference Claude Code CLI · in the page cli-reference …same task. Only applies with the default system prompt; ignored when `--system-prompt` or `--system-prompt-file` is set. Use with `-p` for scripted, multi-user workloads… Fullscreen rendering Claude Code CLI · in the page fullscreen …lags), and your `--agent`, `--agents`, `--append-system-prompt`, and `--system-prompt-snapshot` flags * A `--chrome` or `--no-chrome` flag you launched with, so [Chrome integration](/docs/en/chrome.md… Glossary Claude Code CLI · in the page glossary …o the system prompt with `--append-system-prompt` or replace it with `--system-prompt`. The system prompt is the first layer of the [prompt cache](/docs/en/prompt-caching.md#how-the-cache-is-organized… Run Claude Code programmatically Claude Code CLI · in the page headless …/en/cli-reference.md#system-prompt-flags) for more options including `--system-prompt` to fully replace the default prompt. If you replace it, the run also starts without the [git status snapshot](/do… Monitoring Claude Code CLI · in the page monitoring-usage …system prompt text you provide via the `systemPrompt` SDK option or `--system-prompt` and `--append-system-prompt` flags. Emitted once per session rather than per request | `OTEL_LOG_USER_PROMPTS` |… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …IR`, and passes its path in the arguments your wrapper receives, as [`--system-prompt-file <path>` or `--append-system-prompt-file <path>`](/docs/en/cli-reference#system-prompt-flags). Runners on Cla… Manage sessions Claude Code CLI · in the page sessions …onfiguration that lives in them doesn't need to be passed again. For `--system-prompt` and `--append-system-prompt`, see [System prompt flags in resumed conversations](/docs/en/cli-reference.md#system… All settings Claude Code CLI · in the page settings-reference …y is `true`: * **`-p` runs**: you replace the prompt when you pass [`--system-prompt`](/docs/en/cli-reference#system-prompt-flags) or `--system-prompt-file`. You also replace it when you run a custom… Create custom subagents Claude Code CLI · in the page sub-agents …places the default Claude Code system prompt entirely, the same way [`--system-prompt`](/docs/en/cli-reference) does. `CLAUDE.md` files and project memory still load through the normal message flow, e…
Feedback