Setup, headless, and console — verify the prerequisites, drive Claude Code with -p from scripts, then work inside the interactive console with /init and /model.