Claude Code · Sessions and flags

Add to the system prompt

Add instructions for this run while keeping Claude Code's defaults.

claude --append-system-prompt "Always write tests for new code"

Official Claude Code documentation

More sessions and flags commands

All sessions and flags commands · Claude Code cheatsheet

Was this page helpful?