CLI commands and flags

--system-prompt

Substitutes the entire default system prompt with the provided custom text.

Syntax

--system-prompt

Example

Terminal
claude --system-prompt "You are a Python expert"

Type to search the reference, templates and lessons.