#headless
1 articles
-
Running Claude Code non-interactively with claude -p: scripts, cron and CI
Use Claude Code's -p mode from scripts and CI: stdin input, --output-format json, allowing tools with --allowedTools, and bounding cost and loops with --max-turns.