⌨️--append-system-prompt Flag
Also known as claude --append-system-prompt, --append-system-prompt-file
It adds your text to the end of the default system prompt.
Think of it like
It is like you add one line to the end of the class rules.
Example
Jack's CI asks Claude to review pull requests. He adds --append-system-prompt-file with his team's style rules, and Claude still knows how to use its tools.
Why it matters
You add just what is new, and keep all that Claude needs to work well.
Definition
Example code
bash
claude -p --append-system-prompt "Always reply in French" "Summarize README.md"Common mistake
Key takeaways
- 1Adds to the end. Default stays.
- 2Text or file. File goes first.
- 3Per run. CLAUDE.md for always.