CLI commands and flags

--system-prompt-file

Reads system prompt content from a file and replaces the default prompt.

Syntax

--system-prompt-file

Example

Terminal
claude --system-prompt-file ./custom-prompt.txt

Type to search the reference, templates and lessons.