Search the documentation
9 pages for --append-system-prompt.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
CLI reference
Claude Code CLI · in the page
cli-reference
…-prompt "Cite file paths in every answer" "query"` | | `--append-system-prompt` | Append custom text to the end of the default system prompt…
Explore the context window
Claude Code CLI · in the page
context-window
…e here, like an [output style](/docs/en/output-styles) or text from [`--append-system-prompt`](/docs/en/cli-reference), which both go into the system prompt the same way. * **As Claude works**: each f…
Error reference
Claude Code CLI · in the page
errors
…-prompt`](/docs/en/cli-reference#cli-flags), `--system-prompt-file`, `--append-system-prompt-file`, a [`--tools`](/docs/en/cli-reference#cli-flags) allowlist, [`--setting-sources`](/docs/en/cli-refere…
Fullscreen rendering
Claude Code CLI · in the page
fullscreen
…ocs/en/cli-reference#cli-flags), and your `--agent`, `--agents`, and `--append-system-prompt` flags Claude Code declines to relaunch if the session has a restriction it can't pass to the restarted pr…
Claude Code GitHub Actions
Claude Code CLI · in the page
github-actions
…laude_args`. `custom_instructions` has no same-name flag and becomes `--append-system-prompt` For the full input mapping and before-and-after examples, see the [migration guide](https://github.com/an…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…-------------------------------------- | | System prompt additions | `--append-system-prompt`, `--append-system-prompt-file` | | Settings | `--settings <file-or-json>`…
How Claude remembers your project
Claude Code CLI · in the page
memory
…s to do. For instructions you want at the system prompt level, use [`--append-system-prompt`](/docs/en/cli-reference#system-prompt-flags). This must be passed every invocation, so it's better suited…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…u provide via the `systemPrompt` SDK option or `--system-prompt` and `--append-system-prompt` flags, truncated at the content limit (60 KB by default), and is emitted once per session rather than per…
Output styles
Claude Code CLI · in the page
output-styles
…should always know your project conventions and codebase context | | `--append-system-prompt` | Appends to the system prompt without removing anything | You want a one-off addition for a single…