Pattern
Headless mode and CI integration
Run Claude Code non-interactively — one prompt in, structured output and an exit code out — with the print flag, so a script or a CI job can drive the agent unattended as a pipeline step.
Classification — Non-interactive invocation for scripts and CI pipelines.
Full entry
The complete treatment — problem, how it works, when to use it, sources, and examples — lives in the volume below.
Browse the full pattern index or the catalog.